org.eclipse.corona.container.project.ui.explorer.actions
Class ShowOverviewViewAction

java.lang.Object
  extended by org.eclipse.corona.container.project.ui.explorer.actions.AbstractPCXActionDelegate
      extended by org.eclipse.corona.container.project.ui.explorer.actions.ShowOverviewViewAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate

public class ShowOverviewViewAction
extends AbstractPCXActionDelegate
implements org.eclipse.ui.IActionDelegate

Displays the project overview view tab in associated project container view (action will reopen the tab if necessary).
Action can be called only when selected project conteiner is opened, otherwise this action is not active.

Author:
Piotr Jaworowski

Field Summary
 
Fields inherited from class org.eclipse.corona.container.project.ui.explorer.actions.AbstractPCXActionDelegate
logService, manager
 
Constructor Summary
ShowOverviewViewAction()
          Constructor for ShowOverviewViewAction.
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
          Opens project overview view tab for selected node.
static void run(org.eclipse.jface.viewers.ISelection selection)
          Invokes this action on a specified selection.
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
 
Methods inherited from class org.eclipse.corona.container.project.ui.explorer.actions.AbstractPCXActionDelegate
getUIRepositoryAdapter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShowOverviewViewAction

public ShowOverviewViewAction()
Constructor for ShowOverviewViewAction.

Method Detail

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.selectionChanged(IAction, ISelection)

run

public void run(org.eclipse.jface.action.IAction action)
Opens project overview view tab for selected node.

Specified by:
run in interface org.eclipse.ui.IActionDelegate
See Also:
IActionDelegate.run(IAction)

run

public static void run(org.eclipse.jface.viewers.ISelection selection)
Invokes this action on a specified selection. It simplifies the usage of the action from other parts.

Parameters:
selection - The selection at which to run the action.

Copyright 2006 IBM Corporation and others.
All Rights Reserved.