Class ProjectImpl

java.lang.Object
de.grogra.pf.ui.Project
de.grogra.projectmanager.ProjectImpl
All Implemented Interfaces:
RegistryContext

public class ProjectImpl extends Project
  • Constructor Details

  • Method Details

    • initialize

      public void initialize(JobManager jm)
      Specified by:
      initialize in class Project
    • dispose

      public void dispose()
      Specified by:
      dispose in class Project
    • getLogger

      public final Logger getLogger()
    • initLogger

      protected void initLogger()
      Specified by:
      initLogger in class Project
    • listFunctions

      public Command[] 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 class Project
      Returns:
      array of CommandItem
    • execute

      public void execute(String command, Context ctx)
      Taking the command by name from the Registry and execute it
      Specified by:
      execute in class Project
      Parameters:
      command -
      ctx -
    • execute

      public void execute(Command command, Context ctx)
      executing a command with the Jobmanager of the Given Context using the ProjectGraph of the Projects Registry as a Lock
      Specified by:
      execute in class Project
      Parameters:
      command -
      ctx -
    • compile

      public void compile(Context context)
      activates a file of the project and therefore triggers the compiler, if no file is found nothing is happening
    • compile

      public void compile(Context context, Command afterCommand)
      activates a file of the project and therefore triggers the compiler, if no file is found nothing is happening
      Specified by:
      compile in class Project
    • updateName

      protected void updateName()
      Update the at all workbenches that are connected to the project
      Specified by:
      updateName in class Project
    • getState

      protected void getState(Item s)
      Specified by:
      getState in class Project
    • stopLocalFileSynchronization

      public void stopLocalFileSynchronization()
      Specified by:
      stopLocalFileSynchronization in class Project
    • startLocalFileSynchronization

      public void startLocalFileSynchronization()
      Specified by:
      startLocalFileSynchronization in class Project
    • toString

      public String toString()
      Overrides:
      toString in class Object