Class EMFProfileDiagramEditorPlugin

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator

    public class EMFProfileDiagramEditorPlugin
    extends AbstractUIPlugin
    Generated class or method.
    • Field Detail

      • DIAGRAM_PREFERENCES_HINT

        public static final org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint DIAGRAM_PREFERENCES_HINT
        Generated class or method.
    • Constructor Detail

      • EMFProfileDiagramEditorPlugin

        public EMFProfileDiagramEditorPlugin()
        Generated class or method.
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext context)
                   throws Exception
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Overrides:
        start in class AbstractUIPlugin
        Throws:
        Exception
        Generated class or method.
      • stop

        public void stop​(org.osgi.framework.BundleContext context)
                  throws Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Overrides:
        stop in class AbstractUIPlugin
        Throws:
        Exception
        Generated class or method.
      • fillItemProviderFactories

        protected void fillItemProviderFactories​(List<AdapterFactory> factories)
        Generated class or method.
      • getItemProvidersAdapterFactory

        public AdapterFactory getItemProvidersAdapterFactory()
        Generated class or method.
      • getItemImageDescriptor

        public ImageDescriptor getItemImageDescriptor​(Object item)
        Generated class or method.
      • getBundledImageDescriptor

        public static ImageDescriptor getBundledImageDescriptor​(String path)
        Returns an image descriptor for the image file at the given plug-in relative path.
        Parameters:
        path - the path
        Returns:
        the image descriptor
        Generated class or method.
      • findImageDescriptor

        public static ImageDescriptor findImageDescriptor​(String path)
        Respects images residing in any plug-in. If path is relative, then this bundle is looked up for the image, otherwise, for absolute path, first segment is taken as id of plug-in with image
        Parameters:
        path - the path to image, either absolute (with plug-in id as first segment), or relative for bundled images
        Returns:
        the image descriptor
        Generated class or method.
      • getBundledImage

        public Image getBundledImage​(String path)
        Returns an image for the image file at the given plug-in relative path. Client do not need to dispose this image. Images will be disposed automatically.
        Parameters:
        path - the path
        Returns:
        image instance
        Generated class or method.
      • getString

        public static String getString​(String key)
        Returns string from plug-in's resource bundle
        Generated class or method.
      • getElementInitializers

        public ElementInitializers getElementInitializers()
        Generated class or method.
      • setElementInitializers

        public void setElementInitializers​(ElementInitializers i)
        Generated class or method.
      • getEMFProfileOCLFactory

        public EMFProfileOCLFactory getEMFProfileOCLFactory()
        Generated class or method.
      • setEMFProfileOCLFactory

        public void setEMFProfileOCLFactory​(EMFProfileOCLFactory f)
        Generated class or method.
      • logError

        public void logError​(String error)
        Generated class or method.
      • logError

        public void logError​(String error,
                             Throwable throwable)
        Generated class or method.
      • logInfo

        public void logInfo​(String message)
        Generated class or method.
      • logInfo

        public void logInfo​(String message,
                            Throwable throwable)
        Generated class or method.