Package com.iizigo.app
Class ApplicationDistributorLauncher
java.lang.Object
com.iizigo.app.ApplicationDistributorLauncher
- All Implemented Interfaces:
- org.eclipse.ui.IEditorLauncher
public class ApplicationDistributorLauncher extends Object implements org.eclipse.ui.IEditorLauncher
Launches the Application Distributor with a file name.
- Author:
- Christopher Mindus
- Constructor SummaryConstructors
- Method SummaryModifier and TypeMethodDescription- static boolean- launchBuild- (org.eclipse.swt.widgets.Shell shell, org.eclipse.core.resources.IFile distFile) 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.
- Constructor Details- ApplicationDistributorLauncherpublic ApplicationDistributorLauncher()Default constructor.
 
- Method Details- openpublic void open- (org.eclipse.core.runtime.IPath path) Open the file.- Specified by:
- openin interface- org.eclipse.ui.IEditorLauncher
 
- launchBuildpublic static boolean launchBuild- (org.eclipse.swt.widgets.Shell shell, org.eclipse.core.resources.IFile distFile) throws CancelException Launches the job, or opens the configuration if there is a problem in the file.- Parameters:
- shell- A shell.
- distFile- The distribution configuration file ".iiziApp" in a Module project.
- Returns:
- true for success, false if configuration was opened.
- Throws:
- CancelException- If the file name is not ".iiziApp" or it's not a Module project.