[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
Wed Dec 6 15:17:55 EST 2006
User: mculpepper
Date: 06/12/06 15:17:55
Modified: core/plugins/org.jboss.ide.eclipse.packages.core/src/main/org/jboss/ide/eclipse/packages/core/model
IPackage.java
Log:
added getPackageFilePath() to appease rawb
Revision Changes Path
1.4 +7 -1 jbosside/core/plugins/org.jboss.ide.eclipse.packages.core/src/main/org/jboss/ide/eclipse/packages/core/model/IPackage.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: IPackage.java
===================================================================
RCS file: /cvsroot/jboss/jbosside/core/plugins/org.jboss.ide.eclipse.packages.core/src/main/org/jboss/ide/eclipse/packages/core/model/IPackage.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- IPackage.java 20 Nov 2006 21:06:04 -0000 1.3
+++ IPackage.java 6 Dec 2006 20:17:55 -0000 1.4
@@ -35,7 +35,7 @@
* </p>
*
* @author <a href="marshall at jboss.org">Marshall Culpepper</a>
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public interface IPackage extends IPackageNode {
@@ -128,6 +128,12 @@
public IFile getPackageFile();
/**
+ * Get the absolute path on the file system that corresponds with this package. Note that this method only works for external (filesystem) packages (null will be returned otherwise)
+ * @return The absolute path to the package (note the file may not exist)
+ */
+ public IPath getPackageFilePath();
+
+ /**
* If this package is not top-level, this will return a relative path to this package from within it's parent, i.e.
* my.ear/web/my.war/WEB-INF/lib. Otherwise, this will return null
* @return a relative IPath to this package's top level parent
More information about the jboss-cvs-commits
mailing list