[jbosstools-commits] JBoss Tools SVN: r17736 - trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Sep 25 09:00:09 EDT 2009


Author: scabanovich
Date: 2009-09-25 09:00:09 -0400 (Fri, 25 Sep 2009)
New Revision: 17736

Added:
   trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibListener.java
   trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibManager.java
   trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibManagerProvider.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-4913


Added: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibListener.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibListener.java	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibListener.java	2009-09-25 13:00:09 UTC (rev 17736)
@@ -0,0 +1,17 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/ 
+package org.jboss.tools.jst.web.tld;
+
+public interface VpeTaglibListener {
+	void taglibPrefixChanged(String[] prefixs);
+	void addTaglib(String uri, String prefix);
+	void removeTaglib(String uri, String prefix);
+}
\ No newline at end of file

Added: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibManager.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibManager.java	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibManager.java	2009-09-25 13:00:09 UTC (rev 17736)
@@ -0,0 +1,45 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/ 
+package org.jboss.tools.jst.web.tld;
+
+import java.util.List;
+import org.w3c.dom.Node;
+
+
+/**
+ * @author Igels
+ */
+public interface VpeTaglibManager {
+
+	/**
+	 * Add Taglib Listener to manager
+	 * @param listener
+	 */
+	public void addTaglibListener(VpeTaglibListener listener);
+
+	/**
+	 * Remove Taglib Listener from manager
+	 * @param listener
+	 */
+	public void removeTaglibListener(VpeTaglibListener listener);
+
+	/**
+	 * Return List of TaglibData(s) where keys are prefixes of TLD.
+	 * @return
+	 */
+	public List<TaglibData> getTagLibs();
+	
+	/**
+	 * Sets node in scope of which we should show content assistent
+	 * @param node
+	 */
+	public void setReferenceNode(Node node);
+}
\ No newline at end of file

Added: trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibManagerProvider.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibManagerProvider.java	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.web/src/org/jboss/tools/jst/web/tld/VpeTaglibManagerProvider.java	2009-09-25 13:00:09 UTC (rev 17736)
@@ -0,0 +1,24 @@
+/*******************************************************************************
+ * Copyright (c) 2007 Exadel, Inc. and Red Hat, Inc.
+ * Distributed under license by Red Hat, Inc. All rights reserved.
+ * This program is made available under the terms of the
+ * Eclipse Public License v1.0 which accompanies this distribution,
+ * and is available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ *     Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ ******************************************************************************/ 
+package org.jboss.tools.jst.web.tld;
+
+
+/**
+ * @author Igels
+ */
+public interface VpeTaglibManagerProvider {
+
+	/**
+	 * Returns Taglib manager.
+	 * @return Taglib manager.
+	 */
+	public VpeTaglibManager getTaglibManager();
+}
\ No newline at end of file



More information about the jbosstools-commits mailing list