org.eclipse.uml2.uml.editor.presentation
Class UMLActionBarContributor.UMLControlAction

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.ui.actions.BaseSelectionListenerAction
                  extended by org.eclipse.emf.edit.ui.action.CommandActionHandler
                      extended by org.eclipse.emf.edit.ui.action.ControlAction
                          extended by org.eclipse.uml2.uml.editor.presentation.UMLActionBarContributor.UMLControlAction
All Implemented Interfaces:
org.eclipse.jface.action.IAction, org.eclipse.jface.viewers.ISelectionChangedListener
Enclosing class:
UMLActionBarContributor

protected static class UMLActionBarContributor.UMLControlAction
extends org.eclipse.emf.edit.ui.action.ControlAction


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.edit.ui.action.ControlAction
org.eclipse.emf.edit.ui.action.ControlAction.ControlResourceDialog, org.eclipse.emf.edit.ui.action.ControlAction.SelfAffectingCommand
 
Field Summary
 
Fields inherited from class org.eclipse.emf.edit.ui.action.ControlAction
eObject, selection
 
Fields inherited from class org.eclipse.emf.edit.ui.action.CommandActionHandler
command, domain
 
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
protected UMLActionBarContributor.UMLControlAction()
           
 
Method Summary
protected  java.util.List<org.eclipse.emf.ecore.EObject> collectAllStereotypeApplications(org.eclipse.emf.ecore.EObject eObject, java.util.List<org.eclipse.emf.ecore.EObject> allStereotypeApplications)
           
 void run()
           
 boolean updateSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
           
 
Methods inherited from class org.eclipse.emf.edit.ui.action.ControlAction
getResource, setActiveWorkbenchPart
 
Methods inherited from class org.eclipse.emf.edit.ui.action.CommandActionHandler
createCommand, getEditingDomain, setEditingDomain
 
Methods inherited from class org.eclipse.ui.actions.BaseSelectionListenerAction
clearCache, getStructuredSelection, runWithEvent, selectionChanged, selectionChanged
 
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, 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
 

Constructor Detail

UMLActionBarContributor.UMLControlAction

protected UMLActionBarContributor.UMLControlAction()
Method Detail

collectAllStereotypeApplications

protected java.util.List<org.eclipse.emf.ecore.EObject> collectAllStereotypeApplications(org.eclipse.emf.ecore.EObject eObject,
                                                                                         java.util.List<org.eclipse.emf.ecore.EObject> allStereotypeApplications)

updateSelection

public boolean updateSelection(org.eclipse.jface.viewers.IStructuredSelection selection)
Overrides:
updateSelection in class org.eclipse.emf.edit.ui.action.ControlAction

run

public void run()
Specified by:
run in interface org.eclipse.jface.action.IAction
Overrides:
run in class org.eclipse.emf.edit.ui.action.ControlAction

Copyright 2003, 2014 IBM Corporation, CEA, and others.
All Rights Reserved.