[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-1494) TextFormating tag should have default behaviour, now it is used as copy everywhere
Maxim Areshkau (JIRA)
jira-events at lists.jboss.org
Fri Mar 28 15:08:57 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1494?page=all ]
Maxim Areshkau resolved JBIDE-1494.
-----------------------------------
Resolution: Done
Assignee: Andrei Scherbovich (was: Maxim Areshkau)
For vpe:textFormatting was added attribute use-default-formats.
So to specify using default formats, you more shouldn't copy-paste formats, just only set use-default-formats="yes".
Default formats can be configurated in file org.jboss.tools.vpe/resources/textFormatting.xml.
If some format specified in default and textFormatting tempalte definition, it will be used from template section.
> TextFormating tag should have default behaviour, now it is used as copy everywhere
> ----------------------------------------------------------------------------------
>
> Key: JBIDE-1494
> URL: http://jira.jboss.com/jira/browse/JBIDE-1494
> Project: Tools (JBoss Tools)
> Issue Type: Task
> Components: Cleanup
> Affects Versions: 2.0.0.GA
> Reporter: Denis Golovin
> Assigned To: Andrei Scherbovich
> Priority: Minor
> Fix For: 2.1
>
>
> It should be renamed to vpe:textFormatting
> Now there ar ea lot of blocks like posted below:
> <vpe:textFormating>
> <vpe:format type="BlockFormat" addChildren="deny" />
> <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>
> It should have default behavior that is defined by inserting just <vpe:textFormatting> tag inside template. If some behavior should be redefined use vpe:format tag for it.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list