Class ComparisonView

  • All Implemented Interfaces:
    org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, 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 ComparisonView
    extends org.eclipse.ui.part.ViewPart
    View to show a comparison between two metamodel versions
    Version:
    $Rev$
    Author:
    herrmama, $Author$
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String ID
      Identifier of the view as in the plugin.xml
      • Fields inherited from interface org.eclipse.ui.IWorkbenchPart

        PROP_TITLE
    • Constructor Summary

      Constructors 
      Constructor Description
      ComparisonView()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createPartControl​(org.eclipse.swt.widgets.Composite parent)
      void setChange​(Change from, Change to)
      Set the change to be compared
      void setFocus()
      void setRelease​(Release from, Release to)
      Set the release to be compared
      • 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, dispose, 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, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener
    • Field Detail

      • ID

        public static final String ID
        Identifier of the view as in the plugin.xml
    • Constructor Detail

      • ComparisonView

        public ComparisonView()
    • 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
      • setChange

        public void setChange​(Change from,
                              Change to)
        Set the change to be compared
      • setRelease

        public void setRelease​(Release from,
                               Release to)
        Set the release to be compared