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, wait
mergeInto, restoreLocation, restoreState, saveState, update
protected NavigationLocation(IEditorPart editorPart)
editorPart
- protected IEditorPart getEditorPart()
public Object getInput()
INavigationLocation
null
if the
receiver's state has been released.getInput
in interface INavigationLocation
public String getText()
INavigationLocation
getText
in interface INavigationLocation
public void setInput(Object input)
INavigationLocation
Should not be called by clients.
setInput
in interface INavigationLocation
input
- the editor input.public void dispose()
dispose
in interface INavigationLocation
INavigationLocation.dispose()
public void releaseState()
releaseState
in interface INavigationLocation
INavigationLocation.releaseState()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.