Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui
Class NavigationLocation


java.lang.Object
  extended by 
org.eclipse.ui.NavigationLocation
All Implemented Interfaces:
INavigationLocation
Direct Known Subclasses:
TextSelectionNavigationLocation

public abstract class NavigationLocation
extends Object
implements INavigationLocation

Default implementation of INavigationLocation.

Since:
2.1

Constructor Summary
protected NavigationLocation ( IEditorPart editorPart)
          Constructs a NavigationLocation with its editor part.
 
Method Summary
 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.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui. INavigationLocation
mergeInto, restoreLocation, restoreState, saveState, update
 

Constructor Detail

NavigationLocation

protected NavigationLocation(
IEditorPart editorPart)
Constructs a NavigationLocation with its editor part.

Parameters:
editorPart -
Method Detail

getEditorPart

protected 
IEditorPart getEditorPart()
Returns the part that the receiver holds the location for.

Returns:
IEditorPart

getInput

public 
Object getInput()
Description copied from interface: INavigationLocation
Returns the input used for this location. Returns null if the receiver's state has been released.

Specified by:
getInput in interface INavigationLocation
Returns:
the input for this location

getText

public 
String getText()
Description copied from interface: INavigationLocation
Returns the display name for this location. This name is used in the navigation history list.

Specified by:
getText in interface INavigationLocation
Returns:
the display name

setInput

public void setInput(
Object input)
Description copied from interface: INavigationLocation
Sets the location's input.

Should not be called by clients.

Specified by:
setInput in interface INavigationLocation
Parameters:
input - the editor input.

dispose

public void dispose()
May be extended by clients.

Specified by:
dispose in interface INavigationLocation
See Also:
INavigationLocation.dispose()

releaseState

public void releaseState()
May be extended by clients.

Specified by:
releaseState in interface INavigationLocation
See Also:
INavigationLocation.releaseState()

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire