Class RuntimeBuilderLauncher
java.lang.Object
com.iizigo.run.RuntimeBuilderLauncher
- All Implemented Interfaces:
IEditorLauncher
Launches the iiziRun Builder with a file name.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionstatic booleanlaunchBuild(Shell shell, IFile file) Launches the job, or opens the configuration if there is a problem in the file.static EditorRuntimeBuilderPropsloadForBuild(IFile file, ModuleModel module, IRuntimeBuilder runtimeBuilder) Loads a Module project's.iiziRunfor a build: the container set up for the project and placed in the tree its references are resolved in, as the property page holds it - a referenced color (%Project:/style/...) names a loaded Module project, a platform role the base palette, installed first (CC-FIX-NAMED-COLOR-UNRESOLVED; loaded with no tree, every such reference was "not found" and a build would have baked the unresolved magenta).voidOpen the file.
Constructor Details
RuntimeBuilderLauncher
public RuntimeBuilderLauncher()Default constructor.
Method Details
open
loadForBuild
public static EditorRuntimeBuilderProps loadForBuild(IFile file, ModuleModel module, IRuntimeBuilder runtimeBuilder) throws CoreException Loads a Module project's.iiziRunfor a build: the container set up for the project and placed in the tree its references are resolved in, as the property page holds it - a referenced color (%Project:/style/...) names a loaded Module project, a platform role the base palette, installed first (CC-FIX-NAMED-COLOR-UNRESOLVED; loaded with no tree, every such reference was "not found" and a build would have baked the unresolved magenta). The seam the harness tests use below the dialogs oflaunchBuild(Shell,IFile)(R-45).- Parameters:
file- The.iiziRunfile.module- The Module project of the file.runtimeBuilder- The runtime builder.- Returns:
- The container, never null.
- Throws:
CoreException- If the file cannot be loaded or holds no runtime builder property.
launchBuild
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.