public class Activator
extends org.eclipse.core.runtime.Plugin
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_ID
The plug-in ID.
|
Constructor and Description |
---|
Activator()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static Activator |
getDefault()
Returns the shared instance.
|
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(String path)
Returns an
ImageDescriptor for the image file at the given plug-in
relative path. |
IValidationService |
getValidationService(ECPProject project)
Returns the validation service.
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
public static final String PLUGIN_ID
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.core.runtime.Plugin
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.core.runtime.Plugin
Exception
public static Activator getDefault()
public IValidationService getValidationService(ECPProject project)
project
- the project for which to return the validation servicepublic static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String path)
ImageDescriptor
for the image file at the given plug-in
relative path.path
- the pathCopyright © 2019. All rights reserved.