|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.editor.input.DiagramEditorInput<M,V,T>
M - presentation data set which is base of diagramV - visual data set which is base of diagramT - input diagram for editorpublic class DiagramEditorInput<M extends IPresentationDataSet<?>,V extends IVisualDataSet<?,M>,T extends IDiagram<M,V>>
Default implementation of IDiagramEditorInput - see for more details.
| Constructor Summary | |
|---|---|
DiagramEditorInput(T diagram)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
exists()
|
Object |
getAdapter(Class adapter)
|
T |
getDiagram()
Gets diagram for an editor. |
org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor()
|
String |
getName()
|
org.eclipse.ui.IPersistableElement |
getPersistable()
|
String |
getToolTipText()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiagramEditorInput(T diagram)
diagram - input diagram| Method Detail |
|---|
public T getDiagram()
getDiagram in interface IDiagramEditorInput<M extends IPresentationDataSet<?>,V extends IVisualDataSet<?,M>,T extends IDiagram<M,V>>IDiagramEditorInput.getDiagram()public boolean exists()
exists in interface org.eclipse.ui.IEditorInputIEditorInput.exists()public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
getImageDescriptor in interface org.eclipse.ui.IEditorInputIEditorInput.getImageDescriptor()public String getName()
getName in interface org.eclipse.ui.IEditorInputIEditorInput.getName()public org.eclipse.ui.IPersistableElement getPersistable()
getPersistable in interface org.eclipse.ui.IEditorInputIEditorInput.getPersistable()public String getToolTipText()
getToolTipText in interface org.eclipse.ui.IEditorInputIEditorInput.getToolTipText()public Object getAdapter(Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptableIAdaptable.getAdapter(java.lang.Class)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||