diff options
author | Sopot Cela | 2012-09-06 15:21:31 +0000 |
---|---|---|
committer | Sopot Cela | 2012-09-06 15:21:31 +0000 |
commit | 1079481b123a674999b805dbf3b975fc7b046977 (patch) | |
tree | 3b98b3eecdc78b3ed21ba3a598f8af81f9670448 | |
parent | f37bd163344d8c826a5ca122e575b8d36d248567 (diff) | |
download | org.eclipse.e4.tools-1079481b123a674999b805dbf3b975fc7b046977.tar.gz org.eclipse.e4.tools-1079481b123a674999b805dbf3b975fc7b046977.tar.xz org.eclipse.e4.tools-1079481b123a674999b805dbf3b975fc7b046977.zip |
bug 388740: Handler class URI does not open wizard
https://bugs.eclipse.org/bugs/show_bug.cgi?id=388740
-rw-r--r-- | bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/extension/HandlerContributionEditor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/extension/HandlerContributionEditor.java b/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/extension/HandlerContributionEditor.java index 36bc0c2e..4b14881e 100644 --- a/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/extension/HandlerContributionEditor.java +++ b/bundles/org.eclipse.e4.tools.emf.editor3x/src/org/eclipse/e4/tools/emf/editor3x/extension/HandlerContributionEditor.java @@ -43,7 +43,7 @@ public class HandlerContributionEditor implements IContributionClassCreator { } private void createOpen(MContribution contribution, EditingDomain domain, IProject project, Shell shell, boolean forceNew) { - if( contribution.getContributionURI() == null || contribution.getContributionURI().trim().length() == 0 || !contribution.getContributionURI().startsWith("bundleclass:") ) { + if( forceNew || contribution.getContributionURI() == null || contribution.getContributionURI().trim().length() == 0 || !contribution.getContributionURI().startsWith("bundleclass:") ) { NewHandlerClassWizard wizard = new NewHandlerClassWizard(); wizard.init( null, new StructuredSelection(project)); WizardDialog dialog = new WizardDialog(shell, wizard); |