JBoss Tools SVN: r9298 - tags.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-07-24 16:08:54 -0400 (Thu, 24 Jul 2008)
New Revision: 9298
Added:
tags/3.0.0.Alpha1/
Log:
tagging
16 years, 5 months
JBoss Tools SVN: r9297 - trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation.
by jbosstools-commits@lists.jboss.org
Author: dgolovin
Date: 2008-07-24 16:00:58 -0400 (Thu, 24 Jul 2008)
New Revision: 9297
Modified:
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/ImportStrutsWarOperation.java
trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/StrutsProjectAdoptOperation.java
Log:
Fix compilation errors
Modified: trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/ImportStrutsWarOperation.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/ImportStrutsWarOperation.java 2008-07-24 19:31:52 UTC (rev 9296)
+++ trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/ImportStrutsWarOperation.java 2008-07-24 20:00:58 UTC (rev 9297)
@@ -14,6 +14,7 @@
import org.eclipse.core.commands.operations.AbstractOperation;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.*;
+import org.jboss.tools.common.model.XModelException;
import org.jboss.tools.common.util.FileUtil;
import org.jboss.tools.jst.web.context.*;
import org.jboss.tools.struts.ui.StrutsUIPlugin;
@@ -35,7 +36,7 @@
super.createWebNature();
}
- protected void execute() throws Exception {
+ protected void execute() throws XModelException {
((ImportWebWarContext)context).prepareModules();
super.execute();
}
Modified: trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/StrutsProjectAdoptOperation.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/StrutsProjectAdoptOperation.java 2008-07-24 19:31:52 UTC (rev 9296)
+++ trunk/struts/plugins/org.jboss.tools.struts.ui/src/org/jboss/tools/struts/ui/operation/StrutsProjectAdoptOperation.java 2008-07-24 20:00:58 UTC (rev 9297)
@@ -11,6 +11,8 @@
package org.jboss.tools.struts.ui.operation;
import java.io.File;
+
+import org.jboss.tools.common.model.XModelException;
import org.jboss.tools.common.util.FileUtil;
import org.jboss.tools.struts.StrutsProjectUtil;
import org.jboss.tools.struts.StrutsUtils;
@@ -25,7 +27,7 @@
super(context);
}
- protected void execute() throws Exception {
+ protected void execute() throws XModelException {
AdoptProjectFinisher finisher = new AdoptProjectFinisher();
finisher.setContext(model, context);
finisher.execute();
16 years, 5 months
JBoss Tools SVN: r9296 - trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/ecore/pages/impl.
by jbosstools-commits@lists.jboss.org
Author: akazakov
Date: 2008-07-24 15:31:52 -0400 (Thu, 24 Jul 2008)
New Revision: 9296
Modified:
trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/ecore/pages/impl/PagesModelImpl.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2566 A temporary solution.
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/ecore/pages/impl/PagesModelImpl.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/ecore/pages/impl/PagesModelImpl.java 2008-07-24 19:16:56 UTC (rev 9295)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui.pages/src/org/jboss/tools/seam/ui/pages/editor/ecore/pages/impl/PagesModelImpl.java 2008-07-24 19:31:52 UTC (rev 9296)
@@ -292,6 +292,12 @@
if(getData() == null) return;
XModelObject diagramXML = (XModelObject)getData();
String newPath = event.getModelObject().getPath();
+ if(diagramXML.getPath() == null) {
+ //FIXME Should not be, this a problem. Listener should be removed earlier
+ diagramXML.getModel().removeModelTreeListener(this);
+
+ return;
+ }
if(!newPath.startsWith(diagramXML.getPath())) {
return;
}
@@ -329,7 +335,14 @@
if(getData() == null) return;
XModelObject diagramXML = (XModelObject)getData();
XModelObject target = event.getModelObject();
+ if(diagramXML.getPath() == null) {
+ //FIXME Should not be, this a problem. Listener should be removed earlier
+ diagramXML.getModel().removeModelTreeListener(this);
+ return;
+ }
if(!target.getPath().startsWith(diagramXML.getPath())) {
+ //FIXME Should not be, this a problem. Listener should be removed earlier
+ diagramXML.getModel().removeModelTreeListener(this);
return;
}
if(event.kind() == XModelTreeEvent.CHILD_ADDED) {
16 years, 5 months
JBoss Tools SVN: r9295 - tags/-jbosstools-3.0.0.Alpah1.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-07-24 15:16:56 -0400 (Thu, 24 Jul 2008)
New Revision: 9295
Added:
tags/-jbosstools-3.0.0.Alpah1/birt/
Log:
tagging
Copied: tags/-jbosstools-3.0.0.Alpah1/birt (from rev 9294, trunk/birt)
16 years, 5 months
JBoss Tools SVN: r9294 - tags/-jbosstools-3.0.0.Alpah1.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-07-24 15:16:53 -0400 (Thu, 24 Jul 2008)
New Revision: 9294
Added:
tags/-jbosstools-3.0.0.Alpah1/ws/
Log:
tagging
Copied: tags/-jbosstools-3.0.0.Alpah1/ws (from rev 9293, trunk/ws)
16 years, 5 months
JBoss Tools SVN: r9293 - tags/-jbosstools-3.0.0.Alpah1.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-07-24 15:16:51 -0400 (Thu, 24 Jul 2008)
New Revision: 9293
Added:
tags/-jbosstools-3.0.0.Alpah1/vpe/
Log:
tagging
Copied: tags/-jbosstools-3.0.0.Alpah1/vpe (from rev 9292, trunk/vpe)
16 years, 5 months
JBoss Tools SVN: r9292 - tags/-jbosstools-3.0.0.Alpah1.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-07-24 15:16:49 -0400 (Thu, 24 Jul 2008)
New Revision: 9292
Added:
tags/-jbosstools-3.0.0.Alpah1/tests/
Log:
tagging
Copied: tags/-jbosstools-3.0.0.Alpah1/tests (from rev 9291, trunk/tests)
16 years, 5 months
JBoss Tools SVN: r9291 - tags/-jbosstools-3.0.0.Alpah1.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-07-24 15:16:46 -0400 (Thu, 24 Jul 2008)
New Revision: 9291
Added:
tags/-jbosstools-3.0.0.Alpah1/struts/
Log:
tagging
Copied: tags/-jbosstools-3.0.0.Alpah1/struts (from rev 9290, trunk/struts)
16 years, 5 months
JBoss Tools SVN: r9290 - tags/-jbosstools-3.0.0.Alpah1.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-07-24 15:16:44 -0400 (Thu, 24 Jul 2008)
New Revision: 9290
Added:
tags/-jbosstools-3.0.0.Alpah1/seam/
Log:
tagging
Copied: tags/-jbosstools-3.0.0.Alpah1/seam (from rev 9289, trunk/seam)
16 years, 5 months
JBoss Tools SVN: r9289 - tags/-jbosstools-3.0.0.Alpah1.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2008-07-24 15:16:42 -0400 (Thu, 24 Jul 2008)
New Revision: 9289
Added:
tags/-jbosstools-3.0.0.Alpah1/jst/
Log:
tagging
Copied: tags/-jbosstools-3.0.0.Alpah1/jst (from rev 9288, trunk/jst)
16 years, 5 months