[jboss-cvs] jbosside/core/plugins/org.jboss.ide.eclipse.packages.core/src/main/org/jboss/ide/eclipse/packages/core/model/internal/xb ...
Marshall Culpepper
mculpepper at jboss.com
Wed Dec 20 14:56:40 EST 2006
User: mculpepper
Date: 06/12/20 14:56:40
Modified: core/plugins/org.jboss.ide.eclipse.packages.core/src/main/org/jboss/ide/eclipse/packages/core/model/internal/xb
XbPackageNode.java
Log:
got rid of the working copies idea, and eliminated the model bridge as it was making things too complicated. package nodes now keep references to their parents and children, (just like delegates). there shouldn't be any need for synch as addChild/removeChild take care of all the details there. the way to create a package node that isn't attached to the model yet is:
pkg = PackagesCore.createDetachedPackage(project, true);
pkg.setXXX..
PackagesCore.attach(pkg, monitor);
Revision Changes Path
1.3 +1 -1 jbosside/core/plugins/org.jboss.ide.eclipse.packages.core/src/main/org/jboss/ide/eclipse/packages/core/model/internal/xb/XbPackageNode.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: XbPackageNode.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/core/plugins/org.jboss.ide.eclipse.packages.core/src/main/org/jboss/ide/eclipse/packages/core/model/internal/xb/XbPackageNode.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- XbPackageNode.java 8 Nov 2006 19:54:41 -0000 1.2
+++ XbPackageNode.java 20 Dec 2006 19:56:40 -0000 1.3
@@ -91,7 +91,7 @@
return parent;
}
- protected void setParent (XbPackageNode parent)
+ public void setParent (XbPackageNode parent)
{
this.parent = parent;
}
More information about the jboss-cvs-commits
mailing list