diff options
author | jmisinco | 2012-10-04 18:38:05 +0000 |
---|---|---|
committer | jmisinco | 2012-10-08 17:22:44 +0000 |
commit | 02d6cda1b525da3a9e0b506d12f1e9162e84f931 (patch) | |
tree | e99b6f5b709f43581953536d8b9ef6ca00ab9f8f /plugins/org.eclipse.osee.framework.core.dsl.ui.integration | |
parent | c6be67e2a391b69c0470c2e6f7b147cf54f5ac05 (diff) | |
download | org.eclipse.osee-02d6cda1b525da3a9e0b506d12f1e9162e84f931.tar.gz org.eclipse.osee-02d6cda1b525da3a9e0b506d12f1e9162e84f931.tar.xz org.eclipse.osee-02d6cda1b525da3a9e0b506d12f1e9162e84f931.zip |
bug[ats_GTB5H]: Command handlers causing NPE in empty perspectives
Diffstat (limited to 'plugins/org.eclipse.osee.framework.core.dsl.ui.integration')
-rw-r--r-- | plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslEditorHandler.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslEditorHandler.java b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslEditorHandler.java index dac472db28b..097cea75c02 100644 --- a/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslEditorHandler.java +++ b/plugins/org.eclipse.osee.framework.core.dsl.ui.integration/src/org/eclipse/osee/framework/core/dsl/ui/integration/internal/OseeDslEditorHandler.java @@ -11,6 +11,7 @@ package org.eclipse.osee.framework.core.dsl.ui.integration.internal; import org.eclipse.core.commands.ExecutionEvent; +import org.eclipse.jface.viewers.IStructuredSelection; import org.eclipse.osee.framework.core.enums.PermissionEnum; import org.eclipse.osee.framework.ui.skynet.commandHandlers.renderer.handlers.AbstractEditorHandler; import org.eclipse.osee.framework.ui.skynet.render.PresentationType; @@ -22,7 +23,7 @@ import org.eclipse.osee.framework.ui.skynet.render.RendererManager; public class OseeDslEditorHandler extends AbstractEditorHandler { @Override - public Object executeWithException(ExecutionEvent event) { + public Object executeWithException(ExecutionEvent event, IStructuredSelection selection) { RendererManager.openInJob(artifacts, PresentationType.SPECIALIZED_EDIT); return null; } |