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 MainActionGroup


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.MainActionGroup

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

public class MainActionGroup
extends ResourceNavigatorActionGroup

The main action group for the navigator. This contains a few actions and several subgroups.


Field Summary
protected   AddBookmarkAction addBookmarkAction
          Deprecated.  
protected   AddTaskAction addTaskAction
          Deprecated.  
protected   CollapseAllAction collapseAllAction
          Deprecated.  
protected   ExportResourcesAction exportAction
          Deprecated.  
protected   GotoActionGroup gotoGroup
          Deprecated.  
protected   ImportResourcesAction importAction
          Deprecated.  
protected   OpenActionGroup openGroup
          Deprecated.  
protected   PropertyDialogAction propertyDialogAction
          Deprecated.  
protected   RefactorActionGroup refactorGroup
          Deprecated.  
protected   SortAndFilterActionGroup sortAndFilterGroup
          Deprecated.  
protected   ToggleLinkingAction toggleLinkingAction
          Deprecated.  
protected   UndoRedoActionGroup undoRedoGroup
          Deprecated.  
protected   WorkingSetFilterActionGroup workingSetGroup
          Deprecated.  
protected   WorkspaceActionGroup workspaceGroup
          Deprecated.  
 
Fields inherited from class org.eclipse.ui.views.navigator. ResourceNavigatorActionGroup
navigator
 
Constructor Summary
MainActionGroup ( IResourceNavigator navigator)
          Deprecated. Constructs the main action group.
 
Method Summary
 void dispose ()
          Deprecated. Extends the superclass implementation to dispose the actions in this group and its subgroups.
 void fillActionBars ( IActionBars actionBars)
          Deprecated. Adds the actions in this group and its subgroups to the action bars.
 void fillContextMenu ( IMenuManager menu)
          Deprecated. Fills the context menu with the actions contained in this group and its subgroups.
 void handleKeyPressed ( KeyEvent event)
          Deprecated. Handles a key pressed event by invoking the appropriate action, delegating to the subgroups as necessary.
protected  void handleResourceChanged ( IResourceChangeEvent event)
          Deprecated. Handles a resource changed event by updating the enablement if one of the selected projects is opened or closed.
protected  void makeActions ()
          Deprecated. Makes the actions contained directly in this action group.
protected  void makeSubGroups ()
          Deprecated. Makes the sub action groups.
 void runDefaultAction ( IStructuredSelection selection)
          Deprecated. Runs the default action (open file) by delegating the open group.
 void setContext ( ActionContext context)
          Deprecated. Extends the superclass implementation to set the context in the subgroups.
 void updateActionBars ()
          Deprecated. Updates the actions which were added to the action bars, delegating to the subgroups as necessary.
 
Methods inherited from class org.eclipse.ui.views.navigator. ResourceNavigatorActionGroup
getImageDescriptor, getNavigator
 
Methods inherited from class org.eclipse.ui.actions. ActionGroup
getContext
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

addBookmarkAction

protected 
AddBookmarkAction addBookmarkAction
Deprecated. 

addTaskAction

protected 
AddTaskAction addTaskAction
Deprecated. 

propertyDialogAction

protected 
PropertyDialogAction propertyDialogAction
Deprecated. 

importAction

protected 
ImportResourcesAction importAction
Deprecated. 

exportAction

protected 
ExportResourcesAction exportAction
Deprecated. 

collapseAllAction

protected 
CollapseAllAction collapseAllAction
Deprecated. 

toggleLinkingAction

protected 
ToggleLinkingAction toggleLinkingAction
Deprecated. 

gotoGroup

protected 
GotoActionGroup gotoGroup
Deprecated. 

openGroup

protected 
OpenActionGroup openGroup
Deprecated. 

refactorGroup

protected 
RefactorActionGroup refactorGroup
Deprecated. 

workingSetGroup

protected 
WorkingSetFilterActionGroup workingSetGroup
Deprecated. 

sortAndFilterGroup

protected 
SortAndFilterActionGroup sortAndFilterGroup
Deprecated. 

undoRedoGroup

protected 
UndoRedoActionGroup undoRedoGroup
Deprecated. 

workspaceGroup

protected 
WorkspaceActionGroup workspaceGroup
Deprecated. 
Constructor Detail

MainActionGroup

public MainActionGroup(
IResourceNavigator navigator)
Deprecated. 
Constructs the main action group.

Parameters:
navigator - the navigator view
Method Detail

handleResourceChanged

protected void handleResourceChanged(
IResourceChangeEvent event)
Deprecated. 
Handles a resource changed event by updating the enablement if one of the selected projects is opened or closed.


makeActions

protected void makeActions()
Deprecated. 
Makes the actions contained directly in this action group.

Specified by:
makeActions in class ResourceNavigatorActionGroup

makeSubGroups

protected void makeSubGroups()
Deprecated. 
Makes the sub action groups.


setContext

public void setContext(
ActionContext context)
Deprecated. 
Extends the superclass implementation to set the context in the subgroups.

Overrides:
setContext in class ActionGroup
Parameters:
context - the context to use

fillContextMenu

public void fillContextMenu(
IMenuManager menu)
Deprecated. 
Fills the context menu with the actions contained in this group and its subgroups.

Overrides:
fillContextMenu in class ActionGroup
Parameters:
menu - the context menu

fillActionBars

public void fillActionBars(
IActionBars actionBars)
Deprecated. 
Adds the actions in this group and its subgroups to the action bars.

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

updateActionBars

public void updateActionBars()
Deprecated. 
Updates the actions which were added to the action bars, delegating to the subgroups as necessary.

Overrides:
updateActionBars in class ActionGroup

runDefaultAction

public void runDefaultAction(
IStructuredSelection selection)
Deprecated. 
Runs the default action (open file) by delegating the open group.

Overrides:
runDefaultAction in class ResourceNavigatorActionGroup
Parameters:
selection - the current selection

handleKeyPressed

public void handleKeyPressed(
KeyEvent event)
Deprecated. 
Handles a key pressed event by invoking the appropriate action, delegating to the subgroups as necessary.

Overrides:
handleKeyPressed in class ResourceNavigatorActionGroup

dispose

public void dispose()
Deprecated. 
Extends the superclass implementation to dispose the actions in this group and its subgroups.

Overrides:
dispose 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