Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSopot Cela2012-09-06 15:21:31 +0000
committerSopot Cela2012-09-06 15:21:31 +0000
commit1079481b123a674999b805dbf3b975fc7b046977 (patch)
tree3b98b3eecdc78b3ed21ba3a598f8af81f9670448
parentf37bd163344d8c826a5ca122e575b8d36d248567 (diff)
downloadorg.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.java2
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);

Back to the top