org.eclipse.uml2.uml.editor.actions
Class ImportTypeAction

java.lang.Object
  extended by org.eclipse.emf.edit.ui.action.CommandAction
      extended by org.eclipse.uml2.uml.editor.actions.UMLCommandAction
          extended by org.eclipse.uml2.uml.editor.actions.ImportTypeAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IActionDelegate2, org.eclipse.ui.IEditorActionDelegate, org.eclipse.ui.IViewActionDelegate
Direct Known Subclasses:
ImportPrimitiveTypeAction

public class ImportTypeAction
extends UMLCommandAction


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.uml2.uml.editor.actions.UMLCommandAction
UMLCommandAction.RefreshingChangeCommand, UMLCommandAction.TextComparator<T>
 
Field Summary
 
Fields inherited from class org.eclipse.emf.edit.ui.action.CommandAction
action, collection, command, editingDomain, editorPart, workbenchPart
 
Constructor Summary
ImportTypeAction()
           
 
Method Summary
protected  org.eclipse.emf.common.command.Command createActionCommand(org.eclipse.emf.edit.domain.EditingDomain editingDomain, java.util.Collection<?> collection)
           
protected  java.lang.String getActionCommandLabel()
           
protected  java.util.List<Type> getChoiceOfValues(Package package_)
           
 void run(org.eclipse.jface.action.IAction action)
           
 
Methods inherited from class org.eclipse.uml2.uml.editor.actions.UMLCommandAction
getAdapterFactory, getLabelProvider, refreshViewer, setActiveEditor
 
Methods inherited from class org.eclipse.emf.edit.ui.action.CommandAction
dispose, getDefaultImageDescriptor, init, init, objectToImageDescriptor, runWithEvent, selectionChanged, setActiveWorkbenchPart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ImportTypeAction

public ImportTypeAction()
Method Detail

createActionCommand

protected org.eclipse.emf.common.command.Command createActionCommand(org.eclipse.emf.edit.domain.EditingDomain editingDomain,
                                                                     java.util.Collection<?> collection)
Overrides:
createActionCommand in class org.eclipse.emf.edit.ui.action.CommandAction

getChoiceOfValues

protected java.util.List<Type> getChoiceOfValues(Package package_)

getActionCommandLabel

protected java.lang.String getActionCommandLabel()

run

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

Copyright 2003, 2007 IBM Corporation and others.
All Rights Reserved.