Revision c050c60b
Added by Patrick Plitzner almost 7 years ago
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/CdmViewerUtil.java | ||
---|---|---|
66 | 66 |
String viewerName = configElement.getAttribute("viewerName"); //$NON-NLS-1$ |
67 | 67 |
Class<?> selectionClass = Class.forName(configElement.getAttribute("selection")); //$NON-NLS-1$ |
68 | 68 |
if(selectionClass.isAssignableFrom(input.getClass())){ |
69 |
ICommandService commandService = (ICommandService)PlatformUI.getWorkbench().getService(ICommandService.class);
|
|
69 |
ICommandService commandService = PlatformUI.getWorkbench().getService(ICommandService.class); |
|
70 | 70 |
Command command = commandService.getCommand(commandId); |
71 | 71 |
if(command.isEnabled()){ |
72 | 72 |
commandViewerNameMap.put(command, viewerName); |
Also available in: Unified diff
ref #6566 Fix open handler for specimen editor