mirror of
https://github.com/bancika/diy-layout-creator
synced 2026-11-10 17:22:09 +10:00
checks for file modifications
This commit is contained in:
+6
@@ -26,6 +26,12 @@ public enum EventType {
|
||||
* or loaded with undo/redo operations.
|
||||
*/
|
||||
PROJECT_LOADED,
|
||||
/**
|
||||
* Called when either current file name or modified flag are changed. The
|
||||
* first parameter is the current file name, the second one is a boolean
|
||||
* modified flag.
|
||||
*/
|
||||
FILE_STATUS_CHANGED,
|
||||
/**
|
||||
* Called when selection rectangle is changed. Object of type
|
||||
* {@link Rectangle} is the only parameter and it contains the new selection
|
||||
|
||||
+12
@@ -73,6 +73,18 @@ public interface IPlugInPort {
|
||||
* @param freshStart
|
||||
*/
|
||||
void loadProject(Project project, boolean freshStart);
|
||||
|
||||
void createNewProject();
|
||||
|
||||
void loadProjectFromFile(String fileName);
|
||||
|
||||
void saveProjectToFile(String fileName);
|
||||
|
||||
String getCurrentFileName();
|
||||
|
||||
boolean isProjectModified();
|
||||
|
||||
boolean allowFileAction();
|
||||
|
||||
/**
|
||||
* Returns all available {@link ComponentType}s classified by category.
|
||||
|
||||
Reference in New Issue
Block a user