-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from UnGuZartex/Testing
Testing
- Loading branch information
Showing
111 changed files
with
7,818 additions
and
1,289 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/main/java/Controllers/ListenerInterfaces/CallListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package Controllers.ListenerInterfaces; | ||
|
||
/** | ||
* An interface for objects which listen to call blocks. | ||
* | ||
* @author Alhpa-team | ||
*/ | ||
public interface CallListener { | ||
|
||
/** | ||
* Event to call when the procedure is deleted. | ||
*/ | ||
void onProcedureDeleted(); | ||
} |
29 changes: 29 additions & 0 deletions
29
src/main/java/Controllers/ListenerInterfaces/PaletteListener.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
package Controllers.ListenerInterfaces; | ||
|
||
/** | ||
* An interface for listeners to a palette. | ||
* | ||
* @author Alpha-team | ||
*/ | ||
public interface PaletteListener { | ||
|
||
/** | ||
* Event to call when a procedure is deleted. | ||
* | ||
* @param index The index of the call block in the palette of the deleted procedure. | ||
*/ | ||
void procedureDeleted(int index); | ||
|
||
/** | ||
* Event to call when a procedure is created. | ||
*/ | ||
void procedureCreated(); | ||
|
||
/** | ||
* This event is called when the program area has either reached its max blocks, or | ||
* the current amount of blocks is under the max blocks again. | ||
* | ||
* @param reachedMaxBlocks the given boolean indicating if the number of max blocks in the program area is reached. | ||
*/ | ||
void onMaxBlocksReached(boolean reachedMaxBlocks); | ||
} |
Oops, something went wrong.