1 11 package org.eclipse.ui.commands; 12 13 import java.util.List ; 14 import java.util.Map ; 15 16 45 public interface ICommand extends Comparable { 46 47 58 void addCommandListener(ICommandListener commandListener); 59 60 73 Object execute(Map parameterValuesByName) throws ExecutionException, 74 NotHandledException; 75 76 90 Map getAttributeValuesByName() throws NotHandledException; 91 92 107 String getCategoryId() throws NotDefinedException; 108 109 124 String getDescription() throws NotDefinedException; 125 126 132 String getId(); 133 134 150 List getKeySequenceBindings(); 151 152 167 String getName() throws NotDefinedException; 168 169 181 boolean isDefined(); 182 183 197 boolean isHandled(); 198 199 210 void removeCommandListener(ICommandListener commandListener); 211 } 212 | Popular Tags |