Author: thorsten
Date: Wed Feb 20 05:06:49 2008
New Revision: 629445
URL: http://svn.apache.org/viewvc?rev=629445&view=rev
Log:
Introducing a new property to easily rename the extensions of a panel.
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml?rev=629445&r1=629444&r2=629445&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml
(original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/default.plugin.properties.xml
Wed Feb 20 05:06:49 2008
@@ -21,6 +21,7 @@
<property name="dispatcher.theme-ext" value=".fv"/>
<property name="dispatcher.fallback.theme-ext" value=".fv"/>
<property name="dispatcher.contract-ext" value=".ft"/>
+ <property name="dispatcher.panel-ext" value=".panel.xml"/>
<property name="dispatcher.themer" value="org.apache.forrest.themes.core"/>
<property name="dispatcher.home"
value="org.apache.forrest.plugin.internal.dispatcher"/>
<property name="dispatcher.caching" value="on" />
Modified:
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
URL:
http://svn.apache.org/viewvc/forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml?rev=629445&r1=629444&r2=629445&view=diff
==============================================================================
---
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
(original)
+++
forrest/trunk/whiteboard/plugins/org.apache.forrest.plugin.internal.dispatcher/locationmap.xml
Wed Feb 20 05:06:49 2008
@@ -239,18 +239,18 @@
<match pattern="resolve.panels.**">
<select type="exists">
<location
-
src="{properties:resources}/themes/{properties:dispatcher.theme}/panels/{1}.panel.xml"
+
src="{properties:resources}/themes/{properties:dispatcher.theme}/panels/{1}{properties:dispatcher.panel-ext}"
/>
<location
-
src="{properties:resources}/themes/{properties:dispatcher.fallback.theme}/panels/{1}.panel.xml"
+
src="{properties:resources}/themes/{properties:dispatcher.fallback.theme}/panels/{1}{properties:dispatcher.panel-ext}"
/>
<!-- plugin provided panels -->
<location src="{lm:resolvePluginPanels.{1}}" />
<location
-
src="{lm:dispatcher.themer}/themes/{properties:dispatcher.theme}/panels/{1}.panel.xml"
+
src="{lm:dispatcher.themer}/themes/{properties:dispatcher.theme}/panels/{1}{properties:dispatcher.panel-ext}"
/>
<location
-
src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}/panels/{1}.panel.xml"
+
src="{lm:dispatcher.themer}/themes/{properties:dispatcher.fallback.theme}/panels/{1}{properties:dispatcher.panel-ext}"
/>
</select>
</match>