Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSopot Cela2012-09-09 17:29:38 -0400
committerSopot Cela2012-09-09 17:29:38 -0400
commitce677e7f2d33cb43d9d397dd7ef268217184de6a (patch)
treef1390fd0cedc145f41eee1acdd9be3d7170df8d2
parentf314b2edd4649cab2fad1c1c14dc5322cea5c7c2 (diff)
downloadorg.eclipse.e4.tools-ce677e7f2d33cb43d9d397dd7ef268217184de6a.tar.gz
org.eclipse.e4.tools-ce677e7f2d33cb43d9d397dd7ef268217184de6a.tar.xz
org.eclipse.e4.tools-ce677e7f2d33cb43d9d397dd7ef268217184de6a.zip
First commit for bug 389047: [Tooling] Model editor improvements round 1
https://bugs.eclipse.org/bugs/show_bug.cgi?id=389047
-rw-r--r--bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/BindingContextEditor.java2
-rw-r--r--bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/classes/AbstractNewClassPage.java3
2 files changed, 1 insertions, 4 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/BindingContextEditor.java b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/BindingContextEditor.java
index 65a1674e..8e0be72f 100644
--- a/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/BindingContextEditor.java
+++ b/bundles/org.eclipse.e4.tools.emf.ui/src/org/eclipse/e4/tools/emf/ui/internal/common/component/BindingContextEditor.java
@@ -222,7 +222,7 @@ public class BindingContextEditor extends AbstractComponentEditor {
b = new Button(buttonComp, SWT.PUSH | SWT.FLAT);
b.setText(Messages.ModelTooling_Common_Down);
- b.setImage(createImage(ResourceProvider.IMG_Obj16_arrow_up));
+ b.setImage(createImage(ResourceProvider.IMG_Obj16_arrow_down));
b.setLayoutData(new GridData(GridData.FILL, GridData.CENTER, true, false));
b.addSelectionListener(new SelectionAdapter() {
@Override
diff --git a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/classes/AbstractNewClassPage.java b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/classes/AbstractNewClassPage.java
index af61db6b..78da3e17 100644
--- a/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/classes/AbstractNewClassPage.java
+++ b/bundles/org.eclipse.e4.tools/src/org/eclipse/e4/internal/tools/wizards/classes/AbstractNewClassPage.java
@@ -242,10 +242,8 @@ public abstract class AbstractNewClassPage extends WizardPage {
(iSecondSlash==-1)||//no package &| class name
(initialString2.indexOf('.')==-1)//no package
){
- System.err.println("unparsable");
return null;
}
- System.err.println("First: "+initialString2);;
int bi = ioBC+"bundleclass://".length()-1;
int ei = iSecondSlash;
@@ -265,7 +263,6 @@ public abstract class AbstractNewClassPage extends WizardPage {
(iSecondSlash==-1)||//no package &| class name
(initialString.indexOf('.')==-1)//no package
){
- System.err.println("unparsable");
return null;
}
int lastDot = initialString.lastIndexOf('.');

Back to the top