Interface AWorkspace

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void build​(ABuildKind buildKind, org.eclipse.core.runtime.IProgressMonitor monitor)
      Builds all projects in this workspace.
      AWorkspaceRoot getRoot()
      Returns the resource representing this workspace.
      void run​(org.eclipse.core.runtime.ICoreRunnable action, org.eclipse.core.runtime.IProgressMonitor monitor)
      Runs the given action, reporting progress to the given monitor
    • Method Detail

      • getRoot

        AWorkspaceRoot getRoot()
        Returns the resource representing this workspace.
      • run

        void run​(org.eclipse.core.runtime.ICoreRunnable action,
                 @CheckForNull
                 org.eclipse.core.runtime.IProgressMonitor monitor)
        Runs the given action, reporting progress to the given monitor
        Parameters:
        action - an action to be run in the context of this workspace
        monitor - a progress monitor that is notified about the action's process. Individual processing steps may be reported to the monitor to allow fine-grained progress reporting. The monitor may be null when progress does not need to be reported.
      • build

        void build​(ABuildKind buildKind,
                   @CheckForNull
                   org.eclipse.core.runtime.IProgressMonitor monitor)
        Builds all projects in this workspace.
        Parameters:
        buildKind - the kind of build to perform
        monitor - a progress monitor that is notified about the build process. Individual file processing is reported to the monitor to allow fine-grained progress reporting. The monitor may be null when progress does not need to be reported.