[jbosstools-commits] JBoss Tools SVN: r7193 - trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Mar 28 14:32:31 EDT 2008


Author: mareshkau
Date: 2008-03-28 14:32:31 -0400 (Fri, 28 Mar 2008)
New Revision: 7193

Modified:
   trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
Log:
http://jira.jboss.org/jira/browse/JBIDE-1494

Modified: trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml	2008-03-28 18:32:30 UTC (rev 7192)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.vpe.seam/templates/vpe-templates-seam.xml	2008-03-28 18:32:31 UTC (rev 7193)
@@ -25,30 +25,9 @@
 					<vpe:container-child tag-name="outputText"/>
 				</vpe:drop>
 			</vpe:dnd>
-		    <vpe:textFormating>
+		    <vpe:textFormatting use-default-formats="yes">
 				<vpe:format type="BlockFormat" addChildren="deny" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler" />
-				<vpe:format type="UnderlineFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-				<vpe:format type="BoldFormat">
-					<vpe:formatAttribute type="style"/>
-					</vpe:format>
-				<vpe:format type="ItalicFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-				<vpe:format type="FontNameFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-				<vpe:format type="FontSizeFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-				<vpe:format type="BackgroundColorFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-				<vpe:format type="ForegroundColorFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-			</vpe:textFormating>
+			</vpe:textFormatting>
 	    </vpe:template>
 	</vpe:tag>
 
@@ -61,30 +40,9 @@
 				<vpe:drag start-enable="yes" />
 				<vpe:drop container="no"/>
 			</vpe:dnd>
-			<vpe:textFormating>
+			<vpe:textFormatting use-default-formats="yes">
 				<vpe:format type="BlockFormat" handler="org.jboss.tools.vpe.editor.toolbar.format.handler.BlockFormatHandler"/>
-				<vpe:format type="UnderlineFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-				<vpe:format type="BoldFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-				<vpe:format type="ItalicFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-				<vpe:format type="FontNameFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-				<vpe:format type="FontSizeFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-				<vpe:format type="BackgroundColorFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-				<vpe:format type="ForegroundColorFormat">
-					<vpe:formatAttribute type="style"/>
-				</vpe:format>
-			</vpe:textFormating>
+			</vpe:textFormatting>
 	    </vpe:template>
 	</vpe:tag>
 
@@ -124,29 +82,8 @@
 					<vpe:dnd>
 						<vpe:drag start-enable="yes"/>
 					</vpe:dnd>
-					<vpe:textFormating>
-						<vpe:format type="UnderlineFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="BoldFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="ItalicFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="FontNameFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="FontSizeFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="BackgroundColorFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="ForegroundColorFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-					</vpe:textFormating>
+					<vpe:textFormatting use-default-formats="yes">
+					</vpe:textFormatting>
 				</vpe:template>
 			</vpe:if>
 			<vpe:if test="(@type='button')|(@type='reset')|(@type='submit')">
@@ -159,29 +96,8 @@
 					<vpe:dnd>
 						<vpe:drag start-enable="yes"/>
 					</vpe:dnd>
-					<vpe:textFormating>
-						<vpe:format type="UnderlineFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="BoldFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="ItalicFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="FontNameFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="FontSizeFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="BackgroundColorFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-						<vpe:format type="ForegroundColorFormat">
-							<vpe:formatAttribute type="style"/>
-						</vpe:format>
-					</vpe:textFormating>
+					<vpe:textFormatting use-default-formats="yes">
+					</vpe:textFormatting>
 				</vpe:template>
 			</vpe:if>
 		</vpe:if>
@@ -192,29 +108,8 @@
 					<vpe:width width-attr="style.width" />
 					<vpe:height height-attr="style.height" />
 				</vpe:resize>
-				<vpe:textFormating>
-					<vpe:format type="UnderlineFormat">
-						<vpe:formatAttribute type="style"/>
-					</vpe:format>
-					<vpe:format type="BoldFormat">
-						<vpe:formatAttribute type="style"/>
-					</vpe:format>
-					<vpe:format type="ItalicFormat">
-						<vpe:formatAttribute type="style"/>
-					</vpe:format>
-					<vpe:format type="FontNameFormat">
-						<vpe:formatAttribute type="style"/>
-					</vpe:format>
-					<vpe:format type="FontSizeFormat">
-						<vpe:formatAttribute type="style"/>
-					</vpe:format>
-					<vpe:format type="BackgroundColorFormat">
-						<vpe:formatAttribute type="style"/>
-					</vpe:format>
-					<vpe:format type="ForegroundColorFormat">
-						<vpe:formatAttribute type="style"/>
-					</vpe:format>
-				</vpe:textFormating>
+				<vpe:textFormatting use-default-formats="yes">
+				</vpe:textFormatting>
 			</vpe:template>
 		</vpe:if>
     </vpe:tag>
@@ -244,29 +139,8 @@
 				<vpe:width width-attr="style.width" />
 				<vpe:height height-attr="style.height" />
 			</vpe:resize>
-			<vpe:textFormating>
-				<vpe:format type="UnderlineFormat">
-					<vpe:formatAttribute type="style" />
-				</vpe:format>
-				<vpe:format type="BoldFormat">
-					<vpe:formatAttribute type="style" />
-				</vpe:format>
-				<vpe:format type="ItalicFormat">
-					<vpe:formatAttribute type="style" />
-				</vpe:format>
-				<vpe:format type="FontNameFormat">
-					<vpe:formatAttribute type="style" />
-				</vpe:format>
-				<vpe:format type="FontSizeFormat">
-					<vpe:formatAttribute type="style" />
-				</vpe:format>
-				<vpe:format type="BackgroundColorFormat">
-					<vpe:formatAttribute type="style" />
-				</vpe:format>
-				<vpe:format type="ForegroundColorFormat">
-					<vpe:formatAttribute type="style" />
-				</vpe:format>
-			</vpe:textFormating>
+			<vpe:textFormatting use-default-formats="yes">
+			</vpe:textFormatting>
 		</vpe:template>
 	</vpe:tag>
 	




More information about the jbosstools-commits mailing list