Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.eclipse.debug.internal.ui.actions
Class EditLaunchConfigurationAction  view EditLaunchConfigurationAction download EditLaunchConfigurationAction.java

java.lang.Object
  extended byorg.eclipse.jface.action.Action
      extended byorg.eclipse.ui.actions.BaseSelectionListenerAction
          extended byorg.eclipse.ui.actions.SelectionListenerAction
              extended byorg.eclipse.debug.internal.ui.actions.EditLaunchConfigurationAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelectionChangedListener

public class EditLaunchConfigurationAction
extends org.eclipse.ui.actions.SelectionListenerAction

Opens the launch configuration dialog on a single launch configuration, based on the the launch associated with the selected element.


Field Summary
private  org.eclipse.debug.core.ILaunchConfiguration fConfiguration
           
private  java.lang.String fMode
           
 
Fields inherited from class org.eclipse.ui.actions.SelectionListenerAction
 
Fields inherited from class org.eclipse.ui.actions.BaseSelectionListenerAction
 
Fields inherited from class org.eclipse.jface.action.Action
 
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, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT
 
Constructor Summary
EditLaunchConfigurationAction()
          Constructs a new action.
 
Method Summary
protected  org.eclipse.debug.core.ILaunchConfiguration getLaunchConfiguration()
           
protected  java.lang.String getMode()
           
 void run()
          The default implementation of this IAction method does nothing.
protected  void setLaunchConfiguration(org.eclipse.debug.core.ILaunchConfiguration configuration)
           
protected  void setMode(java.lang.String mode)
           
protected  boolean updateSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
          Updates this action in response to the given selection.
 
Methods inherited from class org.eclipse.ui.actions.SelectionListenerAction
clearCache, getSelectedNonResources, getSelectedResources, resourceIsType, selectionIsOfType
 
Methods inherited from class org.eclipse.ui.actions.BaseSelectionListenerAction
getStructuredSelection, runWithEvent, selectionChanged, selectionChanged
 
Methods inherited from class org.eclipse.jface.action.Action
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, notifyResult, removeAcceleratorText, removeMnemonics, removePropertyChangeListener, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fConfiguration

private org.eclipse.debug.core.ILaunchConfiguration fConfiguration

fMode

private java.lang.String fMode
Constructor Detail

EditLaunchConfigurationAction

public EditLaunchConfigurationAction()
Constructs a new action.

Method Detail

updateSelection

protected boolean updateSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
Description copied from class: org.eclipse.ui.actions.BaseSelectionListenerAction
Updates this action in response to the given selection.

The BaseSelectionListenerAction implementation of this method returns true. Subclasses may extend to react to selection changes; however, if the super method returns false, the overriding method must also return false.


setLaunchConfiguration

protected void setLaunchConfiguration(org.eclipse.debug.core.ILaunchConfiguration configuration)

getLaunchConfiguration

protected org.eclipse.debug.core.ILaunchConfiguration getLaunchConfiguration()

setMode

protected void setMode(java.lang.String mode)

getMode

protected java.lang.String getMode()

run

public void run()
Description copied from class: org.eclipse.jface.action.Action
The default implementation of this IAction method does nothing. Subclasses should override this method if they do not need information from the triggering event, or override runWithEvent(Event) if they do.