org.eclipse.emf.mapping.action
Class CreateMappingAction.DelegateCommand

java.lang.Object
  extended byorg.eclipse.emf.common.command.AbstractCommand
      extended byorg.eclipse.emf.common.command.CommandWrapper
          extended byorg.eclipse.emf.mapping.action.CreateMappingAction.DelegateCommand
All Implemented Interfaces:
Command, CommandActionDelegate
Enclosing class:
CreateMappingAction

public static class CreateMappingAction.DelegateCommand
extends CommandWrapper
implements CommandActionDelegate


Nested Class Summary
 
Nested classes inherited from class org.eclipse.emf.common.command.AbstractCommand
AbstractCommand.NonDirtying
 
Field Summary
protected  Collection collection
           
protected  MappingDomain mappingDomain
           
 
Fields inherited from class org.eclipse.emf.common.command.CommandWrapper
command
 
Fields inherited from class org.eclipse.emf.common.command.AbstractCommand
description, isExecutable, isPrepared, label
 
Constructor Summary
CreateMappingAction.DelegateCommand(EditingDomain editingDomain, CommandParameter commandParameter)
           
 
Method Summary
 Object getImage()
          This returns the icon, if any, of the action.
 String getText()
          This returns the menu text, if any, of the action.
 String getToolTipText()
          This returns the tool tip text, if any, of the action.
 
Methods inherited from class org.eclipse.emf.common.command.CommandWrapper
canUndo, createCommand, dispose, execute, getAffectedObjects, getCommand, getDescription, getLabel, getResult, prepare, redo, toString, undo
 
Methods inherited from class org.eclipse.emf.common.command.AbstractCommand
canExecute, chain, setDescription, setLabel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.edit.command.CommandActionDelegate
canExecute, getDescription
 

Field Detail

mappingDomain

protected MappingDomain mappingDomain

collection

protected Collection collection
Constructor Detail

CreateMappingAction.DelegateCommand

public CreateMappingAction.DelegateCommand(EditingDomain editingDomain,
                                           CommandParameter commandParameter)
Method Detail

getImage

public Object getImage()
This returns the icon, if any, of the action.

Specified by:
getImage in interface CommandActionDelegate

getText

public String getText()
Description copied from interface: CommandActionDelegate
This returns the menu text, if any, of the action.

Specified by:
getText in interface CommandActionDelegate

getToolTipText

public String getToolTipText()
This returns the tool tip text, if any, of the action.

Specified by:
getToolTipText in interface CommandActionDelegate

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.