1 11 12 package org.eclipse.ui.commands; 13 14 import java.util.Map ; 15 import java.util.Set ; 16 17 import org.eclipse.ui.keys.KeySequence; 18 19 35 public interface ICommandManager { 36 37 48 void addCommandManagerListener( 49 ICommandManagerListener commandManagerListener); 50 51 63 Set getActiveContextIds(); 64 65 77 String getActiveKeyConfigurationId(); 78 79 90 String getActiveLocale(); 91 92 103 String getActivePlatform(); 104 105 112 ICategory getCategory(String categoryId); 113 114 121 ICommand getCommand(String commandId); 122 123 137 Set getDefinedCategoryIds(); 138 139 153 Set getDefinedCommandIds(); 154 155 169 Set getDefinedKeyConfigurationIds(); 170 171 178 IKeyConfiguration getKeyConfiguration(String keyConfigurationId); 179 180 191 Map getPartialMatches(KeySequence keySequence); 192 193 202 String getPerfectMatch(KeySequence keySequence); 203 204 214 boolean isPartialMatch(KeySequence keySequence); 215 216 225 boolean isPerfectMatch(KeySequence keySequence); 226 227 238 void removeCommandManagerListener( 239 ICommandManagerListener commandManagerListener); 240 } 241 | Popular Tags |