Class MainViewController
java.lang.Object
de.spiritscorp.datasync.controller.MainViewController
- All Implemented Interfaces:
ViewController
Central controller implementation executing operational state translations and business action flows.
* @author Tom Spirit
-
Constructor Summary
ConstructorsConstructorDescriptionMainViewController(Gui gui) Allocates a new controller instance tied directly to the display engine layer hook. -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteSelectedDuplicates(SyncJobContext jobContext) voidRequests termination of the entire application environment, safely stopping background hooks.voidHandles the creation and append workflow for a new managed task synchronization context instance.voidPermanently removes a task entity context from the global orchestrator matrix tracking layer.voidCreates an independent copy of the currently selected task parameters profile mapping.voidInitiates execution of processing operations based on active configuration parameters.voidhandleNavigate(Gui.ViewState state) Handles switching between different primary view layers within the main viewport.voidhandleRenameJob(javafx.scene.control.ListCell<SyncJobContext> cell) Triggers the specialized configuration context dialog to change a job instance identification label.voidhandleSaveSettings(Preference localPreferences, AppTheme targetTheme) Commits altered orchestration state variables using the encapsulated properties entity carrier.voidStop execution of processing operations based on active configuration parameters.voidRegisters a native host operating system runtime shutdown hook to capture external termination signals.voidrunInBackground(boolean firstStart)
-
Constructor Details
-
MainViewController
Allocates a new controller instance tied directly to the display engine layer hook.- Parameters:
gui- The global display manager orchestrator application shell instance.
-
-
Method Details
-
registerNativeShutdownHook
public void registerNativeShutdownHook()Description copied from interface:ViewControllerRegisters a native host operating system runtime shutdown hook to capture external termination signals.- Specified by:
registerNativeShutdownHookin interfaceViewController
-
handleApplicationShutdown
public void handleApplicationShutdown()Description copied from interface:ViewControllerRequests termination of the entire application environment, safely stopping background hooks.- Specified by:
handleApplicationShutdownin interfaceViewController
-
handleCreateNewJob
public void handleCreateNewJob()Description copied from interface:ViewControllerHandles the creation and append workflow for a new managed task synchronization context instance.- Specified by:
handleCreateNewJobin interfaceViewController
-
handleRenameJob
Description copied from interface:ViewControllerTriggers the specialized configuration context dialog to change a job instance identification label.- Specified by:
handleRenameJobin interfaceViewController- Parameters:
cell- The graphical ListCell context container hosting the target model entity.
-
handleDuplicateJob
Description copied from interface:ViewControllerCreates an independent copy of the currently selected task parameters profile mapping.- Specified by:
handleDuplicateJobin interfaceViewController- Parameters:
job- The source configuration instance payload.
-
handleDeleteJob
Description copied from interface:ViewControllerPermanently removes a task entity context from the global orchestrator matrix tracking layer.- Specified by:
handleDeleteJobin interfaceViewController- Parameters:
job- The target configuration instance to wipe.
-
handleExecuteTask
Description copied from interface:ViewControllerInitiates execution of processing operations based on active configuration parameters.- Specified by:
handleExecuteTaskin interfaceViewController- Parameters:
job- The active task configuration processing target.
-
handleStopTask
Description copied from interface:ViewControllerStop execution of processing operations based on active configuration parameters.- Specified by:
handleStopTaskin interfaceViewController- Parameters:
job- The active task configuration processing target.
-
handleSaveSettings
Description copied from interface:ViewControllerCommits altered orchestration state variables using the encapsulated properties entity carrier.- Specified by:
handleSaveSettingsin interfaceViewController- Parameters:
localPreferences- Altered context data parameters container reference.targetTheme- Visual presentation theme strategy selection.
-
runInBackground
public void runInBackground(boolean firstStart) - Specified by:
runInBackgroundin interfaceViewController
-
deleteSelectedDuplicates
- Specified by:
deleteSelectedDuplicatesin interfaceViewController
-