Class Activator
- java.lang.Object
-
- org.palladiosimulator.editors.sirius.resourceenvironment.custom.Activator
-
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class Activator extends Object implements org.osgi.framework.BundleActivator
-
-
Field Summary
Fields Modifier and Type Field Description static String
REPRESENTATION_NAME
static String
VIEWPOINT_NAME
-
Constructor Summary
Constructors Constructor Description Activator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Activator
getDefault()
Returns the shared instanceorg.eclipse.sirius.viewpoint.description.RepresentationDescription
getRepresentationDescription()
org.eclipse.sirius.viewpoint.description.Viewpoint
getViewpoint()
void
start(org.osgi.framework.BundleContext bundleContext)
void
stop(org.osgi.framework.BundleContext bundleContext)
-
-
-
Field Detail
-
VIEWPOINT_NAME
public static final String VIEWPOINT_NAME
- See Also:
- Constant Field Values
-
REPRESENTATION_NAME
public static final String REPRESENTATION_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start(org.osgi.framework.BundleContext bundleContext) throws Exception
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
-
getViewpoint
public org.eclipse.sirius.viewpoint.description.Viewpoint getViewpoint()
-
getRepresentationDescription
public org.eclipse.sirius.viewpoint.description.RepresentationDescription getRepresentationDescription()
-
stop
public void stop(org.osgi.framework.BundleContext bundleContext) throws Exception
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Throws:
Exception
-
getDefault
public static Activator getDefault()
Returns the shared instance- Returns:
- the shared instance
-
-