Package com._1c.g5.v8.dt.common.ui.part
Class EObjectEditorInput<M extends org.eclipse.emf.ecore.EObject>
- java.lang.Object
-
- org.eclipse.core.runtime.PlatformObject
-
- com._1c.g5.v8.dt.common.ui.part.EObjectEditorInput<M>
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.ui.IEditorInput
,org.eclipse.ui.IPersistable
,org.eclipse.ui.IPersistableElement
public class EObjectEditorInput<M extends org.eclipse.emf.ecore.EObject> extends org.eclipse.core.runtime.PlatformObject implements org.eclipse.ui.IEditorInput, org.eclipse.ui.IPersistableElement
-
-
Constructor Summary
Constructors Constructor Description EObjectEditorInput(M model)
EObjectEditorInput(M model, org.eclipse.emf.ecore.EStructuralFeature feature)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
TheEObjectEditorInput
implementation of thisObject
method bases the equality of twoEObjectEditorInput
objects on the equality of their underlyingEObject
model.boolean
exists()
Object
getAdapter(Class key)
String
getFactoryId()
org.eclipse.emf.ecore.EStructuralFeature
getFeature()
org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor()
M
getModel()
String
getName()
org.eclipse.ui.IPersistableElement
getPersistable()
String
getToolTipText()
void
saveState(org.eclipse.ui.IMemento memento)
String
toString()
-
-
-
Method Detail
-
getModel
public M getModel()
-
getFeature
public org.eclipse.emf.ecore.EStructuralFeature getFeature()
-
getAdapter
public Object getAdapter(Class key)
- Specified by:
getAdapter
in interfaceorg.eclipse.core.runtime.IAdaptable
- Overrides:
getAdapter
in classorg.eclipse.core.runtime.PlatformObject
-
exists
public boolean exists()
- Specified by:
exists
in interfaceorg.eclipse.ui.IEditorInput
-
getImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
- Specified by:
getImageDescriptor
in interfaceorg.eclipse.ui.IEditorInput
-
getName
public String getName()
- Specified by:
getName
in interfaceorg.eclipse.ui.IEditorInput
-
getPersistable
public org.eclipse.ui.IPersistableElement getPersistable()
- Specified by:
getPersistable
in interfaceorg.eclipse.ui.IEditorInput
-
getToolTipText
public String getToolTipText()
- Specified by:
getToolTipText
in interfaceorg.eclipse.ui.IEditorInput
-
saveState
public void saveState(org.eclipse.ui.IMemento memento)
- Specified by:
saveState
in interfaceorg.eclipse.ui.IPersistable
-
getFactoryId
public String getFactoryId()
- Specified by:
getFactoryId
in interfaceorg.eclipse.ui.IPersistableElement
-
equals
public boolean equals(Object obj)
TheEObjectEditorInput
implementation of thisObject
method bases the equality of twoEObjectEditorInput
objects on the equality of their underlyingEObject
model.
-
-