net.refractions.udig.project.ui
Class UDIGEditorInput

java.lang.Object
  extended by net.refractions.udig.project.ui.UDIGEditorInput

public abstract class UDIGEditorInput
extends java.lang.Object

So the project explorer could generically open any editor.

Since:
0.3
Author:
jones

Field Summary
protected  IProjectElement projectElement
           
 
Constructor Summary
UDIGEditorInput()
           
 
Method Summary
 boolean equals(java.lang.Object arg0)
           
 boolean exists()
           
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 java.lang.String getEditorId()
          The id of the default editor for this type of input.
 IPersistableElement getPersistable()
           
 IProjectElement getProjectElement()
           
 int hashCode()
           
 void setEditorId(java.lang.String editorID)
           
 void setProjectElement(IProjectElement projectElement)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

projectElement

protected IProjectElement projectElement
Constructor Detail

UDIGEditorInput

public UDIGEditorInput()
Method Detail

getProjectElement

public IProjectElement getProjectElement()
Returns:
Returns the projectElement.

setProjectElement

public void setProjectElement(IProjectElement projectElement)
Parameters:
projectElement - The projectElement to set.

equals

public boolean equals(java.lang.Object arg0)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getEditorId

public java.lang.String getEditorId()
The id of the default editor for this type of input.

Returns:
The id of the default editor for this type of input.

setEditorId

public void setEditorId(java.lang.String editorID)
Parameters:
editorID - The editorID to set.

exists

public boolean exists()

getPersistable

public IPersistableElement getPersistable()

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)