[jbosstools-commits] JBoss Tools SVN: r6390 - in trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp: META-INF and 8 other directories.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon Feb 18 11:22:38 EST 2008


Author: svasilyev
Date: 2008-02-18 11:22:38 -0500 (Mon, 18 Feb 2008)
New Revision: 6390

Added:
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/.classpath
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/.project
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/META-INF/
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/META-INF/MANIFEST.MF
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/about.html
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/build.properties
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/plugin.properties
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/plugin.xml
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/src/
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/src/org/
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/src/org/jboss/
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/src/org/jboss/tools/
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/src/org/jboss/tools/jst/
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/src/org/jboss/tools/jst/vpe/
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/src/org/jboss/tools/jst/vpe/jsp/
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/src/org/jboss/tools/jst/vpe/jsp/JspTemplatePluign.java
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/templates/
   trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/templates/vpe-templates-jsp.xml
Log:
http://jira.jboss.org/jira/browse/JBIDE-1687

Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/.classpath
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/.classpath	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/.classpath	2008-02-18 16:22:38 UTC (rev 6390)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+	<classpathentry kind="src" path="src"/>
+	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+	<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+	<classpathentry kind="output" path="bin"/>
+</classpath>

Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/.project
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/.project	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/.project	2008-02-18 16:22:38 UTC (rev 6390)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+	<name>org.jboss.tools.jst.vpe.jsp</name>
+	<comment></comment>
+	<projects>
+	</projects>
+	<buildSpec>
+		<buildCommand>
+			<name>org.eclipse.jdt.core.javabuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.ManifestBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+		<buildCommand>
+			<name>org.eclipse.pde.SchemaBuilder</name>
+			<arguments>
+			</arguments>
+		</buildCommand>
+	</buildSpec>
+	<natures>
+		<nature>org.eclipse.pde.PluginNature</nature>
+		<nature>org.eclipse.jdt.core.javanature</nature>
+	</natures>
+</projectDescription>

Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/META-INF/MANIFEST.MF
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/META-INF/MANIFEST.MF	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/META-INF/MANIFEST.MF	2008-02-18 16:22:38 UTC (rev 6390)
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.jboss.tools.jst.vpe.jsp;singleton:=true
+Bundle-Version: 2.1.0
+Bundle-Activator: org.jboss.tools.jst.vpe.jsp.JspTemplatePluign
+Bundle-Vendor: %providerName
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.vpe,
+ org.mozilla.xpcom,
+ org.eclipse.core.resources,
+ org.jboss.tools.jst.jsp,
+ org.jboss.tools.common
+Eclipse-LazyStart: true

Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/about.html
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/about.html	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/about.html	2008-02-18 16:22:38 UTC (rev 6390)
@@ -0,0 +1,34 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
+<HTML>
+
+<head>
+<title>About</title>
+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
+</head>
+
+<BODY lang="EN-US">
+
+<H3>About This Content</H3>
+
+<P>&copy;2007 Red Hat, Inc. All rights reserved</P>
+
+<H3>License</H3>
+
+<P>Red Hat Inc., through its JBoss division, makes available all content in this plug-in 
+("Content"). Unless otherwise indicated below, the Content is provided to you 
+under the terms and conditions of the Eclipse Public License Version 1.0 
+("EPL"). A copy of the EPL is available at
+<A href="http://www.eclipse.org/org/documents/epl-v10.php">http://www.eclipse.org/org/documents/epl-v10.php</A>. 
+For purposes of the EPL, "Program" will mean the Content.</P>
+
+<P>If you did not receive this Content directly from Red Hat Inc., the 
+Content is being redistributed by another party ("Redistributor") and different 
+terms and conditions may apply to your use of any object code in the Content. 
+Check the Redistributor's license that was provided with the Content. If no such 
+license exists, contact the Redistributor. Unless otherwise indicated below, the 
+terms and conditions of the EPL still apply to any source code in the Content 
+and such source code may be obtained at
+  <A href="http://www.jboss.org/tools">http://www.jboss.org/tools</A>.</P>
+
+</BODY>
+</HTML>
\ No newline at end of file

Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/build.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/build.properties	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/build.properties	2008-02-18 16:22:38 UTC (rev 6390)
@@ -0,0 +1,7 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+               .,\
+               plugin.xml,\
+               plugin.properties,\
+               templates/

Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/plugin.properties	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/plugin.properties	2008-02-18 16:22:38 UTC (rev 6390)
@@ -0,0 +1,2 @@
+providerName = Red Hat, Inc.
+pluginName = JSP support for JBoss Visual Page Editor Plug-in
\ No newline at end of file

Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/plugin.xml	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/plugin.xml	2008-02-18 16:22:38 UTC (rev 6390)
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.3"?>
+<plugin>
+   <extension
+         point="org.jboss.tools.vpe.templates">
+      <templates
+            decsription="VPE templates for JSP support"
+            name="JSP"
+            path="templates/vpe-templates-jsp.xml">
+      </templates>
+   </extension>
+
+</plugin>

Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/src/org/jboss/tools/jst/vpe/jsp/JspTemplatePluign.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/src/org/jboss/tools/jst/vpe/jsp/JspTemplatePluign.java	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/src/org/jboss/tools/jst/vpe/jsp/JspTemplatePluign.java	2008-02-18 16:22:38 UTC (rev 6390)
@@ -0,0 +1,50 @@
+package org.jboss.tools.jst.vpe.jsp;
+
+import org.jboss.tools.common.log.BaseUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class JspTemplatePluign extends BaseUIPlugin {
+
+	// The plug-in ID
+	public static final String PLUGIN_ID = "org.jboss.tools.jst.vpe.jsp"; //$NON-NLS-1$
+
+	// The shared instance
+	private static JspTemplatePluign plugin;
+	
+	/**
+	 * The constructor
+	 */
+	public JspTemplatePluign() {
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
+	 */
+	public void start(BundleContext context) throws Exception {
+		super.start(context);
+		plugin = this;
+	}
+
+	/*
+	 * (non-Javadoc)
+	 * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
+	 */
+	public void stop(BundleContext context) throws Exception {
+		plugin = null;
+		super.stop(context);
+	}
+
+	/**
+	 * Returns the shared instance
+	 *
+	 * @return the shared instance
+	 */
+	public static JspTemplatePluign getDefault() {
+		return plugin;
+	}
+
+}

Added: trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/templates/vpe-templates-jsp.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/templates/vpe-templates-jsp.xml	                        (rev 0)
+++ trunk/jst/plugins/org.jboss.tools.jst.vpe.jsp/templates/vpe-templates-jsp.xml	2008-02-18 16:22:38 UTC (rev 6390)
@@ -0,0 +1,156 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<vpe:templates>
+
+    <vpe:tag name="jsp:declaration" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:expression" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:scriptlet" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:directive.attribute" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:directive.include" case-sensitive="yes">
+	    <vpe:template children="yes" file="{@file}" class="org.jboss.tools.vpe.editor.template.VpeIncludeTemplate">
+			<vpe:dnd>
+				<vpe:drag start-enable="yes"/>
+				<vpe:drop container="no"/>
+		   </vpe:dnd>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:include" case-sensitive="yes">
+	    <vpe:template children="yes" file="{@page}" class="org.jboss.tools.vpe.editor.template.VpeIncludeTemplate">
+			<vpe:dnd>
+				<vpe:drag start-enable="yes"/>
+				<vpe:drop container="no"/>
+		   </vpe:dnd>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:directive.page" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:directive.tag" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:directive.taglib" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:taglib/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:directive.variable" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:attribute" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:body" case-sensitive="yes">
+	    <vpe:template children="yes" modify="yes">
+			<div/>
+        	<vpe:dnd>
+				<vpe:drag start-enable="no"/>
+				<vpe:drop container="yes"/>
+			</vpe:dnd>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:element" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:doBody" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:forward" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:getProperty" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:invoke" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:output" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:plugin" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:root" case-sensitive="yes">
+	    <vpe:template children="yes" modify="no">
+			<vpe:jsproot/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:setProperty" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:text" case-sensitive="yes">
+	    <vpe:template children="yes" modify="yes">
+			<span/>
+           	 <vpe:dnd>
+				<vpe:drag start-enable="yes"/>
+				<vpe:drop container="no"/>
+			 </vpe:dnd>
+	    </vpe:template>
+    </vpe:tag>
+
+    <vpe:tag name="jsp:useBean" case-sensitive="yes">
+	    <vpe:template children="no" modify="no">
+			<vpe:any value="{name()}" title="{tagstring()}" display="none"/>
+	    </vpe:template>
+    </vpe:tag>
+</vpe:templates>




More information about the jbosstools-commits mailing list