Class RuntimeBuilderLauncher

java.lang.Object
com.iizigo.run.RuntimeBuilderLauncher
All Implemented Interfaces:
org.eclipse.ui.IEditorLauncher

public class RuntimeBuilderLauncher extends Object implements org.eclipse.ui.IEditorLauncher
Launches the iiziRun Builder with a file name.
Author:
Christopher Mindus
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    launchBuild(org.eclipse.swt.widgets.Shell shell, org.eclipse.core.resources.IFile file)
    Launches the job, or opens the configuration if there is a problem in the file.
    void
    open(org.eclipse.core.runtime.IPath path)
    Open the file.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RuntimeBuilderLauncher

      public RuntimeBuilderLauncher()
      Default constructor.
  • Method Details

    • open

      public void open(org.eclipse.core.runtime.IPath path)
      Open the file.
      Specified by:
      open in interface org.eclipse.ui.IEditorLauncher
    • launchBuild

      public static boolean launchBuild(org.eclipse.swt.widgets.Shell shell, org.eclipse.core.resources.IFile file) throws CancelException
      Launches the job, or opens the configuration if there is a problem in the file.
      Parameters:
      shell - A shell.
      file - The iiziRun Builder configuration file ".iiziRun" in a Module project.
      Returns:
      true for success, false if configuration was opened.
      Throws:
      CancelException - If the file name is not ".iiziRun" or it's not a Module project.