public class OfficeFloorPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_ID
Plug-in Id for the
OfficeFloorPlugin . |
Constructor and Description |
---|
OfficeFloorPlugin()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
OfficeFloorCompiler |
createCompiler(AbstractOfficeFloorEditor<?,?> editor)
Creates a new
OfficeFloorCompiler for the input
AbstractOfficeFloorEditPart . |
static OfficeFloorPlugin |
getDefault()
Returns the shared instance.
|
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(String path)
Returns an image descriptor for the image file at the given plug-in
relative path.
|
static OfficeFloorSkin |
getSkin()
Obtains the
OfficeFloorSkin . |
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation
|
void |
stop(org.osgi.framework.BundleContext context)
This method is called when the plug-in is stopped
|
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
public static final String PLUGIN_ID
OfficeFloorPlugin
.public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
public static OfficeFloorPlugin getDefault()
OfficeFloorPlugin
.public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String path)
path
- the pathpublic static OfficeFloorSkin getSkin()
OfficeFloorSkin
.OfficeFloorSkin
.public OfficeFloorCompiler createCompiler(AbstractOfficeFloorEditor<?,?> editor)
OfficeFloorCompiler
for the input
AbstractOfficeFloorEditPart
.editor
- AbstractOfficeFloorEditor
.OfficeFloorCompiler
.Copyright © 2005–2016. All rights reserved.