Author: akazakov
Date: 2009-05-22 10:39:52 -0400 (Fri, 22 May 2009)
New Revision: 15438
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/IKbProject.java
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbProject.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-2808
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/IKbProject.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/IKbProject.java 2009-05-22
14:39:24 UTC (rev 15437)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/IKbProject.java 2009-05-22
14:39:52 UTC (rev 15438)
@@ -19,10 +19,21 @@
*
*/
public interface IKbProject extends IProjectNature {
+
public static String NATURE_ID = WebKbPlugin.PLUGIN_ID + ".kbnature";
//$NON-NLS-1$
+ /**
+ * Returns all available tag libraries.
+ * @return
+ */
public ITagLibrary[] getTagLibraries();
+ /**
+ * Returns tag libraries by URI
+ * @param uri
+ * @return
+ */
+ public ITagLibrary[] getTagLibraries(String uri);
+
public void resolve();
-
-}
+}
\ No newline at end of file
Modified:
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbProject.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbProject.java 2009-05-22
14:39:24 UTC (rev 15437)
+++
trunk/jst/plugins/org.jboss.tools.jst.web.kb/src/org/jboss/tools/jst/web/kb/internal/KbProject.java 2009-05-22
14:39:52 UTC (rev 15438)
@@ -740,5 +740,13 @@
}
}
-
-}
+
+ /*
+ * (non-Javadoc)
+ * @see org.jboss.tools.jst.web.kb.IKbProject#getTagLibraries(java.lang.String)
+ */
+ public ITagLibrary[] getTagLibraries(String uri) {
+ // TODO
+ return null;
+ }
+}
\ No newline at end of file