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

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

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

Displays the event list 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
ShowEventListViewAction()
          Constructor for ShowEventListViewAction.
 
Method Summary
 void run(org.eclipse.jface.action.IAction action)
          Opens event list view tab for selected project container.
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

ShowEventListViewAction

public ShowEventListViewAction()
Constructor for ShowEventListViewAction.

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 event list view tab for selected project container.

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.