Overview

 
Package  Use  Tree  Deprecated  Index  Help 
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD


 

org.eclipse.emf.edit.command
Interface CommandActionDelegate

All Known Implementing Classes:
CreateChildCommand, CreateMappingAction.DelegateCommand, CreateOneSidedMappingAction.DelegateCommand, DelegatingWrapperItemProvider.AffectedObjectsWrappingCommandActionDelegate, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommandActionDelegate, NameMatchMappingAction.DelegateCommand, RemoveMappingAction.CommandDelegate, TypeMatchMappingAction.DelegateCommand


public interface CommandActionDelegate

This is the interface used by a CommandAction to delegate all of the set methods of an IAction to a Command.


Method Summary
 boolean canExecute()
          This returns whether the action should be enabled.
 String getDescription()
          This returns the description, if any, of the action.
 Object getImage()
          This returns the decoration, 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.
 

Method Detail

 

 

canExecute

public boolean canExecute()

This returns whether the action should be enabled.


 

 

getImage

public Object getImage()

This returns the decoration, if any, of the action.


 

 

getText

public String getText()

This returns the menu text, if any, of the action.


 

 

getDescription

public String getDescription()

This returns the description, if any, of the action.


 

 

getToolTipText

public String getToolTipText()

This returns the tool tip text, if any, of the action.


 

Overview

 
Package  Use  Tree  Deprecated  Index  Help 
Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.
 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES  
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD