|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.backward.resources.FileEditorInput
pl.edu.agh.cast.backward.resources.DiagramEditorInput
public class DiagramEditorInput
Editor input provider in form of a IDiagram
.
Constructor Summary | |
---|---|
DiagramEditorInput(IDiagram diagram,
org.eclipse.core.resources.IFile file)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
Two DiagramEditorInput s are equal if their files are equal. |
IDiagram |
getDiagram()
Returns the diagram. |
int |
hashCode()
|
Methods inherited from class pl.edu.agh.cast.backward.resources.FileEditorInput |
---|
exists, getAdapter, getFile, getImageDescriptor, getName, getPath, getPersistable, getToolTipText, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DiagramEditorInput(IDiagram diagram, org.eclipse.core.resources.IFile file)
diagram
- the diagramfile
- input fileMethod Detail |
---|
public IDiagram getDiagram()
getDiagram
in interface IDiagramEditorInput
IDiagramEditorInput.getDiagram()
public boolean equals(Object obj)
DiagramEditorInput
s are equal if their files are equal. That basically means that
FileEditorInput
's equals should be used.
equals
in class FileEditorInput
FileEditorInput.equals(java.lang.Object)
public int hashCode()
hashCode
in class FileEditorInput
FileEditorInput.hashCode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |