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

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.part
Class ShowInContext

java.lang.Object
  extended by 
org.eclipse.ui.part.ShowInContext
Direct Known Subclasses:
PropertyShowInContext

public class ShowInContext
extends Object

Carries the context for the Show In action. The default implementation carries an input and a selection. Subclasses may extend.

Since:
2.1
See Also:
IShowInSource, IShowInTarget

Constructor Summary
ShowInContext ( Object input, ISelection selection)
          Constructs a new ShowInContext with the given input and selection.
 
Method Summary
  Object getInput ()
          Returns the input, or null to indicate no input
  ISelection getSelection ()
          Returns the selection, or null to indicate no selection.
 void setInput ( Object input)
          Sets the input, or null to indicate no input.
 void setSelection ( ISelection selection)
          Sets the selection, or null to indicate no selection.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowInContext

public ShowInContext(
Object input,
                     
ISelection selection)
Constructs a new ShowInContext with the given input and selection.

Parameters:
input - the input or null
selection - the selection or null
Method Detail

getInput

public 
Object getInput()
Returns the input, or null to indicate no input

Returns:
the input or null.

getSelection

public 
ISelection getSelection()
Returns the selection, or null to indicate no selection.

Returns:
the selection or null

setInput

public void setInput(
Object input)
Sets the input, or null to indicate no input.

Parameters:
input - the input or null

setSelection

public void setSelection(
ISelection selection)
Sets the selection, or null to indicate no selection.

Parameters:
selection - the selection or null

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