Class ConvergenceView

  • All Implemented Interfaces:
    org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.emf.common.command.CommandStackListener, org.eclipse.jface.viewers.ISelectionChangedListener, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation

    public class ConvergenceView
    extends org.eclipse.ui.part.ViewPart
    implements org.eclipse.emf.common.command.CommandStackListener, org.eclipse.jface.viewers.ISelectionChangedListener
    View to support the convergence of a source metamodel to a target metamodel
    Version:
    $Rev$
    Author:
    herrmama, $Author$
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      class  ConvergenceView.Decorator
      Decorator for breaking changes
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String ID
      Identifier of the view for convenience
      • Fields inherited from interface org.eclipse.ui.IWorkbenchPart

        PROP_TITLE
    • Constructor Summary

      Constructors 
      Constructor Description
      ConvergenceView()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void commandStackChanged​(EventObject event)
      void createPartControl​(org.eclipse.swt.widgets.Composite parent)
      void dispose()
      ModelSash getDifferenceSash()  
      void init​(org.eclipse.emf.common.util.URI targetURI, org.eclipse.emf.ecore.presentation.EcoreEditor editor)
      Initialize the contents of the view
      void selectionChanged​(org.eclipse.jface.viewers.SelectionChangedEvent event)
      void setFocus()
      • Methods inherited from class org.eclipse.ui.part.ViewPart

        getViewSite, init, init, saveState, setInitializationData
      • Methods inherited from class org.eclipse.ui.part.WorkbenchPart

        addPartPropertyListener, addPropertyListener, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy
      • Methods inherited from interface org.eclipse.core.runtime.IAdaptable

        getAdapter
      • Methods inherited from interface org.eclipse.ui.IWorkbenchPart

        addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
    • Field Detail

      • ID

        public static final String ID
        Identifier of the view for convenience
    • Constructor Detail

      • ConvergenceView

        public ConvergenceView()
    • Method Detail

      • createPartControl

        public void createPartControl​(org.eclipse.swt.widgets.Composite parent)
        Specified by:
        createPartControl in interface org.eclipse.ui.IWorkbenchPart
        Specified by:
        createPartControl in class org.eclipse.ui.part.WorkbenchPart
      • setFocus

        public void setFocus()
        Specified by:
        setFocus in interface org.eclipse.ui.IWorkbenchPart
        Specified by:
        setFocus in class org.eclipse.ui.part.WorkbenchPart
      • init

        public void init​(org.eclipse.emf.common.util.URI targetURI,
                         org.eclipse.emf.ecore.presentation.EcoreEditor editor)
        Initialize the contents of the view
      • commandStackChanged

        public void commandStackChanged​(EventObject event)
        Specified by:
        commandStackChanged in interface org.eclipse.emf.common.command.CommandStackListener
      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.eclipse.ui.IWorkbenchPart
        Overrides:
        dispose in class org.eclipse.ui.part.WorkbenchPart
      • selectionChanged

        public void selectionChanged​(org.eclipse.jface.viewers.SelectionChangedEvent event)
        Specified by:
        selectionChanged in interface org.eclipse.jface.viewers.ISelectionChangedListener
      • getDifferenceSash

        public ModelSash getDifferenceSash()
        Returns:
        Widget for difference representation