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.views.navigator
Class WorkspaceActionGroup


java.lang.Object
  extended by 

org.eclipse.ui.actions.ActionGroup
      extended by 

org.eclipse.ui.views.navigator.ResourceNavigatorActionGroup
          extended by 
org.eclipse.ui.views.navigator.WorkspaceActionGroup

Deprecated. as of 3.5, use the Common Navigator Framework classes instead

public class WorkspaceActionGroup
extends ResourceNavigatorActionGroup

This is the action group for workspace actions such as Build, Refresh Local, and Open/Close Project.


Field Summary
 
Fields inherited from class org.eclipse.ui.views.navigator. ResourceNavigatorActionGroup
navigator
 
Constructor Summary
WorkspaceActionGroup ( IResourceNavigator navigator)
          Deprecated.  
 
Method Summary
 void fillActionBars ( IActionBars actionBars)
          Deprecated. Adds the applicable actions to a part's action bars, including setting any global action handlers.
 void fillContextMenu ( IMenuManager menu)
          Deprecated. Adds the build, open project, close project and refresh resource actions to the context menu.
 void handleKeyPressed ( KeyEvent event)
          Deprecated. Handles a key pressed event by invoking the appropriate action.
protected  void makeActions ()
          Deprecated. Makes the actions contained in this action group.
 void updateActionBars ()
          Deprecated. Updates the state of the actions added to the action bars, including any global action handlers, based on the state of the ActionContext.
 
Methods inherited from class org.eclipse.ui.views.navigator. ResourceNavigatorActionGroup
getImageDescriptor, getNavigator, runDefaultAction
 
Methods inherited from class org.eclipse.ui.actions. ActionGroup
dispose, getContext, setContext
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkspaceActionGroup

public WorkspaceActionGroup(
IResourceNavigator navigator)
Deprecated. 
Method Detail

fillActionBars

public void fillActionBars(
IActionBars actionBars)
Deprecated. 
Description copied from class: ActionGroup
Adds the applicable actions to a part's action bars, including setting any global action handlers.

The default implementation does nothing. Subclasses may override or extend this method.

Overrides:
fillActionBars in class ActionGroup
Parameters:
actionBars - the part's action bars

fillContextMenu

public void fillContextMenu(
IMenuManager menu)
Deprecated. 
Adds the build, open project, close project and refresh resource actions to the context menu.

The following conditions apply: build-only projects selected, auto build disabled, at least one builder present open project-only projects selected, at least one closed project close project-only projects selected, at least one open project refresh-no closed project selected

Both the open project and close project action may be on the menu at the same time.

No disabled action should be on the context menu.

Overrides:
fillContextMenu in class ActionGroup
Parameters:
menu - context menu to add actions to

handleKeyPressed

public void handleKeyPressed(
KeyEvent event)
Deprecated. 
Handles a key pressed event by invoking the appropriate action.

Overrides:
handleKeyPressed in class ResourceNavigatorActionGroup

makeActions

protected void makeActions()
Deprecated. 
Description copied from class: ResourceNavigatorActionGroup
Makes the actions contained in this action group.

Specified by:
makeActions in class ResourceNavigatorActionGroup

updateActionBars

public void updateActionBars()
Deprecated. 
Description copied from class: ActionGroup
Updates the state of the actions added to the action bars, including any global action handlers, based on the state of the ActionContext.

The default implementation does nothing. Subclasses may override or extend this method.

Overrides:
updateActionBars in class ActionGroup

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