Class ConvergenceView
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.ViewPart
-
- org.eclipse.emf.edapt.history.instantiation.ui.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
-
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 viewvoid
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
-
-
-
-
Field Detail
-
ID
public static final String ID
Identifier of the view for convenience
-
-
Method Detail
-
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
- Specified by:
createPartControl
in interfaceorg.eclipse.ui.IWorkbenchPart
- Specified by:
createPartControl
in classorg.eclipse.ui.part.WorkbenchPart
-
setFocus
public void setFocus()
- Specified by:
setFocus
in interfaceorg.eclipse.ui.IWorkbenchPart
- Specified by:
setFocus
in classorg.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 interfaceorg.eclipse.emf.common.command.CommandStackListener
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceorg.eclipse.ui.IWorkbenchPart
- Overrides:
dispose
in classorg.eclipse.ui.part.WorkbenchPart
-
selectionChanged
public void selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent event)
- Specified by:
selectionChanged
in interfaceorg.eclipse.jface.viewers.ISelectionChangedListener
-
getDifferenceSash
public ModelSash getDifferenceSash()
- Returns:
- Widget for difference representation
-
-