Class EMFProfileApplicationsView

java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.modelversioning.emfprofile.application.registry.ui.views.EMFProfileApplicationsView
All Implemented Interfaces:
IAdaptable, IExecutableExtension, IPersistable, IViewPart, IWorkbenchPart, IWorkbenchPart2, IWorkbenchPart3, IWorkbenchPartOrientation

public class EMFProfileApplicationsView extends ViewPart
  • Field Details

  • Constructor Details

    • EMFProfileApplicationsView

      public EMFProfileApplicationsView()
      The constructor.
  • Method Details

    • createPartControl

      public void createPartControl(Composite parent)
      This is a callback that will allow us to create the viewer and initialize it.
      Specified by:
      createPartControl in interface IWorkbenchPart
      Specified by:
      createPartControl in class WorkbenchPart
    • getAdapter

      public Object getAdapter(Class adapter)
      Provides the adapters. In particular this is the property sheet. The rest is handed over to super.
      Specified by:
      getAdapter in interface IAdaptable
      Overrides:
      getAdapter in class WorkbenchPart
      Parameters:
      adapter - to get.
      Returns:
      the adapter.
    • getAdapterFactory

      public static ComposedAdapterFactory getAdapterFactory()
    • getPropertySheetPage

      public IPropertySheetPage getPropertySheetPage()
      This accesses a cached version of the property sheet.
    • setFocus

      public void setFocus()
      Passing the focus request to the viewer's control.
      Specified by:
      setFocus in interface IWorkbenchPart
      Specified by:
      setFocus in class WorkbenchPart
    • createImage

      public static Image createImage(ImageDescriptor imageDescriptor)
      After the view has been initialized, this method can be used to create an image for the descriptor. Images created in this way do not need to be extra disposed in the code. Images are created with usage of LocalResourceManager which takes care of disposal when the UI part is disposed.
      Parameters:
      imageDescriptor -
      Returns:
      image or null if the image could not be located.
    • dispose

      public void dispose()
      Specified by:
      dispose in interface IWorkbenchPart
      Overrides:
      dispose in class WorkbenchPart