PTP
Release 5.0

org.eclipse.ptp.ui.actions
Class GotoAction

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.jface.action.AbstractAction
          extended by org.eclipse.jface.action.Action
              extended by org.eclipse.ptp.ui.actions.ParallelAction
                  extended by org.eclipse.ptp.ui.actions.GotoAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction

public abstract class GotoAction
extends ParallelAction


Field Summary
protected  GotoDropDownAction action
           
protected  java.lang.Object data
           
protected  java.lang.String id
           
 
Fields inherited from class org.eclipse.ptp.ui.actions.ParallelAction
view
 
Fields inherited from interface org.eclipse.jface.action.IAction
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
GotoAction(java.lang.String name, java.lang.String id, AbstractParallelElementView view, GotoDropDownAction action, java.lang.Object data)
          Constructor
GotoAction(java.lang.String name, java.lang.String id, AbstractParallelElementView view, int style, GotoDropDownAction action, java.lang.Object data)
          Constructor
 
Method Summary
 void run(IElement[] elements)
          run action
 
Methods inherited from class org.eclipse.ptp.ui.actions.ParallelAction
getShell, getViewPart, run, validation
 
Methods inherited from class org.eclipse.jface.action.Action
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class org.eclipse.jface.action.AbstractAction
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
 
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.action.IAction
addPropertyChangeListener, removePropertyChangeListener
 

Field Detail

id

protected java.lang.String id

action

protected GotoDropDownAction action

data

protected java.lang.Object data
Constructor Detail

GotoAction

public GotoAction(java.lang.String name,
                  java.lang.String id,
                  AbstractParallelElementView view,
                  GotoDropDownAction action,
                  java.lang.Object data)
Constructor

Parameters:
name - name of action
id - action ID
view - view
action - drop down action

GotoAction

public GotoAction(java.lang.String name,
                  java.lang.String id,
                  AbstractParallelElementView view,
                  int style,
                  GotoDropDownAction action,
                  java.lang.Object data)
Constructor

Parameters:
name - name of action
id - action ID
view - view
style - style of action
action - drop down action
Method Detail

run

public void run(IElement[] elements)
Description copied from class: ParallelAction
run action

Specified by:
run in class ParallelAction
Parameters:
elements - action acts with these elements

PTP
Release 5.0

Copyright (c) 2011 IBM Corporation and others. All Rights Reserved.