Author: dgolovin
Date: 2008-07-15 15:07:36 -0400 (Tue, 15 Jul 2008)
New Revision: 9148
Added:
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/.classpath
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/.project
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/META-INF/
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/META-INF/MANIFEST.MF
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/build.properties
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/plugin.xml
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/docbook.xml
trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/xinclude.xml
Log:
docbook example template for VPE
initial version
Added: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/.classpath
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/.classpath (rev
0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/.classpath 2008-07-15 19:07:36 UTC (rev
9148)
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <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>
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/.classpath
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/.project
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/.project (rev
0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/.project 2008-07-15 19:07:36 UTC (rev
9148)
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>org.jboss.tools.vpe.docbook</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>
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/.project
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/META-INF/MANIFEST.MF
(rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/META-INF/MANIFEST.MF 2008-07-15 19:07:36
UTC (rev 9148)
@@ -0,0 +1,10 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Docbook Xml Visual Editor Plug-in
+Bundle-SymbolicName: org.jboss.tools.vpe.docbook;singleton:=true
+Bundle-Version: 1.0.0
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.jboss.tools.jst.jsp,
+ org.jboss.tools.vpe
+Eclipse-LazyStart: true
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/META-INF/MANIFEST.MF
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/build.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/build.properties
(rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/build.properties 2008-07-15 19:07:36 UTC
(rev 9148)
@@ -0,0 +1,5 @@
+source.. = src/
+output.. = bin/
+bin.includes = META-INF/,\
+ .,\
+ plugin.xml
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/build.properties
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/plugin.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/plugin.xml (rev
0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/plugin.xml 2008-07-15 19:07:36 UTC (rev
9148)
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.2"?>
+<plugin>
+ <extension
+ point="org.jboss.tools.vpe.templates">
+ <templates
+ name="Web Deployment Descriptor"
+ path="templates/docbook.xml"></templates>
+ <templates
+ name="XInclude"
+ path="templates/xinclude.xml">
+ </templates>
+ </extension>
+
+</plugin>
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/plugin.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/docbook.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/docbook.xml
(rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/docbook.xml 2008-07-15
19:07:36 UTC (rev 9148)
@@ -0,0 +1,129 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<vpe:templates>
+ <!--vpe:template-taglib uri="-//OASIS//DTD DocBook XML V4.3CR3//EN"/-->
+
+ <vpe:tag name="chapter" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <div />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="section" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <div />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="sect1" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <div />
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="sect2" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <div />
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="title" case-sensitive="yes">
+ <vpe:template children="no" modify="yes">
+ <h1>
+ <vpe:value expr="{tagtext()}" />
+ </h1>
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="para" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <p />
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="itemizedlist" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <ul />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="listitem" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <li />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="ulink" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <a href="{@url}" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="programlisting" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <pre />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="emphasis" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <em />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="tgroup" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <table border="1px" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="row" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <tr />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="entry" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <td />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="property" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <i />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="imagedata" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <img src="{src(@fileref)}" />
+ </vpe:template>
+ </vpe:tag>
+
+ <vpe:tag name="mediaobject" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <div />
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="imageobject" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <div />
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="figure" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <div />
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag name="orderedlist" case-sensitive="yes">
+ <vpe:template children="yes" modify="yes">
+ <ol />
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag case-sensitive="yes" name="chapterinfo">
+ <vpe:template children="yes" modify="yes">
+ <vpe:any display="none" icon="no" value="{name()}"
/>
+ </vpe:template>
+ </vpe:tag>
+ <vpe:tag case-sensitive="yes" name="note">
+ <vpe:template children="yes" modify="yes">
+ <vpe:any background-color="yellow" border="blue"
icon="no" />
+ </vpe:template>
+ </vpe:tag>
+</vpe:templates>
\ No newline at end of file
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/docbook.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain
Added: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/xinclude.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/xinclude.xml
(rev 0)
+++ trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/xinclude.xml 2008-07-15
19:07:36 UTC (rev 9148)
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<vpe:templates>
+ <vpe:template-taglib
uri="http://www.w3.org/2001/XInclude"
prefix="xi" />
+
+ <vpe:tag name="xi:include" case-sensitive="yes">
+ <vpe:template children="yes" file="{@href}"
class="org.jboss.tools.vpe.editor.template.VpeIncludeTemplate"/>
+ </vpe:tag>
+</vpe:templates>
\ No newline at end of file
Property changes on: trunk/vpe/plugins/org.jboss.tools.vpe.docbook/templates/xinclude.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain