public abstract class NavigationLocation extends Object implements INavigationLocation
| Modifier | Constructor and Description |
|---|---|
protected |
NavigationLocation(IEditorPart editorPart)
Constructs a NavigationLocation with its editor part.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
May be extended by clients.
|
protected IEditorPart |
getEditorPart()
Returns the part that the receiver holds the location for.
|
Object |
getInput()
Returns the input used for this location.
|
String |
getText()
Returns the display name for this location.
|
void |
releaseState()
May be extended by clients.
|
void |
setInput(Object input)
Sets the location's input.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmergeInto, restoreLocation, restoreState, saveState, updateprotected NavigationLocation(IEditorPart editorPart)
editorPart - protected IEditorPart getEditorPart()
public Object getInput()
INavigationLocationnull if the
receiver's state has been released.getInput in interface INavigationLocationpublic String getText()
INavigationLocationgetText in interface INavigationLocationpublic void setInput(Object input)
INavigationLocationShould not be called by clients.
setInput in interface INavigationLocationinput - the editor input.public void dispose()
dispose in interface INavigationLocationINavigationLocation.dispose()public void releaseState()
releaseState in interface INavigationLocationINavigationLocation.releaseState()Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.