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.actions
Class ActionContext


java.lang.Object
  extended by 
org.eclipse.ui.actions.ActionContext

public class ActionContext
extends Object

An ActionContext represents the context used to determine which actions are added by an ActionGroup, and what their enabled state should be.

This class encapsulates a selection and an input element. Clients may subclass this class to add more information to the context.


Constructor Summary
ActionContext ( ISelection selection)
          Creates a new action context with the given selection.
 
Method Summary
  Object getInput ()
          Returns the input element.
  ISelection getSelection ()
          Returns the selection.
 void setInput ( Object input)
          Sets the input element.
 void setSelection ( ISelection selection)
          Sets the selection.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionContext

public ActionContext(
ISelection selection)
Creates a new action context with the given selection.

Method Detail

getSelection

public 
ISelection getSelection()
Returns the selection.


setSelection

public void setSelection(
ISelection selection)
Sets the selection.


getInput

public 
Object getInput()
Returns the input element.


setInput

public void setInput(
Object input)
Sets the input element.

Parameters:
input -

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