Constructor and Description |
---|
MEEditorInput(ECPEditorContext context)
Default constructor.
|
MEEditorInput(ECPEditorContext context,
org.eclipse.emf.ecore.EStructuralFeature problemFeature)
Constructor to add a probleFeature.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the input.
|
boolean |
equals(Object obj)
Custom equals() for this class.
|
boolean |
exists() |
Object |
getAdapter(Class clazz) |
org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor() |
ECPEditorContext |
getModelElementContext()
Returns the
ECPEditorContext . |
String |
getName() |
org.eclipse.ui.IPersistableElement |
getPersistable() |
org.eclipse.emf.ecore.EStructuralFeature |
getProblemFeature() |
String |
getToolTipText() |
int |
hashCode() |
void |
setProblemFeature(org.eclipse.emf.ecore.EStructuralFeature problemFeature) |
public MEEditorInput(ECPEditorContext context, org.eclipse.emf.ecore.EStructuralFeature problemFeature)
context
- context of the model elementproblemFeature
- the problem featurepublic MEEditorInput(ECPEditorContext context)
context
- context of the modelelementpublic boolean exists()
exists
in interface org.eclipse.ui.IEditorInput
public org.eclipse.ui.IPersistableElement getPersistable()
getPersistable
in interface org.eclipse.ui.IEditorInput
public org.eclipse.emf.ecore.EStructuralFeature getProblemFeature()
public void setProblemFeature(org.eclipse.emf.ecore.EStructuralFeature problemFeature)
problemFeature
- the problemFeature to setpublic boolean equals(Object obj)
public Object getAdapter(Class clazz)
getAdapter
in interface org.eclipse.core.runtime.IAdaptable
public ECPEditorContext getModelElementContext()
ECPEditorContext
.ECPEditorContext
public void dispose()
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
getImageDescriptor
in interface org.eclipse.ui.IEditorInput
public String getName()
getName
in interface org.eclipse.ui.IEditorInput
public String getToolTipText()
getToolTipText
in interface org.eclipse.ui.IEditorInput
Copyright © 2017. All rights reserved.