java.lang.Object
de.grogra.pf.ui.Project
de.grogra.projectmanager.ProjectImpl
- All Implemented Interfaces:
RegistryContext
-
Field Summary
Fields inherited from class de.grogra.pf.ui.Project
logFilter, pendingLogs, registry, regState
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
activates a file of the project and therefore triggers the compiler, if no file is found nothing is happeningvoid
activates a file of the project and therefore triggers the compiler, if no file is found nothing is happeningvoid
dispose()
void
executing a command with the Jobmanager of the Given Context using the ProjectGraph of the Projects Registry as a Lockvoid
Taking the command by name from the Registry and execute itfinal Logger
protected void
void
initialize
(JobManager jm) protected void
Command[]
Listing all commands of the Project, as an array of CommandItems If the project dose not contain CommandsItems it returns nullvoid
void
toString()
protected void
Update the at all workbenches that are connected to the projectMethods inherited from class de.grogra.pf.ui.Project
addNode, addSourceFile, addSourceFile, addSourceFile, getFile, getId, getLogFilter, getMimeType, getName, getPendingLogs, getRegistry, init, loadProjectFile, logInfo, logInfo, removeFile, removeNode, renameFile, renameItem, save, save, saveAs, setFile, setFile, setId, setLogFilter, setMimeType, setName, setPendingLogs, setSourceFileContent, setSourceFileContent, toSourceFile
-
Constructor Details
-
ProjectImpl
-
-
Method Details
-
initialize
- Specified by:
initialize
in classProject
-
dispose
public void dispose() -
getLogger
-
initLogger
protected void initLogger()- Specified by:
initLogger
in classProject
-
listFunctions
Listing all commands of the Project, as an array of CommandItems If the project dose not contain CommandsItems it returns null- Specified by:
listFunctions
in classProject
- Returns:
- array of CommandItem
-
execute
Taking the command by name from the Registry and execute it -
execute
executing a command with the Jobmanager of the Given Context using the ProjectGraph of the Projects Registry as a Lock -
compile
activates a file of the project and therefore triggers the compiler, if no file is found nothing is happening -
compile
activates a file of the project and therefore triggers the compiler, if no file is found nothing is happening -
updateName
protected void updateName()Update the at all workbenches that are connected to the project- Specified by:
updateName
in classProject
-
getState
-
stopLocalFileSynchronization
public void stopLocalFileSynchronization()- Specified by:
stopLocalFileSynchronization
in classProject
-
startLocalFileSynchronization
public void startLocalFileSynchronization()- Specified by:
startLocalFileSynchronization
in classProject
-
toString
-