Author: scabanovich
Date: 2008-01-31 08:13:40 -0500 (Thu, 31 Jan 2008)
New Revision: 6076
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/AddAttributeToAnyElementSupport.java
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/DefaultCreateSupport.java
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/PasteEnterNewNameSupport.java
Log:
JBIDE-1711
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/AddAttributeToAnyElementSupport.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/AddAttributeToAnyElementSupport.java 2008-01-31
12:55:03 UTC (rev 6075)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/AddAttributeToAnyElementSupport.java 2008-01-31
13:13:40 UTC (rev 6076)
@@ -44,7 +44,7 @@
}
public void action(String name) throws Exception {
- if(OK.equals(name)) {
+ if(OK.equals(name) || FINISH.equals(name)) {
finish();
setFinished(true);
} else if(CANCEL.equals(name)) {
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/DefaultCreateSupport.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/DefaultCreateSupport.java 2008-01-31
12:55:03 UTC (rev 6075)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/DefaultCreateSupport.java 2008-01-31
13:13:40 UTC (rev 6076)
@@ -40,7 +40,7 @@
}
public void action(String name) throws Exception {
- if(OK.equals(name)) {
+ if(OK.equals(name) || FINISH.equals(name)) {
finish();
setFinished(true);
} else if(CANCEL.equals(name)) {
Modified:
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/PasteEnterNewNameSupport.java
===================================================================
---
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/PasteEnterNewNameSupport.java 2008-01-31
12:55:03 UTC (rev 6075)
+++
trunk/common/plugins/org.jboss.tools.common.model/src/org/jboss/tools/common/meta/action/impl/handlers/PasteEnterNewNameSupport.java 2008-01-31
13:13:40 UTC (rev 6076)
@@ -63,7 +63,7 @@
}
public void action(String name) throws Exception {
- if(name.equals(OK)) {
+ if(OK.equals(name) || FINISH.equals(name)) {
returnCode = 0;
setFinished(true);
} else if(name.equals(CANCEL)) {
Show replies by date