|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.ui.NavigationLocation | +--org.eclipse.ui.texteditor.TextSelectionNavigationLocation
2.1 - WORK_IN_PROGRESS do not use.
Constructor Summary | |
TextSelectionNavigationLocation(ITextEditor part,
boolean initialize)
|
Method Summary | |
void |
dispose()
May be extended by clients. |
boolean |
mergeInto(INavigationLocation location)
Merge the receiver into currentLocation . |
void |
partSaved(IEditorPart part)
|
void |
releaseState()
May be extended by clients. |
void |
restoreLocation()
Restore the context saved by this location. |
void |
restoreState(IMemento memento)
Restore the state of this location from the memento |
void |
saveState(IMemento memento)
Persists the state of this location into the memento
* @param memento the storage were the state should be saved into. |
String |
toString()
|
void |
update()
The message update is sent to the active location before
another location becomes active. |
Methods inherited from class org.eclipse.ui.NavigationLocation |
getEditorPart, getInput, getText, setInput |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TextSelectionNavigationLocation(ITextEditor part, boolean initialize)
Method Detail |
public String toString()
toString
in class Object
public void dispose()
NavigationLocation
dispose
in interface INavigationLocation
dispose
in class NavigationLocation
INavigationLocation.dispose()
public void releaseState()
NavigationLocation
releaseState
in interface INavigationLocation
releaseState
in class NavigationLocation
public boolean mergeInto(INavigationLocation location)
INavigationLocation
currentLocation
. Return true if
the two locations could be merged otherwise return false.
This message is sent to all locations before being added to the history; given the change to the new location to merge itself into the current location minimizing the number of entries in the navigation history.
* @param currentLocation where the receiver should be merged into * @return boolean true if the merge was possible
public void restoreLocation()
INavigationLocation
public void restoreState(IMemento memento)
INavigationLocation
memento
memento
- the storage were the state was saved into.public void saveState(IMemento memento)
INavigationLocation
memento
* @param memento the storage were the state should be saved into.
public void partSaved(IEditorPart part)
public void update()
INavigationLocation
update
is sent to the active location before
another location becomes active.
|
Eclipse Platform 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |