[jboss-cvs] jbosside/core/plugins/org.jboss.ide.eclipse.packages.core/src/main/org/jboss/ide/eclipse/packages/core/model ...
Marshall Culpepper
mculpepper at jboss.com
Fri Feb 9 14:03:27 EST 2007
User: mculpepper
Date: 07/02/09 14:03:27
Modified: core/plugins/org.jboss.ide.eclipse.packages.core/src/main/org/jboss/ide/eclipse/packages/core/model
IPackageNode.java
Log:
added model support for package references. to create use IPackage.createReference()
Revision Changes Path
1.5 +8 -3 jbosside/core/plugins/org.jboss.ide.eclipse.packages.core/src/main/org/jboss/ide/eclipse/packages/core/model/IPackageNode.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: IPackageNode.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/core/plugins/org.jboss.ide.eclipse.packages.core/src/main/org/jboss/ide/eclipse/packages/core/model/IPackageNode.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- IPackageNode.java 20 Dec 2006 19:56:40 -0000 1.4
+++ IPackageNode.java 9 Feb 2007 19:03:27 -0000 1.5
@@ -29,7 +29,7 @@
* Each node in a package may have arbitrary properties that can be reflected upon by other plug-ins
*
* @author <a href="marshall at jboss.org">Marshall Culpepper</a>
- * @version $Revision: 1.4 $
+ * @version $Revision: 1.5 $
*/
public interface IPackageNode {
@@ -39,14 +39,19 @@
public static final int TYPE_PACKAGE = 0;
/**
+ * The node type that represents an IPackageReference
+ */
+ public static final int TYPE_PACKAGE_REFERENCE = 1;
+
+ /**
* The node type that represents an IPackageFileSet
*/
- public static final int TYPE_PACKAGE_FILESET = 1;
+ public static final int TYPE_PACKAGE_FILESET = 2;
/**
* The node type that represents an IPackageFolder
*/
- public static final int TYPE_PACKAGE_FOLDER = 2;
+ public static final int TYPE_PACKAGE_FOLDER = 3;
/**
* @return The parent of this package node, or null if this node is top level
More information about the jboss-cvs-commits
mailing list