JBoss Tools SVN: r13038 - trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms.
by jbosstools-commits@lists.jboss.org
Author: dazarov
Date: 2009-01-14 09:54:36 -0500 (Wed, 14 Jan 2009)
New Revision: 13038
Modified:
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/ExpandableForm.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3516
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/ExpandableForm.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/ExpandableForm.java 2009-01-14 13:17:11 UTC (rev 13037)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/forms/ExpandableForm.java 2009-01-14 14:54:36 UTC (rev 13038)
@@ -11,7 +11,12 @@
package org.jboss.tools.common.model.ui.forms;
+import java.util.HashMap;
+
import org.eclipse.swt.SWT;
+import org.eclipse.swt.graphics.Device;
+import org.eclipse.swt.graphics.Font;
+import org.eclipse.swt.graphics.FontData;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.Composite;
@@ -113,8 +118,22 @@
// section.setClient(composite);
section.setClient(client);
+ section.setFont(getFontFromMap(section.getFont().getDevice(), section.getFont().getFontData()));
+
return control;
}
+
+ private HashMap<FontData[], Font> fonts = new HashMap<FontData[], Font>();
+
+ private Font getFontFromMap(Device device, FontData[] fontData){
+ if(fonts.containsKey(fontData))
+ return fonts.get(fontData);
+ else{
+ Font font = new Font(device, fontData);
+ fonts.put(fontData, font);
+ return font;
+ }
+ }
protected void reflow() {
if (control==null) return;
16 years
JBoss Tools SVN: r13037 - trunk/smooks/docs/reference/en/modules.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-01-14 08:17:11 -0500 (Wed, 14 Jan 2009)
New Revision: 13037
Modified:
trunk/smooks/docs/reference/en/modules/introduction.xml
trunk/smooks/docs/reference/en/modules/quick_start.xml
trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml
trunk/smooks/docs/reference/en/modules/smooksformeditor_graphicalpage.xml
trunk/smooks/docs/reference/en/modules/smooksformeditor_sourcepage.xml
Log:
https://jira.jboss.org/jira/browse/JBIDE-3296 - updating the chapters of the Smooks Tools guide;
Modified: trunk/smooks/docs/reference/en/modules/introduction.xml
===================================================================
--- trunk/smooks/docs/reference/en/modules/introduction.xml 2009-01-14 12:36:37 UTC (rev 13036)
+++ trunk/smooks/docs/reference/en/modules/introduction.xml 2009-01-14 13:17:11 UTC (rev 13037)
@@ -9,31 +9,40 @@
</keywordset>
</chapterinfo>
<title>Introduction</title>
- <sect1>
+ <section>
<title>What is Smooks?</title>
- <para>Smooks is a Java Framework/Engine for processing XML and non XML data (CSV, EDI, Java, JSON etc).</para>
- <para></para>
+
+ <para><property>Smooks</property> is a Java Framework/Engine for processing XML and non XML
+ data (CSV, EDI, Java, JSON etc).</para>
+ <para/>
<para>
- <orderedlist numeration="Upperroman" inheritnum="inherit">
- <listitem><para>Transformation: Perform a wide range of Data Transforms. Supports many different Source and Result types -XML/CSV/EDI/Java/JSON to XML/CSV/EDI/Java/JSON.</para>
+ <orderedlist numeration="upperroman" inheritnum="inherit">
+ <listitem>
+ <para><emphasis role="bold">Transformation</emphasis>: Perform a wide range of
+ Data Transforms. Supports many different Source and Result types
+ -XML/CSV/EDI/Java/JSON to XML/CSV/EDI/Java/JSON.</para>
</listitem>
<listitem>
- <para>Java Binding: Bind into a Java Object Model from any data source (CSV, EDI, XML, Java, JSON etc). </para>
+ <para><emphasis role="bold">Java Binding</emphasis>: Bind into a Java Object
+ Model from any data source (CSV, EDI, XML, Java, JSON etc). </para>
</listitem>
-
+
<listitem>
- <para>Huge Message Processing: Process huge messages (GBs) - Split, Transform and Route message fragments to JMS, File, Database etc destinations. Route multiple message formats to multiple destinations in a single pass over a message.
- </para>
+ <para><emphasis role="bold">Huge Message Processing</emphasis>: Process huge
+ messages (GBs) - Split, Transform and Route message fragments to JMS, File,
+ Database etc destinations. Route multiple message formats to multiple
+ destinations in a single pass over a message. </para>
</listitem>
-
+
<listitem>
- <para>Message Enrichment: Enrich a message with data from a Database, or other Datasources.
- </para>
+ <para><emphasis role="bold">Message Enrichment</emphasis>: Enrich a message with
+ data from a Database, or other Datasources. </para>
</listitem>
-
+
<listitem>
- <para>Combine: Combine the above features in different ways e.g. add Message Enrichment as part of a Splitting and Routing process.
- </para>
+ <para><emphasis role="bold">Combine</emphasis>: Combine the above features in
+ different ways e.g. add Message Enrichment as part of a Splitting and
+ Routing process. </para>
</listitem>
</orderedlist>
</para>
@@ -41,38 +50,37 @@
<title>Smooks</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/smooks-usecase.png"
- scale="90" />
+ <imagedata fileref="images/introduction/introduction1.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para> For More informations about Smooks, please visit Smooks official site:
- <ulink url="http://www.smooks.org">Smooks official site</ulink>
- </para>
- </sect1>
- <sect1>
+ <para> For More informations about <property>Smooks</property>, please visit <ulink
+ url="http://www.smooks.org">Smooks official site</ulink>.</para>
+ </section>
+ <section>
<title>What is Smooks dev tools?</title>
- <para>Smooks dev tools is a set of graphical tools for editing Smooks configuration file base on Eclipse.</para>
+
+ <para>Smooks dev tools is a set of graphical tools for editing Smooks configuration file
+ base on Eclipse.</para>
<figure>
<title>Smooks form editor</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/form_editor.png" scale="90" />
+ <imagedata fileref="images/introduction/introduction2.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- </sect1>
- <sect1>
+ </section>
+ <section>
<title>How to install Smooks dev tools?</title>
- <para> The Smooks dev tools was included by the JBossTools since 3.0.0 beta1 version. You can download the JBossTools from:
- <link>http://www.jboss.org/tools/download/index.html
- </link>
- .
- </para>
- <para> Smooks dev tools (JBossTools) run with the latest Eclipse and other required plug-ins (GEF, EMF, etc.).</para>
- <para> You should download the latest IDE for Java EE developers from this
- <link linkend="http://www.eclipse.org/downloads/">site
- </link>. It contains many plug-ins ( GEF, EMF, etc. ) required by Smooks dev tools.
- </para>
- </sect1>
+
+ <para> The Smooks dev tools was included by the <property>JBoss Tools</property> since 3.0.0
+ Beta1 version. You can download the <property>JBoss Tools</property> from <ulink
+ url="http://www.jboss.org/tools/download/index.html">here</ulink>.</para>
+ <para> Smooks dev tools (<property>JBoss Tools</property>) run with the latest Eclipse and
+ other required plug-ins (GEF, EMF, etc.).</para>
+ <para> You should download the latest IDE for Java EE developers from this <ulink
+ url="http://www.eclipse.org/downloads/">site</ulink>. It contains many plug-ins (
+ GEF, EMF, etc. ) required by Smooks dev tools. </para>
+ </section>
</chapter>
Modified: trunk/smooks/docs/reference/en/modules/quick_start.xml
===================================================================
--- trunk/smooks/docs/reference/en/modules/quick_start.xml 2009-01-14 12:36:37 UTC (rev 13036)
+++ trunk/smooks/docs/reference/en/modules/quick_start.xml 2009-01-14 13:17:11 UTC (rev 13037)
@@ -10,293 +10,417 @@
</keywordset>
</chapterinfo>
<title>Quick Start</title>
- <para>
- This "Quick Start" will show how to use the Smooks tools to create/edit the Smooks configuration file for Java2Java data transformation.</para>
- <para>
- This chapter should give you a brief understanding of the Smooks dev tools.
- </para>
+ <para> This "Quick Start" will show how to use the <property>Smooks tools</property> to create/edit the Smooks
+ configuration file for Java2Java data transformation.</para>
+ <para> This chapter should give you a brief understanding of the <property>Smooks dev tools</property>.</para>
<section>
- <title>Download Smooks Java-to-Java example</title>
- <para> Visit
- <ulink url="http://www.smooks.org/documentation/documentation-smooks-1-1-x/examples/e...">here</ulink> to download the "java-to-java" example project.
- </para>
+ <title>Download Smooks Java-to-Java Example</title>
+ <para> Visit <ulink
+ url="http://www.smooks.org/documentation/documentation-smooks-1-1-x/examples/e..."
+ >here</ulink> to download the "java-to-java" example project. </para>
<tip>
<title>Tip:</title>
- <para>
- The example project is base on Maven, you suggest you to create a new eclipse Java project and copy the example code and .jar files from the example project paste them into the eclipse Java project.
- </para>
+
+ <para> The example project is base on Maven, you suggest you to create a new eclipse
+ Java project and copy the example code and .jar files from the example project paste
+ them into the eclipse Java project. </para>
</tip>
</section>
<section>
- <title>Smooks configuration file wizard</title>
- <para>Select the Smooks Java-to-Java example project what you created and right-click, select the menu: "New" ->
- "Other...", find the
- "Smooks Configuration File" wizard. Click
- "Next" button.
- </para>
+ <title>Smooks Configuration File Wizard</title>
+ <para>Select the Smooks Java-to-Java example project what you created and right-click,
+ select the menu <emphasis><property>New > Other</property>,</emphasis> then find
+ <emphasis><property>Smooks > Smooks Configuration File</property>.</emphasis>
+ Click the <emphasis>
+ <property>Next</property>
+ </emphasis> button. </para>
<figure>
- <title>To select Smooks Configuration File wizard</title>
+ <title>Selecting Smooks Configuration File Wizard</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/new_wizard.png" scale="90" />
+ <imagedata fileref="images/quick_start/quick_start1.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para>The first wizard page is a file path creation page. Select the
- "src" to be the files container, and input
- "smooks-newconfig.smooks". Click "Next".</para>
+ <para>The first wizard page is a file path creation page. Select the <emphasis>
+ <property>src</property>
+ </emphasis> folder to be the files container, and input the name
+ <emphasis><property>newConfig.smooks</property>.</emphasis> Click
+ <emphasis><property>Next</property>.</emphasis></para>
<figure>
- <title>Choose the configuration file container and type the
- file name</title>
+ <title>Choosing the configuration file container and the file name</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/input_file_name.png"
- scale="90" />
+ <imagedata fileref="images/quick_start/quick_start2.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
<para>The second wizard page is a transform data type choose page.</para>
- <tip>
- <title>Note</title>
- <para>
- As the quick start introduces how to create/edit the
- Java-to-Java Smooks configuration file, it's necessary that "Java" type
- is the source/target transform data type please.
- </para>
- </tip>
+ <para> As the quick start introduces how to create/edit the Java-to-Java Smooks
+ configuration file, let's select the<emphasis>
+ <property>Java-to-Java</property>
+ </emphasis> type as the source/target transform data type. </para>
+
<figure>
- <title>Select Data Type</title>
+ <title>Selecting Data Type</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/data_type_selection.png"
- scale="90" />
+ <imagedata fileref="images/quick_start/quick_start3.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
+
+ <para>On the next page you are prompted to choose the source data for transformation.
+ Let's select the <property>Order</property> class from the example project as
+ the source JavaBean class.</para>
+
+ <figure>
+ <title>Selecting the Source Data</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/quick_start/quick_start4.png" scale="90"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>Then the wizard page asks you to choose the target data for transformation. We select
+ the <property>ListOrder</property> class as the target JavaBean class.</para>
+ <figure>
+ <title>Selecting the Target Data</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/quick_start/quick_start5.png" scale="90"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para/>
+
+ <tip>
+ <title>Tip:</title>
+ <para>You can omit two these steps and just press
+ <emphasis><property>Finish</property>.</emphasis> This will open the empty
+ Smooks Configuration file. It's possible to <link
+ linkend="graphicaleditor_datalink">select source/target data</link> afterwards
+ in the Smooks Graph editor.</para>
+ </tip>
</section>
<section id="quickstart_formeditor">
- <title>Smooks form Editor</title>
- <para>When all the wizard steps are passed, a new Smooks configuration file is created and the Smooks editor will be opened automatically.
- </para>
- <para> You will see the
- "Smooks Form Editor":
- </para>
+ <title>Smooks Editor</title>
+
+ <para>When all the wizard steps are passed, a new Smooks Configuration file is created and
+ the <property>Smooks Editor</property> will be opened automatically:</para>
<figure>
- <title>Smooks form editor</title>
+ <title>Smooks Editor</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/form_editor.png" scale="90" />
+ <imagedata fileref="images/quick_start/quick_start6.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
-
- <para> This editor contains several parts:
- <orderedlist numeration="loweralpha" inheritnum="inherit">
- <listitem>
- <para>Notify message display area. If there are any errors when you are editing the file,
- the error area will display them.</para>
- </listitem>
- <listitem>
- <para>Source data tree. The tree will display the structure of transformed source data.</para>
- </listitem>
-
- <listitem>
- <para>Target data tree. The tree will display the structure of transformed target data.</para>
- </listitem>
-
- <listitem>
- <para>Mapping graphical area. Show the data mapping connection lines.</para>
- </listitem>
-
- <listitem>
- <para>Source/Target data selection links. Click the link,
- and <link linkend="graphicaleditor_datalink">"Data
- Selection
- Wizard"</link> will be opened
- helping you to choose the source/target
- data.</para>
- </listitem>
- </orderedlist>
+
+ <para> This editor contains several parts: <table>
+ <title>The Smooks Editor Parts</title>
+ <tgroup cols="2">
+
+ <colspec colnum="1" align="left" colwidth="1*"/>
+ <colspec colnum="2" colwidth="5*"/>
+
+ <thead>
+ <row>
+ <entry>Editor feature</entry>
+ <entry>Functionality</entry>
+ </row>
+ </thead>
+
+ <tbody>
+
+ <row>
+ <entry>
+ <para>Problems area</para>
+ </entry>
+ <entry>
+ <para>If there are any errors when you are editing the file, the
+ Problems area will display them</para>
+ </entry>
+ </row>
+
+ <row>
+ <entry>
+ <para>Source data tree</para>
+ </entry>
+ <entry>
+ <para>The tree will display the structure of transformed source
+ data</para>
+ </entry>
+ </row>
+
+ <row>
+ <entry>
+ <para>Target data tree</para>
+ </entry>
+ <entry>
+ <para>The tree will display the structure of transformed target
+ data</para>
+ </entry>
+ </row>
+
+ <row>
+ <entry>
+ <para>Mapping graphical area</para>
+ </entry>
+ <entry>
+ <para>Show the data mapping connection lines</para>
+ </entry>
+ </row>
+
+ <row>
+ <entry>
+ <para>Source/Target data selection links</para>
+ </entry>
+ <entry>
+ <para>Click the link, and <link linkend="graphicaleditor_datalink"
+ >Data Selection wizard</link> will be opened helping you to
+ choose the source/target data</para>
+ </entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
</para>
</section>
+
<section id="graphicaleditor_datalink">
- <title>Choosing the source/target data
- </title>
- <para>Click the data selection links to choose the transform data. The "Data Selection Wizard" is opened, and there are two data types on the list: XML and Java.
- </para>
- <tip>
+ <title>Choosing the Source/Target Data</title>
+
+ <para>To choose the transform data you should make use of the data selection links:</para>
+
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>
+ <property>Source Select</property>
+ </emphasis> for selecting source data</para>
+ </listitem>
+
+ <listitem>
+ <para><emphasis>
+ <property>Target Select</property>
+ </emphasis> for selecting target data</para>
+ </listitem>
+ </itemizedlist>
+
+ <para>After clicking the link the <property>Data Type Selection wizard</property> will be
+ opened, and there are two data types on the list: Java and XML.</para>
+ <note>
<title>Note</title>
- <para>
- There will be more and more data types on a list as the
- development went on.
+ <para> There will be more and more data types on the list as the development went on.
</para>
- </tip>
+ </note>
+
<figure>
- <title>Data type wizard</title>
+ <title>Data Type Wizard</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/data_type_wizard.png"
- scale="90" />
+ <imagedata fileref="images/quick_start/quick_start7.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para>Select the "JavaBean Data Type" and click "Next", you will see a java class selection page:
- </para>
+
+ <para>Select the <emphasis>
+ <property>Java</property>
+ </emphasis> data type and click <emphasis><property>Next</property>,</emphasis> you will
+ see the JavaBean class selection page:</para>
+
<figure>
- <title>JavaBean Data Selection Wizard</title>
+ <title>JavaBean Data Selection</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/java2java/java_data_selection_wizard.png"
- scale="90" />
+ <imagedata fileref="images/quick_start/quick_start8.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para>When you select all the necessary java classes, click "Finish" and the structure of the java class will be displayed on the Source data tree. Please, do the same with a target data link.
- </para>
+
+ <para>When you select all the necessary java classes, click <emphasis>
+ <property>Finish</property>
+ </emphasis> and the structure of the java class will be displayed on the source/target
+ data tree.</para>
<figure>
- <title>Displaying Structure of the Transformed Data</title>
+ <title>Displaying the Structure of the Transformed Data</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/java2java/java_data_display.png"
- scale="90" />
+ <imagedata fileref="images/quick_start/quick_start9.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
</section>
+
<section id="quickstart_mapping">
<title>Mapping</title>
- <para> As you see, the source/target data tree displays the structure of the java class. </para>
+
+ <para> As you see, the source/target data tree displays the structure of the java class. </para>
<para>How to map it?</para>
- <para> First, you should know what to transform:
- <orderedlist numeration="loweralpha" inheritnum="inherit">
- <listitem><para>Bind the "customerName" property of the
- Order#header to
- the
- "customerName" property of LineOrder.</para>
- </listitem>
- <listitem><para>Bind the
- "customerNumber" property of the Order#header to
- the
- "customerId"
- property of LineOrder.</para>
- </listitem>
- <listitem><para>Bind the "price" property of the OrderItem
- to
- the
- "unitPrice" property of
- LineItem.</para>
- </listitem>
- <listitem><para>Bind the "productId"
- property
- of the OrderItem to the
- "productCode"
- property of LineItem.</para>
- </listitem>
- <listitem><para>Bind the
- "quantity" property of the OrderItem to the
- "unitQuantity"
- property of
- LineItem.</para>
- </listitem>
- </orderedlist>
- </para>
- <para> Make sense?</para>
- <para> OK, let's select the "customerName" item of the
- "header" item on the source data tree and start to drag it. When the drag item crosses the Mapping graphical area, you will see a connection line. Drop the item onto the "customerName" of the
- "LineOrder" on the target data view.</para>
- <para> Now a dialog is oped asking you to connect the root node:
- </para>
+
+ <para>First, you should know what to transform:</para>
+
+ <orderedlist numeration="loweralpha" inheritnum="inherit">
+ <listitem>
+ <para>Bind the <emphasis>
+ <property>"customerName"</property>
+ </emphasis> property of the <property>Order#header</property> to the <emphasis>
+ <property>"customerName"</property>
+ </emphasis> property of <property>LineOrder</property>.</para>
+ </listitem>
+ <listitem>
+ <para>Bind the <emphasis>
+ <property>"customerNumber"</property>
+ </emphasis> property of the <property>Order#header</property> to the <emphasis>
+ <property>"customerId"</property>
+ </emphasis> property of <property>LineOrder</property>.</para>
+ </listitem>
+ <listitem>
+ <para>Bind the <emphasis>
+ <property>"price"</property>
+ </emphasis> property of the <property>OrderItem</property> to the <emphasis>
+ <property>"unitPrice"</property>
+ </emphasis> property of <property>LineItem</property>.</para>
+ </listitem>
+ <listitem>
+ <para>Bind the <emphasis>
+ <property>"productId"</property>
+ </emphasis> property of the <property>OrderItem</property> to the <emphasis>
+ <property>"productCode"</property>
+ </emphasis> property of <property>LineItem</property>.</para>
+ </listitem>
+ <listitem>
+ <para>Bind the <emphasis>
+ <property>"quantity"</property>
+ </emphasis> property of the <property>OrderItem</property> to the <emphasis>
+ <property>"unitQuantity"</property>
+ </emphasis> property of <property>LineItem</property>.</para>
+ </listitem>
+ </orderedlist>
+
+ <para> Make sense?</para>
+ <para> OK, let's select the <emphasis>
+ <property>"customerName"</property>
+ </emphasis> item of the <emphasis>
+ <property>"header"</property>
+ </emphasis> item on the source data tree and start to drag it. When the drag item
+ crosses the Mapping graphical area, you will see a connection line. Drop the item onto
+ the <emphasis>
+ <property>"customerName"</property>
+ </emphasis> of the <property>LineOrder</property> on the target data
+ view.</para>
+ <para> Now a dialog is opened asking you to connect the root node:</para>
+
<figure>
<title>Dialog Asking You to Connect to the Root Nodes</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/java2java/connect_rootnode.png"
- scale="90" />
+ <imagedata fileref="images/quick_start/quick_start10.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para> Please, click "Yes" to connect the root node, if you didn't do that, this dialog will be opened again when you connect other nodes.
- </para>
- <tip>
- <title>Note</title>
- <para>Please,
- remember that:
- The root nodes of the source data
- and target data
- *MUST*
- be connected.</para>
- <para>This rule is not only for Java-to-Java, but the same is also relevant for XML-to-Java </para>
- </tip>
- <para> Now let's do the same operation with the "customerNumber", that is what you want to see:
-
- </para>
+ <para> Please, click <emphasis>
+ <property>Yes</property>
+ </emphasis> to connect the root node. If you don't do that, this dialog will be
+ opened again when you connect other nodes.</para>
+ <note>
+ <title>Note:</title>
+ <para>Please, remember that: The root nodes of the source data and target data *MUST* be
+ connected.</para>
+ <para>This rule is not only for Java-to-Java, but the same is also relevant for
+ XML-to-Java </para>
+ </note>
+ <para> Now let's do the same operation with the <emphasis>
+ <property>"customerNumber"</property>,</emphasis> that is what you
+ should see:</para>
<figure>
<title>Correctly Mapping Editor</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/java2java/java_connection1.png"
- scale="90" />
+ <imagedata fileref="images/quick_start/quick_start11.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para>Next, you are going to bind the properties of the
- "OrderItem" to the properties of the "LineItem".
- </para>
- <para>Select the "price" and drag it onto the "unitPrice" of the other side tree viewer. The error message display area will show an error:
- </para>
+ <para>Next, you are going to bind the properties of the <property>OrderItem</property> to
+ the properties of the <property>LineItem</property>.</para>
+ <para>Select the <emphasis>
+ <property>"price"</property>
+ </emphasis> and drag it onto the <emphasis>
+ <property>"unitPrice"</property>
+ </emphasis> of the other side tree viewer. The Problems area will show an
+ error:</para>
<figure>
<title>Connection Error 1</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/java2java/connection_error1.png"
- scale="90" />
+ <imagedata fileref="images/quick_start/quick_start12.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para>How to deal with the error ?</para>
- <para>Please click the "Fix it" link, a menu is popped-up with several "resolve methods" on it.
- </para>
- <para> Select the first resolve method: 'Connect the "OrderItem" to the
- "LineItem" ', then the "OrderItem" is connected with the
- "LineItem".
- </para>
- <para>But the notify message area still shows some other errors:
- </para>
+ <para>How to deal with the error?</para>
+ <para>Please click the <emphasis>
+ <property>Fix it</property></emphasis> link, a menu is popped-up with several
+ resolve methods on it.</para>
<figure>
+ <title>Fixing the Connection Error</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/quick_start/quick_start13.png" scale="90"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+ <para> Select the first resolve method: <emphasis>
+ 'Connect the "OrderItem" to the
+ "LineItem" '.</emphasis> As the result the <emphasis>
+ <property>"OrderItem"</property></emphasis> is connected with
+ the <emphasis>
+ <property>"LineItem"</property>.</emphasis></para>
+ <para>But the notify message area still shows some other errors:</para>
+ <figure>
<title>Connection Error 2</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/java2java/connection_error2.png"
- scale="90" />
+ <imagedata fileref="images/quick_start/quick_start14.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para>OK, let's deal with the fire error ---- Click "Fix it" link and select the first resolve method. The "orderItems" is connected with the "lineItems".
- </para>
+ <para>OK, let's deal with the fire error. Click the <emphasis>
+ <property>Fix it</property></emphasis> link and
+ select the first resolve method. The <emphasis>
+ <property>"orderItems"</property></emphasis> is connected with
+ the <emphasis>
+ <property>"lineItems"</property>.</emphasis></para>
+
<tip>
- <title>Tip</title>
- <para>
- Why does the occur error?</para>
- <para> You will find that, if you only connect the property node without connecting the parent node of the property, the "connection error" occur</para>
- <para>The connection of the "price-to-unitPrice" is the "Binding Connection",
- but it needs a "Instance Creation Connection" -the connection of the
+ <title>Tip:</title>
+ <para> Why does the error occur?</para>
+ <para> You will find that, if you only connect the property node without connecting the
+ parent node of the property, the "connection error" occurs.</para>
+ <para>The connection of the "price-to-unitPrice" is the
+ "Binding Connection", but it needs an "Instance Creation
+ Connection" - the connection of the
"OrderItem-to-LineItem".</para>
</tip>
- <para> After that, connect the quantity to the unitQuantity ; connect the productId to the productCode:
- </para>
+ <para> After that, connect <emphasis>
+ <property>"quantity"</property></emphasis> to the <emphasis>
+ <property>"unitQuantity"</property></emphasis> and <emphasis>
+ <property>"productId"</property></emphasis> to the
+ <emphasis>
+ <property>"productCode"</property>:</emphasis></para>
<figure>
- <title>Complete mapping</title>
+ <title>Complete Mapping</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/java2java/correct_editor.png"
- scale="90" />
+ <imagedata fileref="images/quick_start/quick_start15.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para>Now, you should save the file and the Smooks tools will generate the correct configuration file content.</para>
- <para>OK, Let run the test class: example.Main (Please, make sure that the Smooks engine loads the correct configuration file)
- </para>
- <para>Success!
- </para>
+ <para>Now, you should save the file and the <property>Smooks tools</property> will generate the correct
+ configuration file content.</para>
+ <para>OK, let run the test class: <property>example.Main</property>. (Please, make sure that the Smooks engine
+ loads the correct configuration file).</para>
+ <para>Success!</para>
</section>
</chapter>
Modified: trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml
===================================================================
--- trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml 2009-01-14 12:36:37 UTC (rev 13036)
+++ trunk/smooks/docs/reference/en/modules/smooksformeditor_configurationpage.xml 2009-01-14 13:17:11 UTC (rev 13037)
@@ -9,111 +9,136 @@
</keywordset>
</chapterinfo>
<title>Smooks Configuration Editor Page</title>
- <para>
- Smooks Configuration Editor Page is one tab of the Smooks Form
- Editor.
- </para>
+ <para> Smooks Configuration Editor Page is one tab of the <property>Smooks Editor</property>. </para>
<figure>
<title>Graphical Editor</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/configuration_page.png"
- scale="90" />
+ <imagedata fileref="images/config_page/config_page1.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para> The <link linkend="configurationpage_datedecoder">"Date Decoder"</link> can add/edit/remove on the configuration editor page.
- </para>
- <para>
- The configuration also edit the <link linkend="configurationpage_parsetype">"Smooks parse type"</link> and manage the <link linkend="configurationpage_importfile">"Import File"</link> .
- </para>
+
+ <para> You can add/edit/remove the <link linkend="configurationpage_datedecoder">Date
+ Decoder</link> on the Сonfiguration page of the <property>Smooks Editor</property>. </para>
+ <para> The configuration also edit the <link linkend="configurationpage_parsetype">Smooks parse
+ type</link> and manage the <link linkend="configurationpage_importfile">Import
+ Files</link>.</para>
+
<section id="configurationpage_parsetype">
- <title>Smooks parse type</title>
- <para>Open the "Other configuration" section, you will see there is a set of radio buttons:</para>
+
+ <title>Smooks Parse Type</title>
+ <para>Open the <emphasis>
+ <property>Other Configurations</property>
+ </emphasis> section, we will see there is a set of radio buttons:</para>
+
<figure>
- <title>Smooks parse type</title>
+ <title>Smooks Parse Types</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/smooks_parse_type.png"
- scale="90" />
+ <imagedata fileref="images/config_page/config_page2.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para>
- Select the radio button to change the Smooks parse type.
- </para>
+ <para> Select the radio button to change the Smooks parse type. </para>
</section>
<section id="configurationpage_importfile">
- <title>Import file</title>
- <para>
- Open the "Other configuration" section, there is an "Import File" list under the "Smooks parse type" buttons.
- </para>
+
+ <title>Import File</title>
+ <para> Open the <emphasis>
+ <property>Other Configurations</property>
+ </emphasis> section, there is an <emphasis>
+ <property>Import Files</property>
+ </emphasis> list under the Smooks parse type buttons.</para>
+
<figure>
<title>Import File</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/import_file.png" scale="90" />
+ <imagedata fileref="images/config_page/config_page2.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para>
- There are three buttons on the right side of the "File Import" list. You can click those to add/edit/remove the import files.
- </para>
+
+ <para>There are three buttons on the right side of the <emphasis>
+ <property>File Import</property>
+ </emphasis> list. You can click those to add/edit/remove the import files.</para>
+
<tip>
- <title>Tip</title>
- <para>
- If the import file doesn't exist, the image of the import file will change to "Error Image". If you double-click the import file in the "Import File" list, the file will be opened with a new default editor.
- </para>
+
+ <title>Tip:</title>
+ <para> If the import file dosen't exist, the image of the import file will change to
+ "Error Image". If you double-click the import file in the Import File list, the file
+ will be open with a new default editor. </para>
+
</tip>
</section>
<section id="configurationpage_datedecoder">
<title>Date Decoder Detail Page</title>
- <para>
- "Date Decoder" is a resourceConfig element in the Smooks configuration file.It describing how to transform the "Date" type.
- </para>
- <para>
- Click "New" button to open the "New Resource Type" wizard dialog.</para>
+
+ <para>Date Decoder is a resourceConfig element in the Smooks configuration file. It
+ describes how to transform the "Date" type.</para>
+ <para> Click the <emphasis>
+ <property>New</property>
+ </emphasis> button to open the <property>New Resource Type wizard</property>
+ dialog.</para>
+=
<figure>
<title>Resource Type Selection Wizard</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/resource_type_wizard.png"
- scale="90" />
+ <imagedata fileref="images/config_page/config_page4.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
-
- <para>There are several resource types on the list. Select the "Date Decoder" and click "Finish" button, a new "Date Decoder" item was added and shown on the resource type list.
- </para>
+
+ <para>There are several resource type on the list. Select the <emphasis>
+ <property>Date Decoder</property>
+ </emphasis> and click the <emphasis>
+ <property>Finish</property>
+ </emphasis> button, a new <emphasis>
+ <property>Date Decoder</property>
+ </emphasis> item was added and shown on the resource type list.</para>
+ <para> There are several parameters in the <emphasis>
+ <property>Date Decoder</property>
+ </emphasis> resourceConfig element:</para>
+
<para>
- There are several parameters in the "Date Decoder" resourceConfig element:
- </para>
- <para>
- <orderedlist numeration="loweralpha" inheritnum="inherit">
- <listitem><para>locale-language</para>
+
+ <itemizedlist>
+ <listitem>
+ <para>locale-language</para>
+
</listitem>
- <listitem><para>format</para>
+
+ <listitem>
+ <para>format</para>
</listitem>
- <listitem><para>locale-country</para>
+
+ <listitem>
+ <para>locale-country</para>
+
</listitem>
- </orderedlist>
+ </itemizedlist>
</para>
- <para>
- You can modify the parameters of the "Date Decoder" item with the left detail page.
- </para>
+
+ <para> You can modify the parameters of the <emphasis>
+ <property>Date Decoder</property></emphasis> item with the left detail page.</para>
+
<figure>
<title>Date Decoder Detail Page</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/date_type_detail_page.png"
- scale="90" />
+ <imagedata fileref="images/config_page/config_page5.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para>
- When you define a new "Date Decoder", it becomes possible to use the
- <link linkend="graphicalpage_propertiesview"> "JavaBean Properties"</link> GUI to set it to the "Java type".
- </para>
+
+ <para> When you defined a new <emphasis>
+ <property>Date Decoder</property></emphasis>, they can use the <link
+ linkend="graphicalpage_propertiesview">JavaBean Properties</link> GUI to set the
+ them to be the "Java type".</para>
+
<!--
<para> The XML fragment generated by Smooks tools for the "Date
Decoder": </para> <para> <programlisting> <![CDATA[<resource-config
@@ -130,4 +155,4 @@
id="configurationpage_unhandleresourceconfig"> <title>Unhandle
ResourceConfig</title> </section>
-->
-</chapter>
\ No newline at end of file
+</chapter>
Modified: trunk/smooks/docs/reference/en/modules/smooksformeditor_graphicalpage.xml
===================================================================
--- trunk/smooks/docs/reference/en/modules/smooksformeditor_graphicalpage.xml 2009-01-14 12:36:37 UTC (rev 13036)
+++ trunk/smooks/docs/reference/en/modules/smooksformeditor_graphicalpage.xml 2009-01-14 13:17:11 UTC (rev 13037)
@@ -9,110 +9,143 @@
</keywordset>
</chapterinfo>
<title>Smooks Graphical Editor Page</title>
- <para> Smooks Graphical Editor Page is one tab of the Smooks Form Editor. </para>
+
+ <para>Smooks Graphical Editor page is one tab of the <property>Smooks Editor</property>.</para>
<figure>
<title>Graphical Editor</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/java2java/correct_editor.png" scale="90"/>
+ <imagedata fileref="images/graph_editor/graph_editor1.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <para> This graphical editor could allow you to perform drug/drop operations with the nodes of transform data to map the source data to target data. </para>
- <para> When you save the changes in the graphical editor, the correct Smooks configuration file content will be generated. </para>
+
+ <para> This <property>Graphical editor</property> allows you to perform drug/drop operations
+ with the nodes of transform data to map the source data to target data. </para>
+ <para> When you save the changes in the Graphical editor the correct Smooks Configuration file
+ content will be generated. </para>
<section>
+
<title>Introducing the areas of graphical editor</title>
- <para>Information on the topic could be found here <link linkend="quickstart_formeditor"
- >"Quick Start/Smooks Form Editor"</link>
- </para>
+ <para>Information on the topic could be found in the <link linkend="quickstart_formeditor">Quick Start/Smooks Editor</link> section.</para>
</section>
<section>
- <title>Load source/target data</title>
- <para> Click the links under the data viewer, the data type selection wizard page will be shown. </para>
+
+ <title>Load Source/Target Data</title>
+ <para> Click the links under the data view, the <property>Data Type Selection wizard</property> page will be
+ shown.</para>
<figure>
- <title>Data type selection wizard page</title>
+ <title>Data Type Selection Wizard Page</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/data_type_wizard.png" scale="90"/>
+
+ <imagedata fileref="images/graph_editor/graph_editor2.png" scale="90"/>
+
</imageobject>
</mediaobject>
</figure>
+
<para> There are sets of transform data type on the wizard page, select one type and click
- <property>Next</property> , the data source selection wizard page will be shown. <tip>
- <title>Note</title>
- <para> For different data type, the data source selection wizards are different too.
- </para>
- </tip>
- </para>
+ <emphasis><property>Next</property>,</emphasis> the data source selection wizard
+ page will be shown.</para>
+
+ <tip>
+ <title>Note:</title>
+ <para>For different data type, the Data source selection wizard are different too.
+ </para>
+ </tip>
<figure>
- <title>Java data source selection wizard page</title>
+ <title>Java Data Source Selection Wizard Page</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/java2java/java_data_selection_wizard.png" scale="90"
- />
+
+ <imagedata fileref="images/graph_editor/graph_editor3.png" scale="90"/>
+
</imageobject>
</mediaobject>
</figure>
+
<figure>
- <title>XML file path selection wizard page</title>
+ <title>XML File Path Selection Wizard Page</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/xml2java/xml_filepath_selection_wizard.png"
- scale="90"/>
+
+ <imagedata fileref="images/graph_editor/graph_editor4.png" scale="90"/>
+
</imageobject>
</mediaobject>
</figure>
- <para> When you finish the data selection (file path selection), Click
- <property>Finish</property> , the data viewer will display the selected data structure. </para>
+
+ <para> When you finish the data selection (file path selection), click
+ <emphasis><property>Finish</property>,</emphasis> the data view will display the
+ selected data structure.</para>
</section>
<section>
- <title>Using the graphical editor for mapping</title>
+
+ <title>Using Graphical Editor for Mapping</title>
<para>To get information on the topic please, read the <link linkend="quickstart_mapping"
- >"Quick Start/Mapping"</link>
- </para>
+ >Quick Start/Mapping</link> section. </para>
</section>
<section>
- <title>Error messages</title>
- <para>When you do any mapping operations, the Smooks tools validates the file content with
- "Mapping Logic", If there are any errors of the configuration file content , error messages are shown on the <link linkend="quickstart_formeditor">"Error message area"</link>. </para>
- <para> Please, read the <link linkend="quickstart_mapping">"Quick Start/Mapping"</link> to find how to fix the errors. </para>
+
+ <title>Error Messages</title>
+ <para>When you do any mapping operations, the <property>Smooks tools</property> validate the
+ file content with "Mapping Logic". If there are any errors of the configuration file
+ content, error messages are shown in the <link linkend="quickstart_formeditor">Problems
+ area</link>.</para>
+ <para> Please, read the <link linkend="quickstart_mapping">Quick Start/Mapping</link> section to
+ find how to fix the errors.</para>
</section>
<section id="graphicalpage_propertiesview">
- <title>Properties Viewer</title>
- <para> You can edit the properties of the "connection lines" with the properties viewer. </para>
- <para> Select the menu: "Window -> Show View -> Other -> Properties", the properties viewer is opened. </para>
- <para> When you select on the connection lines, the properties viewer will show a set of section GUI for editing the properties of the connection line. </para>
+ <title>Properties View</title>
+
+ <para> You can edit the properties of the connection lines with the <property>Properties
+ view</property>.</para>
+ <para>Navigate to <emphasis><property>Window > Show View > Other >
+ Properties</property>,</emphasis> to open the <property>Properties
+ view</property>.</para>
+ <para> When you select on the connection lines, the <property>Properties view</property>
+ will show a set of section GUI for editing the properties of the connection line.</para>
<tip>
- <title>Tip</title>
- <para> This GUI on the properties viewer is displayed when the "Smooks Graphical Page"
- is active, if not, the properties viewer displays empty GUI. </para>
- <para> If the source data type of the selected connection line is "XML", The properties viewer shows a "XML Properties" section GUI. </para>
- <para> But if the source data type of the selected connection line is "Java", the "XML Properties" section GUI isn't 'displayed. </para>
- <para> It means that if the source/target data type of the selected connection line is different, the properties viewer shows different GUI. </para>
+
+ <title>Tip:</title>
+ <para>This GUI on the <property>Properties view</property> is displayed when the Smooks
+ Graphical editor is active, if not, the <property>Properties view</property>
+ displays empty GUI.</para>
+ <para>If the source data type of the selected connection line is
+ "XML", the <property>Properties view</property> shows an XML
+ Properties section GUI.</para>
+ <para>But if the source data type of the selected connection line is
+ "Java", the XML Properties section GUI isn't
+ displayed.</para>
+ <para>It means that if the source/target data type of the selected connection line is
+ different, the <property>Properties view</property> shows different GUI.</para>
</tip>
<figure>
<title>JavaBean Properties Section</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/java_property_view.png" scale="90"/>
+
+ <imagedata fileref="images/graph_editor/graph_editor5.png" scale="90"/>
+
</imageobject>
</mediaobject>
</figure>
<figure>
- <title>XML properties section</title>
+ <title>XML Properties Section</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/xml_property_view.png" scale="90"/>
+ <imagedata fileref="images/graph_editor/graph_editor6.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
<figure>
- <title>Mapping properties section</title>
+ <title>Mapping Properties Section</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/mapping_property_view.png" scale="90"/>
+ <imagedata fileref="images/graph_editor/graph_editor7.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
</section>
-</chapter>
\ No newline at end of file
+</chapter>
Modified: trunk/smooks/docs/reference/en/modules/smooksformeditor_sourcepage.xml
===================================================================
--- trunk/smooks/docs/reference/en/modules/smooksformeditor_sourcepage.xml 2009-01-14 12:36:37 UTC (rev 13036)
+++ trunk/smooks/docs/reference/en/modules/smooksformeditor_sourcepage.xml 2009-01-14 13:17:11 UTC (rev 13037)
@@ -11,40 +11,36 @@
<title>Smooks Source Editor Page</title>
<section>
<title>XML Source Editor</title>
- <para>You can use this editor to edit the Smooks configuration file directly.
- </para>
+ <para>You can use this editor to edit the Smooks Configuration file directly. </para>
<figure>
<title>Graphical Editor</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/xml_source_editor.png"
- scale="90" />
+ <imagedata fileref="images/source_editor/source_editor1.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
</section>
<section>
<title>Error Messages GUI</title>
- <para>If the Smooks tools can't understand the configuration file or the configuration file is illegal (XML structure isn't right for Smooks configuration file, etc.), The error message panel will be displayed above the XML editor.
- </para>
+ <para>If the <property>Smooks tools</property> can't understand the configuration
+ file or the configuration file is illegal (XML structure isn't right for Smooks
+ Configuration file, etc.), the error will be underlined.</para>
<figure>
<title>Graphical Editor</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/common/xml_source_editor_error.png"
- scale="90" />
+ <imagedata fileref="images/source_editor/source_editor2.png" scale="90"/>
</imageobject>
</mediaobject>
</figure>
- <note>
- <title>Tip</title>
- <para>
- When the error message panel is displayed, other editors (
- Graphical Editor, Configuration Editor ) are disabled.
- </para>
- <para>
- You can't edit the configuration file with other editors until file becomes valid.
- </para>
- </note>
+ <!--note>
+ <title>Tip:</title>
+ <para> When the error message panel is displayed, other editors ( Graphical Editor,
+ Configuration Editor ) are disabled. </para>
+ <para> You can't edit the configuration file with other editors until file becomes
+ valid. </para>
+ </note-->
+
</section>
-</chapter>
\ No newline at end of file
+</chapter>
16 years
JBoss Tools SVN: r13036 - trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test.
by jbosstools-commits@lists.jboss.org
Author: scabanovich
Date: 2009-01-14 07:36:37 -0500 (Wed, 14 Jan 2009)
New Revision: 13036
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SerializationTest.java
Log:
JBIDE-3546
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SerializationTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SerializationTest.java 2009-01-14 12:07:59 UTC (rev 13035)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SerializationTest.java 2009-01-14 12:36:37 UTC (rev 13036)
@@ -8,6 +8,8 @@
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IResource;
+import org.eclipse.core.resources.IncrementalProjectBuilder;
+import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.jboss.tools.common.xml.XMLUtilities;
import org.jboss.tools.seam.core.ISeamComponent;
@@ -125,4 +127,24 @@
assertTrue("Loading time per component is too large: " + timePerComponent + " ms.", timePerComponent < 10.0f);
}
+
+ public void testCleanBuild() {
+ ISeamProject sp = getSeamProject();
+ try {
+ int components_1 = sp.getComponents().size();
+ assertFalse(components_1 == 0);
+ boolean auto = ResourcesUtils.setBuildAutomatically(false);
+ sp.getProject().build(IncrementalProjectBuilder.CLEAN_BUILD, null);
+ int components_2 = sp.getComponents().size();
+ assertTrue(components_2 == 0);
+ sp.getProject().build(IncrementalProjectBuilder.FULL_BUILD, null);
+ int components_3 = sp.getComponents().size();
+ assertEquals(components_1, components_3);
+
+ ResourcesUtils.setBuildAutomatically(auto);
+ } catch (CoreException e) {
+ JUnitUtils.fail(e.getMessage(), e);
+ }
+ }
+
}
16 years
JBoss Tools SVN: r13035 - in trunk/smooks/docs/reference/en/images: config_page and 4 other directories.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-01-14 07:07:59 -0500 (Wed, 14 Jan 2009)
New Revision: 13035
Added:
trunk/smooks/docs/reference/en/images/config_page/
trunk/smooks/docs/reference/en/images/config_page/config_page1.png
trunk/smooks/docs/reference/en/images/config_page/config_page2.png
trunk/smooks/docs/reference/en/images/config_page/config_page4.png
trunk/smooks/docs/reference/en/images/config_page/config_page5.png
trunk/smooks/docs/reference/en/images/graph_editor/
trunk/smooks/docs/reference/en/images/graph_editor/graph_editor1.png
trunk/smooks/docs/reference/en/images/graph_editor/graph_editor2.png
trunk/smooks/docs/reference/en/images/graph_editor/graph_editor3.png
trunk/smooks/docs/reference/en/images/graph_editor/graph_editor4.png
trunk/smooks/docs/reference/en/images/graph_editor/graph_editor5.png
trunk/smooks/docs/reference/en/images/graph_editor/graph_editor6.png
trunk/smooks/docs/reference/en/images/graph_editor/graph_editor7.png
trunk/smooks/docs/reference/en/images/introduction/
trunk/smooks/docs/reference/en/images/introduction/introduction1.png
trunk/smooks/docs/reference/en/images/introduction/introduction2.png
trunk/smooks/docs/reference/en/images/quick_start/
trunk/smooks/docs/reference/en/images/quick_start/quick_start1.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start10.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start11.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start12.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start13.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start14.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start15.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start2.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start3.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start4.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start5.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start6.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start7.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start8.png
trunk/smooks/docs/reference/en/images/quick_start/quick_start9.png
trunk/smooks/docs/reference/en/images/source_editor/
trunk/smooks/docs/reference/en/images/source_editor/source_editor1.png
trunk/smooks/docs/reference/en/images/source_editor/source_editor2.png
Log:
https://jira.jboss.org/jira/browse/JBIDE-3296 - adding new folders with new images for the Smmoks tools guide;
Added: trunk/smooks/docs/reference/en/images/config_page/config_page1.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/config_page/config_page1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/config_page/config_page2.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/config_page/config_page2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/config_page/config_page4.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/config_page/config_page4.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/config_page/config_page5.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/config_page/config_page5.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor1.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor2.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor3.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor4.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor4.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor5.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor5.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor6.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor6.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor7.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/graph_editor/graph_editor7.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/introduction/introduction1.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/introduction/introduction1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/introduction/introduction2.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/introduction/introduction2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start1.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start10.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start10.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start11.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start11.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start12.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start12.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start13.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start13.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start14.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start14.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start15.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start15.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start2.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start3.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start3.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start4.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start4.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start5.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start5.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start6.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start6.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start7.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start7.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start8.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start8.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/quick_start/quick_start9.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/quick_start/quick_start9.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/source_editor/source_editor1.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/source_editor/source_editor1.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/smooks/docs/reference/en/images/source_editor/source_editor2.png
===================================================================
(Binary files differ)
Property changes on: trunk/smooks/docs/reference/en/images/source_editor/source_editor2.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
16 years
JBoss Tools SVN: r13033 - trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-01-14 06:08:47 -0500 (Wed, 14 Jan 2009)
New Revision: 13033
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java
Log:
JBIDE-3461 - weird cpu usage spike
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java 2009-01-14 08:06:13 UTC (rev 13032)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.core/jbosscore/org/jboss/ide/eclipse/as/core/server/internal/launch/StopLaunchConfiguration.java 2009-01-14 11:08:47 UTC (rev 13033)
@@ -43,6 +43,7 @@
import org.jboss.ide.eclipse.as.core.JBossServerCorePlugin;
import org.jboss.ide.eclipse.as.core.server.IJBossServerRuntime;
import org.jboss.ide.eclipse.as.core.server.internal.JBossServer;
+import org.jboss.ide.eclipse.as.core.server.internal.JBossServerBehavior;
public class StopLaunchConfiguration extends AbstractJBossLaunchConfigType {
@@ -57,7 +58,11 @@
ILaunchConfigurationWorkingCopy wc = createLaunchConfiguration(server);
ILaunch launch = wc.launch(ILaunchManager.RUN_MODE, new NullProgressMonitor());
IProcess stopProcess = launch.getProcesses()[0];
- while( !stopProcess.isTerminated()) {}
+ while( !stopProcess.isTerminated() && server.getServerState() == IServer.STATE_STOPPING) {}
+ if( !stopProcess.isTerminated()) {
+ stopProcess.terminate();
+ return false;
+ }
return stopProcess.getExitValue() == 0 ? true : false;
} catch( CoreException ce ) {
// report it from here
16 years
JBoss Tools SVN: r13032 - in trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss: tools/as/wst/server/ui and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-01-14 03:06:13 -0500 (Wed, 14 Jan 2009)
New Revision: 13032
Modified:
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/ServerActionProvider.java
Log:
JBIDE-3103 - reshuffle
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java 2009-01-14 07:35:07 UTC (rev 13031)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/ide/eclipse/as/ui/views/server/extensions/ModuleActionProvider.java 2009-01-14 08:06:13 UTC (rev 13032)
@@ -9,6 +9,7 @@
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.core.runtime.Path;
import org.eclipse.jface.action.Action;
+import org.eclipse.jface.action.IContributionItem;
import org.eclipse.jface.action.IMenuManager;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.IStructuredSelection;
@@ -35,6 +36,7 @@
import org.jboss.ide.eclipse.as.ui.JBossServerUISharedImages;
import org.jboss.ide.eclipse.as.ui.Messages;
import org.jboss.ide.eclipse.as.ui.actions.ExploreUtils;
+import org.jboss.tools.as.wst.server.ui.ServerActionProvider;
public class ModuleActionProvider extends CommonActionProvider {
private Action deleteModuleAction, fullPublishModuleAction, incrementalPublishModuleAction;
@@ -66,15 +68,15 @@
for( int i = 0; i < arr.length; i++ )
ms[i] = (ModuleServer)arr[i];
this.selection = ms;
- menu.add(deleteModuleAction);
- menu.add(fullPublishModuleAction);
- menu.add(incrementalPublishModuleAction);
+
+ menu.insertBefore(ServerActionProvider.CONTROL_MODULE_SECTION_END_SEPARATOR, incrementalPublishModuleAction);
+ menu.insertBefore(ServerActionProvider.CONTROL_MODULE_SECTION_END_SEPARATOR, fullPublishModuleAction);
if (selection.size() == 1) {
ModuleServer moduleServer = (ModuleServer) selection.getFirstElement();
IServer server = moduleServer.getServer();
if (ExploreUtils.canExplore(server)) {
if (getDeployPath() != null) {
- menu.add(exploreAction);
+ menu.insertBefore(ServerActionProvider.CONTROL_MODULE_SECTION_END_SEPARATOR, exploreAction);
}
}
}
@@ -82,8 +84,9 @@
}
protected boolean allAre(IStructuredSelection sel, Class c) {
- if( sel == null )
+ if( sel == null || sel.isEmpty())
return false;
+
Iterator i = sel.iterator();
while(i.hasNext())
if(!i.next().getClass().equals(c))
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/ServerActionProvider.java
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/ServerActionProvider.java 2009-01-14 07:35:07 UTC (rev 13031)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/jbossui/org/jboss/tools/as/wst/server/ui/ServerActionProvider.java 2009-01-14 08:06:13 UTC (rev 13032)
@@ -12,7 +12,6 @@
import org.eclipse.jface.action.Separator;
import org.eclipse.jface.bindings.TriggerSequence;
import org.eclipse.jface.viewers.IOpenListener;
-import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.OpenEvent;
@@ -60,6 +59,19 @@
import org.jboss.ide.eclipse.as.ui.actions.ExploreAction;
public class ServerActionProvider extends CommonActionProvider {
+ public static final String NEW_MENU_ID = "org.jboss.tools.as.wst.server.ui.internal.cnf.newMenuId";
+ public static final String SHOW_IN_MENU_ID = "org.jboss.tools.as.wst.server.ui.internal.cnf.showInMenuId";
+ public static final String TOP_SECTION_START_SEPARATOR = "org.jboss.tools.as.wst.server.ui.internal.cnf.topSectionStart";
+ public static final String TOP_SECTION_END_SEPARATOR = "org.jboss.tools.as.wst.server.ui.internal.cnf.topSectionEnd";
+ public static final String EDIT_SECTION_START_SEPARATOR = "org.jboss.tools.as.wst.server.ui.internal.cnfeditSectionStart";
+ public static final String EDIT_SECTION_END_SEPARATOR = "org.jboss.tools.as.wst.server.ui.internal.cnf.editSectionEnd";
+ public static final String CONTROL_SERVER_SECTION_START_SEPARATOR = "org.jboss.tools.as.wst.server.ui.internal.cnf.controlServerSectionStart";
+ public static final String CONTROL_SERVER_SECTION_END_SEPARATOR = "org.jboss.tools.as.wst.server.ui.internal.cnf.controlServerSectionEnd";
+ public static final String SERVER_ERATA_SECTION_START_SEPARATOR = "org.jboss.tools.as.wst.server.ui.internal.cnf.serverErataSectionStart";
+ public static final String SERVER_ERATA_SECTION_END_SEPARATOR = "org.jboss.tools.as.wst.server.ui.internal.cnf.serverErataSectionEnd";
+ public static final String CONTROL_MODULE_SECTION_START_SEPARATOR = "org.jboss.tools.as.wst.server.ui.internal.cnf.controlModuleSectionStart";
+ public static final String CONTROL_MODULE_SECTION_END_SEPARATOR = "org.jboss.tools.as.wst.server.ui.internal.cnf.controlModuleSectionEnd";
+
private ICommonActionExtensionSite actionSite;
private Clipboard clipboard;
public ServerActionProvider() {
@@ -125,7 +137,7 @@
actions[4] = new PublishAction(shell, provider);
actions[5] = new PublishCleanAction(shell, provider);
actions[6] = new ExploreAction(shell,provider);
-
+
// create the open action
openAction = new OpenAction(provider);
@@ -165,12 +177,6 @@
cm.add(actions[i]);
}
- private static void fillNewContextMenu(Shell shell, ISelection selection, IMenuManager menu) {
- IAction newServerAction = new NewServerWizardAction();
- newServerAction.setText(Messages.actionNewServer);
- menu.add(newServerAction);
- }
-
public void fillContextMenu(IMenuManager menu) {
ICommonViewerSite site = actionSite.getViewSite();
IStructuredSelection selection = null;
@@ -198,9 +204,56 @@
}
}
- // new action
- MenuManager newMenu = new MenuManager(Messages.actionNew);
- fillNewContextMenu(null, selection, newMenu);
+ menu.add(invisibleSeparator(TOP_SECTION_START_SEPARATOR));
+ addTopSection(menu, server, module);
+ menu.add(invisibleSeparator(TOP_SECTION_END_SEPARATOR));
+ menu.add(new Separator());
+
+ if (server != null && module == null) {
+ menu.add(invisibleSeparator(EDIT_SECTION_START_SEPARATOR));
+ menu.add(copyAction);
+ menu.add(pasteAction);
+ menu.add(deleteAction);
+ menu.add(renameAction);
+ menu.add(invisibleSeparator(EDIT_SECTION_END_SEPARATOR));
+
+ menu.add(new Separator());
+
+ menu.add(invisibleSeparator(CONTROL_SERVER_SECTION_START_SEPARATOR));
+ for (int i = 0; i < actions.length; i++)
+ menu.add(actions[i]);
+ menu.add(invisibleSeparator(CONTROL_SERVER_SECTION_END_SEPARATOR));
+
+ menu.add(new Separator());
+
+ menu.add(invisibleSeparator(SERVER_ERATA_SECTION_START_SEPARATOR));
+ menu.add(actionModifyModules);
+ addMonitor(server, menu, shell);
+ menu.add(invisibleSeparator(SERVER_ERATA_SECTION_END_SEPARATOR));
+ menu.add(new Separator());
+ menu.add(propertiesAction);
+
+ } else if (server != null && module != null) {
+
+ menu.add(invisibleSeparator(CONTROL_MODULE_SECTION_START_SEPARATOR));
+ menu.add(new StartModuleAction(server, module));
+ menu.add(new StopModuleAction(server, module));
+ menu.add(new RestartModuleAction(server, module));
+ if(module.length == 1) {
+ menu.add(new RemoveModuleAction(shell, server, module[0]));
+ }
+ menu.add(invisibleSeparator(CONTROL_MODULE_SECTION_END_SEPARATOR));
+ }
+
+ menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
+ menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS+"-end"));
+ }
+
+ protected void addTopSection(IMenuManager menu, IServer server, IModule[] module) {
+ MenuManager newMenu = new MenuManager(Messages.actionNew, NEW_MENU_ID);
+ IAction newServerAction = new NewServerWizardAction();
+ newServerAction.setText(Messages.actionNewServer);
+ newMenu.add(newServerAction);
menu.add(newMenu);
// open action
@@ -220,80 +273,50 @@
MenuManager showInMenu = new MenuManager(text, "org.eclipse.ui.navigate.showInQuickMenu");
showInMenu.add(showInConsoleAction);
showInMenu.add(showInDebugAction);
- //IActionBars actionBars = getViewSite().getActionBars();
- //actionBars.setGlobalActionHandler("group.show", showInMenu);
menu.add(showInMenu);
- menu.add(new Separator());
- } else
- menu.add(new Separator());
-
- if (server != null) {
- if (module == null) {
- menu.add(copyAction);
- menu.add(pasteAction);
- menu.add(deleteAction);
- menu.add(renameAction);
- } else if (module.length == 1)
- menu.add(new RemoveModuleAction(shell, server, module[0]));
- menu.add(new Separator());
}
-
- if (server != null && module == null) {
- // server actions
- for (int i = 0; i < actions.length; i++)
- menu.add(actions[i]);
+ }
+
+ protected void addMonitor(IServer server, IMenuManager menu, Shell shell) {
+
+ if (server.getServerType() != null) {
+ final MenuManager menuManager = new MenuManager(Messages.actionMonitor);
- menu.add(new Separator());
- menu.add(actionModifyModules);
-
- // monitor
- if (server.getServerType() != null) {
- final MenuManager menuManager = new MenuManager(Messages.actionMonitor);
-
- final IServer server2 = server;
- final Shell shell2 = shell;
- menuManager.addMenuListener(new IMenuListener() {
- public void menuAboutToShow(IMenuManager manager) {
- menuManager.removeAll();
- if (server2.getAdapter(ServerDelegate.class) != null) {
- ServerPort[] ports = server2.getServerPorts(null);
- if (ports != null) {
- int size = ports.length;
- for (int i = 0; i < size; i++) {
- if (!ports[i].isAdvanced())
- menuManager.add(new MonitorServerPortAction(shell2, server2, ports[i]));
- }
+ final IServer server2 = server;
+ final Shell shell2 = shell;
+ menuManager.addMenuListener(new IMenuListener() {
+ public void menuAboutToShow(IMenuManager manager) {
+ menuManager.removeAll();
+ if (server2.getAdapter(ServerDelegate.class) != null) {
+ ServerPort[] ports = server2.getServerPorts(null);
+ if (ports != null) {
+ int size = ports.length;
+ for (int i = 0; i < size; i++) {
+ if (!ports[i].isAdvanced())
+ menuManager.add(new MonitorServerPortAction(shell2, server2, ports[i]));
}
}
-
- if (menuManager.isEmpty())
- menuManager.add(noneAction);
-
- menuManager.add(new Separator());
- menuManager.add(monitorPropertiesAction);
}
- });
-
- // add an initial menu item so that the menu appears correctly
- noneAction.setEnabled(false);
- menuManager.add(noneAction);
- menu.add(menuManager);
- }
+
+ if (menuManager.isEmpty())
+ menuManager.add(noneAction);
+
+ menuManager.add(new Separator());
+ menuManager.add(monitorPropertiesAction);
+ }
+ });
+
+ // add an initial menu item so that the menu appears correctly
+ noneAction.setEnabled(false);
+ menuManager.add(noneAction);
+ menu.add(menuManager);
}
-
- if (server != null && module != null) {
- menu.add(new Separator());
- menu.add(new StartModuleAction(server, module));
- menu.add(new StopModuleAction(server, module));
- menu.add(new RestartModuleAction(server, module));
- }
-
- menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
- menu.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS+"-end"));
-
- if (server != null) {
- menu.add(new Separator());
- menu.add(propertiesAction);
- }
}
+
+
+ private Separator invisibleSeparator(String s) {
+ Separator sep = new Separator(s);
+ sep.setVisible(false);
+ return sep;
+ }
}
16 years
JBoss Tools SVN: r13031 - in trunk: as/features/org.jboss.ide.eclipse.as.feature and 21 other directories.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-01-14 02:35:07 -0500 (Wed, 14 Jan 2009)
New Revision: 13031
Added:
trunk/common/features/org.jboss.tools.common.feature/feature.properties
trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.properties
trunk/common/features/org.jboss.tools.common.ui.feature/feature.properties
trunk/common/features/org.jboss.tools.common.verification.feature/feature.properties
trunk/flow/features/org.jboss.tools.flow.common.feature/feature.properties
trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/feature.properties
trunk/jsf/features/org.jboss.tools.jsf.feature/feature.properties
trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.properties
trunk/jst/features/org.jboss.tools.jst.feature/feature.properties
trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/feature.properties
trunk/vpe/features/org.jboss.tools.vpe.feature/feature.properties
Modified:
trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.properties
trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml
trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.properties
trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml
trunk/common/features/org.jboss.tools.common.core.feature/feature.properties
trunk/common/features/org.jboss.tools.common.core.feature/feature.xml
trunk/common/features/org.jboss.tools.common.feature/build.properties
trunk/common/features/org.jboss.tools.common.feature/feature.xml
trunk/common/features/org.jboss.tools.common.text.ext.feature/build.properties
trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml
trunk/common/features/org.jboss.tools.common.ui.feature/build.properties
trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml
trunk/common/features/org.jboss.tools.common.verification.feature/build.properties
trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml
trunk/esb/features/org.jboss.tools.esb.feature/feature.xml
trunk/examples/features/org.jboss.tools.project.examples.feature/feature.properties
trunk/flow/features/org.jboss.tools.flow.common.feature/build.properties
trunk/flow/features/org.jboss.tools.flow.common.feature/feature.xml
trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.properties
trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.xml
trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.properties
trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.xml
trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/build.properties
trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/feature.xml
trunk/jbpm/features/org.jboss.tools.jbpm.convert.feature/feature.xml
trunk/jsf/features/org.jboss.tools.jsf.feature/build.properties
trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml
trunk/jsf/features/org.jboss.tools.richfaces.feature/build.properties
trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml
trunk/jst/features/org.jboss.tools.jst.feature/build.properties
trunk/jst/features/org.jboss.tools.jst.feature/feature.xml
trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/build.properties
trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/feature.xml
trunk/seam/features/org.jboss.ide.eclipse.seam.feature/feature.properties
trunk/seam/features/org.jboss.ide.eclipse.seam.feature/feature.xml
trunk/seam/features/org.jboss.tools.seam.feature/feature.properties
trunk/seam/features/org.jboss.tools.seam.feature/feature.xml
trunk/smooks/features/org.jboss.tools.smooks.feature/feature.xml
trunk/struts/features/org.jboss.tools.struts.feature/feature.properties
trunk/struts/features/org.jboss.tools.struts.feature/feature.xml
trunk/vpe/features/org.jboss.tools.vpe.feature/build.properties
trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml
Log:
Externalising English strings in features so that they can be translated
Modified: trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.properties
===================================================================
--- trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,35 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Archives Tools
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=Project Archives provides a way to define archives based on include/exclude filesets which then\n\
+ gets incrementally updated allowing for fluent deployment for any type of Eclipse project.
+
+copyright=JBoss, Home of Professional Open Source\n\
+Copyright 2006, JBoss Inc., and individual contributors as indicated\n\
+by the @authors tag. See the copyright.txt in the distribution\n\
+for a full listing of individual contributors.
\ No newline at end of file
Modified: trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml
===================================================================
--- trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/archives/features/org.jboss.ide.eclipse.archives.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,21 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.jboss.ide.eclipse.archives.feature"
- label="JBoss Archives Tools"
+ label="%featureName"
version="1.0.0"
- provider-name="JBoss, a division of Red Hat"
+ provider-name="%providerName"
plugin="org.jboss.ide.eclipse.archives.ui">
<description url="http://www.jboss.org/tools">
- Project Archives provides a way to define archives based on include/exclude filesets which then
- gets incrementally updated allowing for fluent deployment for any type of Eclipse project.
+ %description
</description>
<copyright>
- JBoss, Home of Professional Open Source
-Copyright 2006, JBoss Inc., and individual contributors as indicated
-by the @authors tag. See the copyright.txt in the distribution
-for a full listing of individual contributors.
+ %copyright
</copyright>
<license url="http://osdn.dl.sourceforge.net/sourceforge/jboss/LGPL.html">
@@ -423,7 +419,7 @@
</license>
<url>
- <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
</url>
<requires>
Modified: trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.properties
===================================================================
--- trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,34 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBossAS Tools
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=Provides a WTP adapter for JBoss AS 4.x and 5.x. Supports incremental and exploded deployment.
+
+copyright=JBoss, Home of Professional Open Source\n\
+Copyright 2006, JBoss Inc., and individual contributors as indicated\n\
+by the @authors tag. See the copyright.txt in the distribution\n\
+for a full listing of individual contributors.
\ No newline at end of file
Modified: trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml
===================================================================
--- trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/as/features/org.jboss.ide.eclipse.as.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,20 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.jboss.ide.eclipse.as.feature"
- label="JBossAS Tools"
+ label="%featureName"
version="1.0.0"
- provider-name="JBoss, a division of Red Hat"
+ provider-name="%providerName"
plugin="org.jboss.ide.eclipse.as.ui">
<description url="http://www.jboss.org/tools">
- Provides a WTP adapter for JBoss AS 4.x and 5.x. Supports incremental and exploded deployment.
+ %description
</description>
<copyright>
- JBoss, Home of Professional Open Source
- Copyright 2006, JBoss Inc., and individual contributors as indicated
-by the @authors tag. See the copyright.txt in the distribution
-for a full listing of individual contributors.
+ %copyright
</copyright>
<license url="http://osdn.dl.sourceforge.net/sourceforge/jboss/LGPL.html">
@@ -422,7 +419,7 @@
</license>
<url>
- <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
</url>
<requires>
Modified: trunk/common/features/org.jboss.tools.common.core.feature/feature.properties
===================================================================
--- trunk/common/features/org.jboss.tools.common.core.feature/feature.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/common/features/org.jboss.tools.common.core.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,37 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Tools Common Core
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=JBoss Tools Common Core plugins
+
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
\ No newline at end of file
Modified: trunk/common/features/org.jboss.tools.common.core.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.core.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/common/features/org.jboss.tools.common.core.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,25 +1,19 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.common.core.feature"
- label="JBoss Tools Common Core"
- version="2.0.0"
- provider-name="JBoss, a division of Red Hat">
-
- <description url="http://www.jboss.org/tools">
- JBoss Tools Common Core plugins
- </description>
-
- <copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.common.core.feature"
+ label="%featureName"
+ version="2.0.0"
+ provider-name="%providerName">
+
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
@@ -215,35 +209,35 @@
No party to this Agreement will bring a legal action under this
Agreement more than one year after the cause of action arose.
Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <url>
- <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
- </url>
-
- <plugin
- id="org.jboss.tools.common"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.kb"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.model"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.projecttemplates"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+litigation.
+ </license>
+
+ <url>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <plugin
+ id="org.jboss.tools.common"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.kb"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.model"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.projecttemplates"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
Modified: trunk/common/features/org.jboss.tools.common.feature/build.properties
===================================================================
--- trunk/common/features/org.jboss.tools.common.feature/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/common/features/org.jboss.tools.common.feature/build.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1 +1,2 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties
Added: trunk/common/features/org.jboss.tools.common.feature/feature.properties
===================================================================
--- trunk/common/features/org.jboss.tools.common.feature/feature.properties (rev 0)
+++ trunk/common/features/org.jboss.tools.common.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,37 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Tools Common
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=JBoss Tools Common
+
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
Modified: trunk/common/features/org.jboss.tools.common.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/common/features/org.jboss.tools.common.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,25 +1,19 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.common.feature"
- label="JBoss Tools Common"
- version="2.0.0"
- provider-name="JBoss, a division of Red Hat">
-
- <description url="http://www.jboss.org/tools">
- JBoss Tools Common
- </description>
-
- <copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.common.feature"
+ label="%featureName"
+ version="2.0.0"
+ provider-name="%providerName">
+
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
@@ -215,23 +209,23 @@
No party to this Agreement will bring a legal action under this
Agreement more than one year after the cause of action arose.
Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <url>
- <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
- </url>
-
- <includes
- id="org.eclipse.wst.common_core.feature"
- version="0.0.0"/>
-
- <includes
- id="org.eclipse.wst.common_ui.feature"
- version="0.0.0"/>
-
- <requires>
- <import feature="org.jboss.tools.common.text.ext.feature" version="0.0.0" match="greaterOrEqual"/>
- </requires>
-
-</feature>
+litigation.
+ </license>
+
+ <url>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <includes
+ id="org.eclipse.wst.common_core.feature"
+ version="0.0.0"/>
+
+ <includes
+ id="org.eclipse.wst.common_ui.feature"
+ version="0.0.0"/>
+
+ <requires>
+ <import feature="org.jboss.tools.common.text.ext.feature" version="0.0.0" match="greaterOrEqual"/>
+ </requires>
+
+</feature>
Modified: trunk/common/features/org.jboss.tools.common.text.ext.feature/build.properties
===================================================================
--- trunk/common/features/org.jboss.tools.common.text.ext.feature/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/common/features/org.jboss.tools.common.text.ext.feature/build.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1 +1,2 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties
Added: trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.properties
===================================================================
--- trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.properties (rev 0)
+++ trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,37 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Tools Common Text editing extensions
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=JBoss Tools Common Text editing extensions
+
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
Modified: trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/common/features/org.jboss.tools.common.text.ext.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,241 +1,235 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.common.text.ext.feature"
- label="JBoss Tools Common Text editing extensions"
- version="2.0.0"
- provider-name="JBoss, a division of Red Hat">
-
- <description url="http://www.jboss.org/tools">
- JBoss Tools Common Text editing extensions
- </description>
-
- <copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
- Eclipse Public License - v 1.0
-THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
-ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
-DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.
-1. DEFINITIONS
-"Contribution" means:
-a) in the case of the initial Contributor, the initial code and
-documentation distributed under this Agreement, and
-b) in the case of each subsequent Contributor:
-i) changes to the Program, and
-ii) additions to the Program;
-where such changes and/or additions to the Program originate
-from and are distributed by that particular Contributor. A Contribution
-'originates' from a Contributor if it was added to the Program
-by such Contributor itself or anyone acting on such Contributor's
-behalf. Contributions do not include additions to the Program
-which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii)
-are not derivative works of the Program.
-"Contributor" means any person or entity that distributes the
-Program.
-"Licensed Patents " mean patent claims licensable by a Contributor
-which are necessarily infringed by the use or sale of its Contribution
-alone or when combined with the Program.
-"Program" means the Contributions distributed in accordance with
-this Agreement.
-"Recipient" means anyone who receives the Program under this
-Agreement, including all Contributors.
-2. GRANT OF RIGHTS
-a) Subject to the terms of this Agreement, each Contributor hereby
-grants Recipient a non-exclusive, worldwide, royalty-free copyright
-license to reproduce, prepare derivative works of, publicly display,
-publicly perform, distribute and sublicense the Contribution
-of such Contributor, if any, and such derivative works, in source
-code and object code form.
-b) Subject to the terms of this Agreement, each Contributor hereby
-grants Recipient a non-exclusive, worldwide, royalty-free patent
-license under Licensed Patents to make, use, sell, offer to sell,
-import and otherwise transfer the Contribution of such Contributor,
-if any, in source code and object code form. This patent license
-shall apply to the combination of the Contribution and the Program
-if, at the time the Contribution is added by the Contributor,
-such addition of the Contribution causes such combination to
-be covered by the Licensed Patents. The patent license shall
-not apply to any other combinations which include the Contribution.
-No hardware per se is licensed hereunder.
-c) Recipient understands that although each Contributor grants
-the licenses to its Contributions set forth herein, no assurances
-are provided by any Contributor that the Program does not infringe
-the patent or other intellectual property rights of any other
-entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement
-of intellectual property rights or otherwise. As a condition
-to exercising the rights and licenses granted hereunder, each
-Recipient hereby assumes sole responsibility to secure any other
-intellectual property rights needed, if any. For example, if
-a third party patent license is required to allow Recipient to
-distribute the Program, it is Recipient's responsibility to acquire
-that license before distributing the Program.
-d) Each Contributor represents that to its knowledge it has sufficient
-copyright rights in its Contribution, if any, to grant the copyright
-license set forth in this Agreement.
-3. REQUIREMENTS
-A Contributor may choose to distribute the Program in object
-code form under its own license agreement, provided that:
-a) it complies with the terms and conditions of this Agreement;
-and
-b) its license agreement:
-i) effectively disclaims on behalf of all Contributors all warranties
-and conditions, express and implied, including warranties or
-conditions of title and non-infringement, and implied warranties
-or conditions of merchantability and fitness for a particular
-purpose;
-ii) effectively excludes on behalf of all Contributors all liability
-for damages, including direct, indirect, special, incidental
-and consequential damages, such as lost profits;
-iii) states that any provisions which differ from this Agreement
-are offered by that Contributor alone and not by any other party;
-and
-iv) states that source code for the Program is available from
-such Contributor, and informs licensees how to obtain it in a
-reasonable manner on or through a medium customarily used for
-software exchange.
-When the Program is made available in source code form:
-a) it must be made available under this Agreement; and
-b) a copy of this Agreement must be included with each copy of
-the Program.
-Contributors may not remove or alter any copyright notices contained
-within the Program.
-Each Contributor must identify itself as the originator of its
-Contribution, if any, in a manner that reasonably allows subsequent
-Recipients to identify the originator of the Contribution.
-4. COMMERCIAL DISTRIBUTION
-Commercial distributors of software may accept certain responsibilities
-with respect to end users, business partners and the like. While
-this license is intended to facilitate the commercial use of
-the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create
-potential liability for other Contributors. Therefore, if a Contributor
-includes the Program in a commercial product offering, such Contributor
-("Commercial Contributor") hereby agrees to defend and indemnify
-every other Contributor ("Indemnified Contributor") against any
-losses, damages and costs (collectively "Losses") arising from
-claims, lawsuits and other legal actions brought by a third party
-against the Indemnified Contributor to the extent caused by the
-acts or omissions of such Commercial Contributor in connection
-with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any
-claims or Losses relating to any actual or alleged intellectual
-property infringement. In order to qualify, an Indemnified Contributor
-must: a) promptly notify the Commercial Contributor in writing
-of such claim, and b) allow the Commercial Contributor to control,
-and cooperate with the Commercial Contributor in, the defense
-and any related settlement negotiations. The Indemnified Contributor
-may participate in any such claim at its own expense.
-For example, a Contributor might include the Program in a commercial
-product offering, Product X. That Contributor is then a Commercial
-Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance
-claims and warranties are such Commercial Contributor's responsibility
-alone. Under this section, the Commercial Contributor would have
-to defend claims against the other Contributors related to those
-performance claims and warranties, and if a court requires any
-other Contributor to pay any damages as a result, the Commercial
-Contributor must pay those damages.
-5. NO WARRANTY
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
-IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
-OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
-ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
-OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and
-distributing the Program and assumes all risks associated with
-its exercise of rights under this Agreement , including but not
-limited to the risks and costs of program errors, compliance
-with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations.
-6. DISCLAIMER OF LIABILITY
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
-NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
-OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
-OF SUCH DAMAGES.
-7. GENERAL
-If any provision of this Agreement is invalid or unenforceable
-under applicable law, it shall not affect the validity or enforceability
-of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be
-reformed to the minimum extent necessary to make such provision
-valid and enforceable.
-If Recipient institutes patent litigation against any entity
-(including a cross-claim or counterclaim in a lawsuit) alleging
-that the Program itself (excluding combinations of the Program
-with other software or hardware) infringes such Recipient's patent(s),
-then such Recipient's rights granted under Section 2(b) shall
-terminate as of the date such litigation is filed.
-All Recipient's rights under this Agreement shall terminate if
-it fails to comply with any of the material terms or conditions
-of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If
-all Recipient's rights under this Agreement terminate, Recipient
-agrees to cease use and distribution of the Program as soon as
-reasonably practicable. However, Recipient's obligations under
-this Agreement and any licenses granted by Recipient relating
-to the Program shall continue and survive.
-Everyone is permitted to copy and distribute copies of this Agreement,
-but in order to avoid inconsistency the Agreement is copyrighted
-and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including
-revisions) of this Agreement from time to time. No one other
-than the Agreement Steward has the right to modify this Agreement.
-The Eclipse Foundation is the initial Agreement Steward. The
-Eclipse Foundation may assign the responsibility to serve as
-the Agreement Steward to a suitable separate entity. Each new
-version of the Agreement will be given a distinguishing version
-number. The Program (including Contributions) may always be distributed
-subject to the version of the Agreement under which it was received.
-In addition, after a new version of the Agreement is published,
-Contributor may elect to distribute the Program (including its
-Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights
-or licenses to the intellectual property of any Contributor under
-this Agreement, whether expressly, by implication, estoppel or
-otherwise. All rights in the Program not expressly granted under
-this Agreement are reserved.
-This Agreement is governed by the laws of the State of New York
-and the intellectual property laws of the United States of America.
-No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose.
-Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <url>
- <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
- </url>
-
- <requires>
- <import feature="org.jboss.tools.common.core.feature" version="2.0.0"/>
- </requires>
-
- <plugin
- id="org.jboss.tools.common.text.ext"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.text.xml"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.common.text.ext.feature"
+ label="%featureName"
+ version="2.0.0"
+ provider-name="%providerName">
+
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
+ Eclipse Public License - v 1.0
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
+ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
+DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.
+1. DEFINITIONS
+"Contribution" means:
+a) in the case of the initial Contributor, the initial code and
+documentation distributed under this Agreement, and
+b) in the case of each subsequent Contributor:
+i) changes to the Program, and
+ii) additions to the Program;
+where such changes and/or additions to the Program originate
+from and are distributed by that particular Contributor. A Contribution
+'originates' from a Contributor if it was added to the Program
+by such Contributor itself or anyone acting on such Contributor's
+behalf. Contributions do not include additions to the Program
+which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii)
+are not derivative works of the Program.
+"Contributor" means any person or entity that distributes the
+Program.
+"Licensed Patents " mean patent claims licensable by a Contributor
+which are necessarily infringed by the use or sale of its Contribution
+alone or when combined with the Program.
+"Program" means the Contributions distributed in accordance with
+this Agreement.
+"Recipient" means anyone who receives the Program under this
+Agreement, including all Contributors.
+2. GRANT OF RIGHTS
+a) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free copyright
+license to reproduce, prepare derivative works of, publicly display,
+publicly perform, distribute and sublicense the Contribution
+of such Contributor, if any, and such derivative works, in source
+code and object code form.
+b) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free patent
+license under Licensed Patents to make, use, sell, offer to sell,
+import and otherwise transfer the Contribution of such Contributor,
+if any, in source code and object code form. This patent license
+shall apply to the combination of the Contribution and the Program
+if, at the time the Contribution is added by the Contributor,
+such addition of the Contribution causes such combination to
+be covered by the Licensed Patents. The patent license shall
+not apply to any other combinations which include the Contribution.
+No hardware per se is licensed hereunder.
+c) Recipient understands that although each Contributor grants
+the licenses to its Contributions set forth herein, no assurances
+are provided by any Contributor that the Program does not infringe
+the patent or other intellectual property rights of any other
+entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement
+of intellectual property rights or otherwise. As a condition
+to exercising the rights and licenses granted hereunder, each
+Recipient hereby assumes sole responsibility to secure any other
+intellectual property rights needed, if any. For example, if
+a third party patent license is required to allow Recipient to
+distribute the Program, it is Recipient's responsibility to acquire
+that license before distributing the Program.
+d) Each Contributor represents that to its knowledge it has sufficient
+copyright rights in its Contribution, if any, to grant the copyright
+license set forth in this Agreement.
+3. REQUIREMENTS
+A Contributor may choose to distribute the Program in object
+code form under its own license agreement, provided that:
+a) it complies with the terms and conditions of this Agreement;
+and
+b) its license agreement:
+i) effectively disclaims on behalf of all Contributors all warranties
+and conditions, express and implied, including warranties or
+conditions of title and non-infringement, and implied warranties
+or conditions of merchantability and fitness for a particular
+purpose;
+ii) effectively excludes on behalf of all Contributors all liability
+for damages, including direct, indirect, special, incidental
+and consequential damages, such as lost profits;
+iii) states that any provisions which differ from this Agreement
+are offered by that Contributor alone and not by any other party;
+and
+iv) states that source code for the Program is available from
+such Contributor, and informs licensees how to obtain it in a
+reasonable manner on or through a medium customarily used for
+software exchange.
+When the Program is made available in source code form:
+a) it must be made available under this Agreement; and
+b) a copy of this Agreement must be included with each copy of
+the Program.
+Contributors may not remove or alter any copyright notices contained
+within the Program.
+Each Contributor must identify itself as the originator of its
+Contribution, if any, in a manner that reasonably allows subsequent
+Recipients to identify the originator of the Contribution.
+4. COMMERCIAL DISTRIBUTION
+Commercial distributors of software may accept certain responsibilities
+with respect to end users, business partners and the like. While
+this license is intended to facilitate the commercial use of
+the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create
+potential liability for other Contributors. Therefore, if a Contributor
+includes the Program in a commercial product offering, such Contributor
+("Commercial Contributor") hereby agrees to defend and indemnify
+every other Contributor ("Indemnified Contributor") against any
+losses, damages and costs (collectively "Losses") arising from
+claims, lawsuits and other legal actions brought by a third party
+against the Indemnified Contributor to the extent caused by the
+acts or omissions of such Commercial Contributor in connection
+with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any
+claims or Losses relating to any actual or alleged intellectual
+property infringement. In order to qualify, an Indemnified Contributor
+must: a) promptly notify the Commercial Contributor in writing
+of such claim, and b) allow the Commercial Contributor to control,
+and cooperate with the Commercial Contributor in, the defense
+and any related settlement negotiations. The Indemnified Contributor
+may participate in any such claim at its own expense.
+For example, a Contributor might include the Program in a commercial
+product offering, Product X. That Contributor is then a Commercial
+Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance
+claims and warranties are such Commercial Contributor's responsibility
+alone. Under this section, the Commercial Contributor would have
+to defend claims against the other Contributors related to those
+performance claims and warranties, and if a court requires any
+other Contributor to pay any damages as a result, the Commercial
+Contributor must pay those damages.
+5. NO WARRANTY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
+IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
+ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
+OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and
+distributing the Program and assumes all risks associated with
+its exercise of rights under this Agreement , including but not
+limited to the risks and costs of program errors, compliance
+with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations.
+6. DISCLAIMER OF LIABILITY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
+NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
+OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
+OF SUCH DAMAGES.
+7. GENERAL
+If any provision of this Agreement is invalid or unenforceable
+under applicable law, it shall not affect the validity or enforceability
+of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be
+reformed to the minimum extent necessary to make such provision
+valid and enforceable.
+If Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging
+that the Program itself (excluding combinations of the Program
+with other software or hardware) infringes such Recipient's patent(s),
+then such Recipient's rights granted under Section 2(b) shall
+terminate as of the date such litigation is filed.
+All Recipient's rights under this Agreement shall terminate if
+it fails to comply with any of the material terms or conditions
+of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If
+all Recipient's rights under this Agreement terminate, Recipient
+agrees to cease use and distribution of the Program as soon as
+reasonably practicable. However, Recipient's obligations under
+this Agreement and any licenses granted by Recipient relating
+to the Program shall continue and survive.
+Everyone is permitted to copy and distribute copies of this Agreement,
+but in order to avoid inconsistency the Agreement is copyrighted
+and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including
+revisions) of this Agreement from time to time. No one other
+than the Agreement Steward has the right to modify this Agreement.
+The Eclipse Foundation is the initial Agreement Steward. The
+Eclipse Foundation may assign the responsibility to serve as
+the Agreement Steward to a suitable separate entity. Each new
+version of the Agreement will be given a distinguishing version
+number. The Program (including Contributions) may always be distributed
+subject to the version of the Agreement under which it was received.
+In addition, after a new version of the Agreement is published,
+Contributor may elect to distribute the Program (including its
+Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights
+or licenses to the intellectual property of any Contributor under
+this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under
+this Agreement are reserved.
+This Agreement is governed by the laws of the State of New York
+and the intellectual property laws of the United States of America.
+No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose.
+Each party waives its rights to a jury trial in any resulting
+litigation.
+ </license>
+
+ <url>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <requires>
+ <import feature="org.jboss.tools.common.core.feature" version="2.0.0"/>
+ </requires>
+
+ <plugin
+ id="org.jboss.tools.common.text.ext"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.text.xml"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
Modified: trunk/common/features/org.jboss.tools.common.ui.feature/build.properties
===================================================================
--- trunk/common/features/org.jboss.tools.common.ui.feature/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/common/features/org.jboss.tools.common.ui.feature/build.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1 +1,2 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties
Added: trunk/common/features/org.jboss.tools.common.ui.feature/feature.properties
===================================================================
--- trunk/common/features/org.jboss.tools.common.ui.feature/feature.properties (rev 0)
+++ trunk/common/features/org.jboss.tools.common.ui.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,38 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Tools Common UI
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=JBoss Tools Common UI
+
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+
Modified: trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/common/features/org.jboss.tools.common.ui.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,25 +1,19 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.common.ui.feature"
- label="JBoss Tools Common UI"
- version="2.0.0"
- provider-name="JBoss, a division of Red Hat">
-
- <description url="http://www.jboss.org/tools">
- JBoss Tools Common UI
- </description>
-
- <copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.common.ui.feature"
+ label="%featureName"
+ version="2.0.0"
+ provider-name="%providerName">
+
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
@@ -215,24 +209,24 @@
No party to this Agreement will bring a legal action under this
Agreement more than one year after the cause of action arose.
Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <requires>
- <import feature="org.jboss.tools.common.core.feature" version="2.0.0"/>
- <import feature="org.jboss.tools.common.text.ext.feature" version="2.0.0"/>
- </requires>
-
- <plugin
- id="org.jboss.tools.common.gef"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.model.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+litigation.
+ </license>
+
+ <requires>
+ <import feature="org.jboss.tools.common.core.feature" version="2.0.0"/>
+ <import feature="org.jboss.tools.common.text.ext.feature" version="2.0.0"/>
+ </requires>
+
+ <plugin
+ id="org.jboss.tools.common.gef"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.model.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
Modified: trunk/common/features/org.jboss.tools.common.verification.feature/build.properties
===================================================================
--- trunk/common/features/org.jboss.tools.common.verification.feature/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/common/features/org.jboss.tools.common.verification.feature/build.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1 +1,2 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties
Added: trunk/common/features/org.jboss.tools.common.verification.feature/feature.properties
===================================================================
--- trunk/common/features/org.jboss.tools.common.verification.feature/feature.properties (rev 0)
+++ trunk/common/features/org.jboss.tools.common.verification.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,38 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Tools Verification
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=JBoss Tools Verification
+
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+
Modified: trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml
===================================================================
--- trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/common/features/org.jboss.tools.common.verification.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,237 +1,231 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.common.verification.feature"
- label="JBoss Tools Verification"
- version="2.0.0"
- provider-name="JBoss, a division of Red Hat">
-
- <description url="http://www.jboss.org/tools">
- JBoss Tools Verification
- </description>
-
- <copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
- Eclipse Public License - v 1.0
-THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
-ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
-DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.
-1. DEFINITIONS
-"Contribution" means:
-a) in the case of the initial Contributor, the initial code and
-documentation distributed under this Agreement, and
-b) in the case of each subsequent Contributor:
-i) changes to the Program, and
-ii) additions to the Program;
-where such changes and/or additions to the Program originate
-from and are distributed by that particular Contributor. A Contribution
-'originates' from a Contributor if it was added to the Program
-by such Contributor itself or anyone acting on such Contributor's
-behalf. Contributions do not include additions to the Program
-which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii)
-are not derivative works of the Program.
-"Contributor" means any person or entity that distributes the
-Program.
-"Licensed Patents " mean patent claims licensable by a Contributor
-which are necessarily infringed by the use or sale of its Contribution
-alone or when combined with the Program.
-"Program" means the Contributions distributed in accordance with
-this Agreement.
-"Recipient" means anyone who receives the Program under this
-Agreement, including all Contributors.
-2. GRANT OF RIGHTS
-a) Subject to the terms of this Agreement, each Contributor hereby
-grants Recipient a non-exclusive, worldwide, royalty-free copyright
-license to reproduce, prepare derivative works of, publicly display,
-publicly perform, distribute and sublicense the Contribution
-of such Contributor, if any, and such derivative works, in source
-code and object code form.
-b) Subject to the terms of this Agreement, each Contributor hereby
-grants Recipient a non-exclusive, worldwide, royalty-free patent
-license under Licensed Patents to make, use, sell, offer to sell,
-import and otherwise transfer the Contribution of such Contributor,
-if any, in source code and object code form. This patent license
-shall apply to the combination of the Contribution and the Program
-if, at the time the Contribution is added by the Contributor,
-such addition of the Contribution causes such combination to
-be covered by the Licensed Patents. The patent license shall
-not apply to any other combinations which include the Contribution.
-No hardware per se is licensed hereunder.
-c) Recipient understands that although each Contributor grants
-the licenses to its Contributions set forth herein, no assurances
-are provided by any Contributor that the Program does not infringe
-the patent or other intellectual property rights of any other
-entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement
-of intellectual property rights or otherwise. As a condition
-to exercising the rights and licenses granted hereunder, each
-Recipient hereby assumes sole responsibility to secure any other
-intellectual property rights needed, if any. For example, if
-a third party patent license is required to allow Recipient to
-distribute the Program, it is Recipient's responsibility to acquire
-that license before distributing the Program.
-d) Each Contributor represents that to its knowledge it has sufficient
-copyright rights in its Contribution, if any, to grant the copyright
-license set forth in this Agreement.
-3. REQUIREMENTS
-A Contributor may choose to distribute the Program in object
-code form under its own license agreement, provided that:
-a) it complies with the terms and conditions of this Agreement;
-and
-b) its license agreement:
-i) effectively disclaims on behalf of all Contributors all warranties
-and conditions, express and implied, including warranties or
-conditions of title and non-infringement, and implied warranties
-or conditions of merchantability and fitness for a particular
-purpose;
-ii) effectively excludes on behalf of all Contributors all liability
-for damages, including direct, indirect, special, incidental
-and consequential damages, such as lost profits;
-iii) states that any provisions which differ from this Agreement
-are offered by that Contributor alone and not by any other party;
-and
-iv) states that source code for the Program is available from
-such Contributor, and informs licensees how to obtain it in a
-reasonable manner on or through a medium customarily used for
-software exchange.
-When the Program is made available in source code form:
-a) it must be made available under this Agreement; and
-b) a copy of this Agreement must be included with each copy of
-the Program.
-Contributors may not remove or alter any copyright notices contained
-within the Program.
-Each Contributor must identify itself as the originator of its
-Contribution, if any, in a manner that reasonably allows subsequent
-Recipients to identify the originator of the Contribution.
-4. COMMERCIAL DISTRIBUTION
-Commercial distributors of software may accept certain responsibilities
-with respect to end users, business partners and the like. While
-this license is intended to facilitate the commercial use of
-the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create
-potential liability for other Contributors. Therefore, if a Contributor
-includes the Program in a commercial product offering, such Contributor
-("Commercial Contributor") hereby agrees to defend and indemnify
-every other Contributor ("Indemnified Contributor") against any
-losses, damages and costs (collectively "Losses") arising from
-claims, lawsuits and other legal actions brought by a third party
-against the Indemnified Contributor to the extent caused by the
-acts or omissions of such Commercial Contributor in connection
-with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any
-claims or Losses relating to any actual or alleged intellectual
-property infringement. In order to qualify, an Indemnified Contributor
-must: a) promptly notify the Commercial Contributor in writing
-of such claim, and b) allow the Commercial Contributor to control,
-and cooperate with the Commercial Contributor in, the defense
-and any related settlement negotiations. The Indemnified Contributor
-may participate in any such claim at its own expense.
-For example, a Contributor might include the Program in a commercial
-product offering, Product X. That Contributor is then a Commercial
-Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance
-claims and warranties are such Commercial Contributor's responsibility
-alone. Under this section, the Commercial Contributor would have
-to defend claims against the other Contributors related to those
-performance claims and warranties, and if a court requires any
-other Contributor to pay any damages as a result, the Commercial
-Contributor must pay those damages.
-5. NO WARRANTY
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
-IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
-OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
-ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
-OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and
-distributing the Program and assumes all risks associated with
-its exercise of rights under this Agreement , including but not
-limited to the risks and costs of program errors, compliance
-with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations.
-6. DISCLAIMER OF LIABILITY
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
-NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
-OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
-OF SUCH DAMAGES.
-7. GENERAL
-If any provision of this Agreement is invalid or unenforceable
-under applicable law, it shall not affect the validity or enforceability
-of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be
-reformed to the minimum extent necessary to make such provision
-valid and enforceable.
-If Recipient institutes patent litigation against any entity
-(including a cross-claim or counterclaim in a lawsuit) alleging
-that the Program itself (excluding combinations of the Program
-with other software or hardware) infringes such Recipient's patent(s),
-then such Recipient's rights granted under Section 2(b) shall
-terminate as of the date such litigation is filed.
-All Recipient's rights under this Agreement shall terminate if
-it fails to comply with any of the material terms or conditions
-of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If
-all Recipient's rights under this Agreement terminate, Recipient
-agrees to cease use and distribution of the Program as soon as
-reasonably practicable. However, Recipient's obligations under
-this Agreement and any licenses granted by Recipient relating
-to the Program shall continue and survive.
-Everyone is permitted to copy and distribute copies of this Agreement,
-but in order to avoid inconsistency the Agreement is copyrighted
-and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including
-revisions) of this Agreement from time to time. No one other
-than the Agreement Steward has the right to modify this Agreement.
-The Eclipse Foundation is the initial Agreement Steward. The
-Eclipse Foundation may assign the responsibility to serve as
-the Agreement Steward to a suitable separate entity. Each new
-version of the Agreement will be given a distinguishing version
-number. The Program (including Contributions) may always be distributed
-subject to the version of the Agreement under which it was received.
-In addition, after a new version of the Agreement is published,
-Contributor may elect to distribute the Program (including its
-Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights
-or licenses to the intellectual property of any Contributor under
-this Agreement, whether expressly, by implication, estoppel or
-otherwise. All rights in the Program not expressly granted under
-this Agreement are reserved.
-This Agreement is governed by the laws of the State of New York
-and the intellectual property laws of the United States of America.
-No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose.
-Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <url>
- <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
- </url>
-
- <plugin
- id="org.jboss.tools.common.verification"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.common.verification.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.common.verification.feature"
+ label="%featureName"
+ version="2.0.0"
+ provider-name="%providerName">
+
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
+ Eclipse Public License - v 1.0
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
+ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
+DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.
+1. DEFINITIONS
+"Contribution" means:
+a) in the case of the initial Contributor, the initial code and
+documentation distributed under this Agreement, and
+b) in the case of each subsequent Contributor:
+i) changes to the Program, and
+ii) additions to the Program;
+where such changes and/or additions to the Program originate
+from and are distributed by that particular Contributor. A Contribution
+'originates' from a Contributor if it was added to the Program
+by such Contributor itself or anyone acting on such Contributor's
+behalf. Contributions do not include additions to the Program
+which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii)
+are not derivative works of the Program.
+"Contributor" means any person or entity that distributes the
+Program.
+"Licensed Patents " mean patent claims licensable by a Contributor
+which are necessarily infringed by the use or sale of its Contribution
+alone or when combined with the Program.
+"Program" means the Contributions distributed in accordance with
+this Agreement.
+"Recipient" means anyone who receives the Program under this
+Agreement, including all Contributors.
+2. GRANT OF RIGHTS
+a) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free copyright
+license to reproduce, prepare derivative works of, publicly display,
+publicly perform, distribute and sublicense the Contribution
+of such Contributor, if any, and such derivative works, in source
+code and object code form.
+b) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free patent
+license under Licensed Patents to make, use, sell, offer to sell,
+import and otherwise transfer the Contribution of such Contributor,
+if any, in source code and object code form. This patent license
+shall apply to the combination of the Contribution and the Program
+if, at the time the Contribution is added by the Contributor,
+such addition of the Contribution causes such combination to
+be covered by the Licensed Patents. The patent license shall
+not apply to any other combinations which include the Contribution.
+No hardware per se is licensed hereunder.
+c) Recipient understands that although each Contributor grants
+the licenses to its Contributions set forth herein, no assurances
+are provided by any Contributor that the Program does not infringe
+the patent or other intellectual property rights of any other
+entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement
+of intellectual property rights or otherwise. As a condition
+to exercising the rights and licenses granted hereunder, each
+Recipient hereby assumes sole responsibility to secure any other
+intellectual property rights needed, if any. For example, if
+a third party patent license is required to allow Recipient to
+distribute the Program, it is Recipient's responsibility to acquire
+that license before distributing the Program.
+d) Each Contributor represents that to its knowledge it has sufficient
+copyright rights in its Contribution, if any, to grant the copyright
+license set forth in this Agreement.
+3. REQUIREMENTS
+A Contributor may choose to distribute the Program in object
+code form under its own license agreement, provided that:
+a) it complies with the terms and conditions of this Agreement;
+and
+b) its license agreement:
+i) effectively disclaims on behalf of all Contributors all warranties
+and conditions, express and implied, including warranties or
+conditions of title and non-infringement, and implied warranties
+or conditions of merchantability and fitness for a particular
+purpose;
+ii) effectively excludes on behalf of all Contributors all liability
+for damages, including direct, indirect, special, incidental
+and consequential damages, such as lost profits;
+iii) states that any provisions which differ from this Agreement
+are offered by that Contributor alone and not by any other party;
+and
+iv) states that source code for the Program is available from
+such Contributor, and informs licensees how to obtain it in a
+reasonable manner on or through a medium customarily used for
+software exchange.
+When the Program is made available in source code form:
+a) it must be made available under this Agreement; and
+b) a copy of this Agreement must be included with each copy of
+the Program.
+Contributors may not remove or alter any copyright notices contained
+within the Program.
+Each Contributor must identify itself as the originator of its
+Contribution, if any, in a manner that reasonably allows subsequent
+Recipients to identify the originator of the Contribution.
+4. COMMERCIAL DISTRIBUTION
+Commercial distributors of software may accept certain responsibilities
+with respect to end users, business partners and the like. While
+this license is intended to facilitate the commercial use of
+the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create
+potential liability for other Contributors. Therefore, if a Contributor
+includes the Program in a commercial product offering, such Contributor
+("Commercial Contributor") hereby agrees to defend and indemnify
+every other Contributor ("Indemnified Contributor") against any
+losses, damages and costs (collectively "Losses") arising from
+claims, lawsuits and other legal actions brought by a third party
+against the Indemnified Contributor to the extent caused by the
+acts or omissions of such Commercial Contributor in connection
+with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any
+claims or Losses relating to any actual or alleged intellectual
+property infringement. In order to qualify, an Indemnified Contributor
+must: a) promptly notify the Commercial Contributor in writing
+of such claim, and b) allow the Commercial Contributor to control,
+and cooperate with the Commercial Contributor in, the defense
+and any related settlement negotiations. The Indemnified Contributor
+may participate in any such claim at its own expense.
+For example, a Contributor might include the Program in a commercial
+product offering, Product X. That Contributor is then a Commercial
+Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance
+claims and warranties are such Commercial Contributor's responsibility
+alone. Under this section, the Commercial Contributor would have
+to defend claims against the other Contributors related to those
+performance claims and warranties, and if a court requires any
+other Contributor to pay any damages as a result, the Commercial
+Contributor must pay those damages.
+5. NO WARRANTY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
+IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
+ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
+OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and
+distributing the Program and assumes all risks associated with
+its exercise of rights under this Agreement , including but not
+limited to the risks and costs of program errors, compliance
+with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations.
+6. DISCLAIMER OF LIABILITY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
+NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
+OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
+OF SUCH DAMAGES.
+7. GENERAL
+If any provision of this Agreement is invalid or unenforceable
+under applicable law, it shall not affect the validity or enforceability
+of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be
+reformed to the minimum extent necessary to make such provision
+valid and enforceable.
+If Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging
+that the Program itself (excluding combinations of the Program
+with other software or hardware) infringes such Recipient's patent(s),
+then such Recipient's rights granted under Section 2(b) shall
+terminate as of the date such litigation is filed.
+All Recipient's rights under this Agreement shall terminate if
+it fails to comply with any of the material terms or conditions
+of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If
+all Recipient's rights under this Agreement terminate, Recipient
+agrees to cease use and distribution of the Program as soon as
+reasonably practicable. However, Recipient's obligations under
+this Agreement and any licenses granted by Recipient relating
+to the Program shall continue and survive.
+Everyone is permitted to copy and distribute copies of this Agreement,
+but in order to avoid inconsistency the Agreement is copyrighted
+and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including
+revisions) of this Agreement from time to time. No one other
+than the Agreement Steward has the right to modify this Agreement.
+The Eclipse Foundation is the initial Agreement Steward. The
+Eclipse Foundation may assign the responsibility to serve as
+the Agreement Steward to a suitable separate entity. Each new
+version of the Agreement will be given a distinguishing version
+number. The Program (including Contributions) may always be distributed
+subject to the version of the Agreement under which it was received.
+In addition, after a new version of the Agreement is published,
+Contributor may elect to distribute the Program (including its
+Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights
+or licenses to the intellectual property of any Contributor under
+this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under
+this Agreement are reserved.
+This Agreement is governed by the laws of the State of New York
+and the intellectual property laws of the United States of America.
+No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose.
+Each party waives its rights to a jury trial in any resulting
+litigation.
+ </license>
+
+ <url>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ </url>
+
+ <plugin
+ id="org.jboss.tools.common.verification"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.common.verification.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
Modified: trunk/esb/features/org.jboss.tools.esb.feature/feature.xml
===================================================================
--- trunk/esb/features/org.jboss.tools.esb.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/esb/features/org.jboss.tools.esb.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.jboss.tools.esb.feature"
- label="JBoss ESB Tools"
+ label="%featureName"
version="1.0.0"
- provider-name="JBoss, a division of Red Hat."
+ provider-name="%providerName"
plugin="org.jboss.tools.esb.ui">
<description>
Modified: trunk/examples/features/org.jboss.tools.project.examples.feature/feature.properties
===================================================================
--- trunk/examples/features/org.jboss.tools.project.examples.feature/feature.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/examples/features/org.jboss.tools.project.examples.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -32,9 +32,9 @@
All rights reserved. This program and the accompanying materials\n\
are made available under the terms of the Eclipse Public License v1.0\n\
which accompanies this distribution, and is available at\n\
-http://www.eclipse.org/legal/epl-v10.html\n\
+http\://www.eclipse.org/legal/epl-v10.html\n\
\n\
-Contributors:\n\
+Contributors\:\n\
JBoss, a division of Red Hat - Initial implementation.\n
############### end of copyright property ####################################
Modified: trunk/flow/features/org.jboss.tools.flow.common.feature/build.properties
===================================================================
--- trunk/flow/features/org.jboss.tools.flow.common.feature/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/flow/features/org.jboss.tools.flow.common.feature/build.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1 +1,2 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties
Added: trunk/flow/features/org.jboss.tools.flow.common.feature/feature.properties
===================================================================
--- trunk/flow/features/org.jboss.tools.flow.common.feature/feature.properties (rev 0)
+++ trunk/flow/features/org.jboss.tools.flow.common.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,29 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=Flow Common Feature
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=
\ No newline at end of file
Modified: trunk/flow/features/org.jboss.tools.flow.common.feature/feature.xml
===================================================================
--- trunk/flow/features/org.jboss.tools.flow.common.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/flow/features/org.jboss.tools.flow.common.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.jboss.tools.flow.common.feature"
- label="Flow Common Feature"
+ label="%featureName"
version="1.0.0"
- provider-name="JBoss, a Division of Red Hat">
+ provider-name="%providerName">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
Modified: trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.properties
===================================================================
--- trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -23,6 +23,8 @@
# "updateSiteName" property - label for the update site
updateSiteName=JBossTools Update Site
+devUpdateSiteName=JBossTools Development Update Site
+
# "description" property - description of the feature
description=FreeMarkerIDE provides editor for FreeMarker templates
Modified: trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.xml
===================================================================
--- trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/freemarker/features/org.jboss.ide.eclipse.freemarker.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.jboss.ide.eclipse.freemarker.feature"
- label="FreeMarker IDE"
+ label="%featureName"
version="1.0.0"
- provider-name="JBoss, a division of Red Hat"
+ provider-name="%providerName"
plugin="org.jboss.ide.eclipse.freemarker">
<description url="http://www.jboss.org/tools">
- FreeMarkerIDE provides editor for FreeMarker templates
+ %description
</description>
<copyright>
@@ -19,7 +19,7 @@
</license>
<url>
- <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
</url>
<plugin
Modified: trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.properties
===================================================================
--- trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,31 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=Hibernate Tools
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=Hibernate Tools Eclipse Plugin provides development wizards,\n\
+a query console and a mapping editor for Hibernate 3.\n\
+Also includes hibernate-tools.jar for use with standalone Ant tools.
Modified: trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.xml
===================================================================
--- trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/hibernatetools/features/org.hibernate.eclipse.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,15 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.hibernate.eclipse.feature"
- label="Hibernate Tools"
+ label="%featureName"
version="3.2.0.beta7"
- provider-name="JBoss, a division of Red Hat"
+ provider-name="%providerName"
plugin="org.hibernate.eclipse">
<description url="http://tools.hibernate.org">
- Hibernate Tools Eclipse Plugin provides development wizards,
-a query console and a mapping editor for Hibernate 3.
-Also includes hibernate-tools.jar for use with standalone Ant tools.
+ %description
</description>
<license url="http://osdn.dl.sourceforge.net/sourceforge/jboss/LGPL.html">
@@ -417,7 +415,7 @@
</license>
<url>
- <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
</url>
<requires>
Modified: trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/build.properties
===================================================================
--- trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/build.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1 +1,2 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties
Added: trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/feature.properties
===================================================================
--- trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/feature.properties (rev 0)
+++ trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,29 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=jPDL4 Feature
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=
\ No newline at end of file
Modified: trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/feature.xml
===================================================================
--- trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/jbpm/features/org.jboss.tools.flow.jpdl4.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.jboss.tools.flow.jpdl4.feature"
- label="jPDL4 Feature"
+ label="%featureName"
version="1.0.0"
- provider-name="JBoss, a Division of Red Hat">
+ provider-name="%providerName">
<description url="http://www.example.com/description">
[Enter Feature Description here.]
Modified: trunk/jbpm/features/org.jboss.tools.jbpm.convert.feature/feature.xml
===================================================================
--- trunk/jbpm/features/org.jboss.tools.jbpm.convert.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/jbpm/features/org.jboss.tools.jbpm.convert.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.jboss.tools.jbpm.convert.feature"
- label="jBPM Convert"
+ label="%featureName"
version="1.0.0"
- provider-name="JBoss, a division of Red Hat"
+ provider-name="%providerName"
plugin="org.jboss.tools.jbpm.convert">
<description>
Modified: trunk/jsf/features/org.jboss.tools.jsf.feature/build.properties
===================================================================
--- trunk/jsf/features/org.jboss.tools.jsf.feature/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/jsf/features/org.jboss.tools.jsf.feature/build.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,2 +1,3 @@
bin.includes = feature.xml,\
- description.html
+ description.html,\
+ feature.properties
Added: trunk/jsf/features/org.jboss.tools.jsf.feature/feature.properties
===================================================================
--- trunk/jsf/features/org.jboss.tools.jsf.feature/feature.properties (rev 0)
+++ trunk/jsf/features/org.jboss.tools.jsf.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,38 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Tools JSF
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=JBoss Tools JSF
+
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+
Modified: trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml
===================================================================
--- trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/jsf/features/org.jboss.tools.jsf.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,26 +1,20 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.jsf_feature"
- label="JBoss Tools JSF"
- version="2.0.0"
- provider-name="JBoss, a division of Red Hat"
- image="jsf.jpg">
-
- <description url="http://www.jboss.org/tools">
- JBoss Tools JSF
- </description>
-
- <copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.jsf_feature"
+ label="%featureName"
+ version="2.0.0"
+ provider-name="%providerName"
+ image="jsf.jpg">
+
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
@@ -216,82 +210,82 @@
No party to this Agreement will bring a legal action under this
Agreement more than one year after the cause of action arose.
Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <plugin
- id="org.jboss.tools.jsf"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.verification"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.text.ext"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.text.ext.facelets"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.text.ext.richfaces"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.facelets"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.richfaces"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.seam"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.ajax4jsf"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.jsf"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
- <plugin
- id="org.jboss.tools.jsf.vpe.myfaces"
- download-size="0"
- install-size="0"
- version="0.0.0"
- unpack="false"/>
-
-</feature>
+litigation.
+ </license>
+
+ <plugin
+ id="org.jboss.tools.jsf"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.verification"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.text.ext"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.text.ext.facelets"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.text.ext.richfaces"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.facelets"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.richfaces"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.seam"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.ajax4jsf"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.jsf"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+ <plugin
+ id="org.jboss.tools.jsf.vpe.myfaces"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ unpack="false"/>
+
+</feature>
Modified: trunk/jsf/features/org.jboss.tools.richfaces.feature/build.properties
===================================================================
--- trunk/jsf/features/org.jboss.tools.richfaces.feature/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/jsf/features/org.jboss.tools.richfaces.feature/build.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,2 +1,3 @@
bin.includes = feature.xml,\
- epl-v10.html
+ epl-v10.html,\
+ feature.properties
Added: trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.properties
===================================================================
--- trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.properties (rev 0)
+++ trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,37 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Tools RichFaces
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=Visual editing
+
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
Modified: trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml
===================================================================
--- trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/jsf/features/org.jboss.tools.richfaces.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,23 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.jboss.tools.richfaces.feature"
- label="JBoss Tools RichFaces"
+ label="%featureName"
version="2.0.0"
- provider-name="JBoss, a division of Red Hat"
+ provider-name="%providerName"
plugin="org.jboss.tools.vpe">
<description url="http://www.jboss.org/tools">
- Visual editing
+ %description
</description>
<copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ %copyright
</copyright>
<license url="http://www.eclipse.org/legal/epl-v10.html">
Modified: trunk/jst/features/org.jboss.tools.jst.feature/build.properties
===================================================================
--- trunk/jst/features/org.jboss.tools.jst.feature/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/jst/features/org.jboss.tools.jst.feature/build.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1 +1,2 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties
Added: trunk/jst/features/org.jboss.tools.jst.feature/feature.properties
===================================================================
--- trunk/jst/features/org.jboss.tools.jst.feature/feature.properties (rev 0)
+++ trunk/jst/features/org.jboss.tools.jst.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,38 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Tools Java Standard Tools
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=JBoss Tools Java Standard Tools
+
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+
Modified: trunk/jst/features/org.jboss.tools.jst.feature/feature.xml
===================================================================
--- trunk/jst/features/org.jboss.tools.jst.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/jst/features/org.jboss.tools.jst.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,24 +1,18 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.jst_feature"
- label="JBoss Tools Java Standard Tools"
- version="2.0.0">
-
- <description url="http://www.jboss.org/tools">
- JBoss Tools Java Standard Tools
- </description>
-
- <copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.jst_feature"
+ label="%featureName"
+ version="2.0.0">
+
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
@@ -214,49 +208,49 @@
No party to this Agreement will bring a legal action under this
Agreement more than one year after the cause of action arose.
Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <plugin
- id="org.jboss.tools.jst.web"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web.debug"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web.debug.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web.verification"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.jsp"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.firstrun"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+litigation.
+ </license>
+
+ <plugin
+ id="org.jboss.tools.jst.web"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.debug"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.debug.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.verification"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.jsp"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.firstrun"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
Modified: trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/build.properties
===================================================================
--- trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/build.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1 +1,2 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties
Added: trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/feature.properties
===================================================================
--- trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/feature.properties (rev 0)
+++ trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,38 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Tools Tiles
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=JBoss Tools Tiles Support
+
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+
Modified: trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/feature.xml
===================================================================
--- trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/jst/features/org.jboss.tools.jst.web.tiles.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,232 +1,226 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.jst.web.tiles_feature"
- label="JBoss Tools Tiles"
- version="2.0.0">
-
- <description url="http://www.jboss.org/tools">
- JBoss Tools Tiles Support
- </description>
-
- <copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
- Eclipse Public License - v 1.0
-THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
-ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
-DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
-OF THIS AGREEMENT.
-1. DEFINITIONS
-"Contribution" means:
-a) in the case of the initial Contributor, the initial code and
-documentation distributed under this Agreement, and
-b) in the case of each subsequent Contributor:
-i) changes to the Program, and
-ii) additions to the Program;
-where such changes and/or additions to the Program originate
-from and are distributed by that particular Contributor. A Contribution
-'originates' from a Contributor if it was added to the Program
-by such Contributor itself or anyone acting on such Contributor's
-behalf. Contributions do not include additions to the Program
-which: (i) are separate modules of software distributed in conjunction
-with the Program under their own license agreement, and (ii)
-are not derivative works of the Program.
-"Contributor" means any person or entity that distributes the
-Program.
-"Licensed Patents " mean patent claims licensable by a Contributor
-which are necessarily infringed by the use or sale of its Contribution
-alone or when combined with the Program.
-"Program" means the Contributions distributed in accordance with
-this Agreement.
-"Recipient" means anyone who receives the Program under this
-Agreement, including all Contributors.
-2. GRANT OF RIGHTS
-a) Subject to the terms of this Agreement, each Contributor hereby
-grants Recipient a non-exclusive, worldwide, royalty-free copyright
-license to reproduce, prepare derivative works of, publicly display,
-publicly perform, distribute and sublicense the Contribution
-of such Contributor, if any, and such derivative works, in source
-code and object code form.
-b) Subject to the terms of this Agreement, each Contributor hereby
-grants Recipient a non-exclusive, worldwide, royalty-free patent
-license under Licensed Patents to make, use, sell, offer to sell,
-import and otherwise transfer the Contribution of such Contributor,
-if any, in source code and object code form. This patent license
-shall apply to the combination of the Contribution and the Program
-if, at the time the Contribution is added by the Contributor,
-such addition of the Contribution causes such combination to
-be covered by the Licensed Patents. The patent license shall
-not apply to any other combinations which include the Contribution.
-No hardware per se is licensed hereunder.
-c) Recipient understands that although each Contributor grants
-the licenses to its Contributions set forth herein, no assurances
-are provided by any Contributor that the Program does not infringe
-the patent or other intellectual property rights of any other
-entity. Each Contributor disclaims any liability to Recipient
-for claims brought by any other entity based on infringement
-of intellectual property rights or otherwise. As a condition
-to exercising the rights and licenses granted hereunder, each
-Recipient hereby assumes sole responsibility to secure any other
-intellectual property rights needed, if any. For example, if
-a third party patent license is required to allow Recipient to
-distribute the Program, it is Recipient's responsibility to acquire
-that license before distributing the Program.
-d) Each Contributor represents that to its knowledge it has sufficient
-copyright rights in its Contribution, if any, to grant the copyright
-license set forth in this Agreement.
-3. REQUIREMENTS
-A Contributor may choose to distribute the Program in object
-code form under its own license agreement, provided that:
-a) it complies with the terms and conditions of this Agreement;
-and
-b) its license agreement:
-i) effectively disclaims on behalf of all Contributors all warranties
-and conditions, express and implied, including warranties or
-conditions of title and non-infringement, and implied warranties
-or conditions of merchantability and fitness for a particular
-purpose;
-ii) effectively excludes on behalf of all Contributors all liability
-for damages, including direct, indirect, special, incidental
-and consequential damages, such as lost profits;
-iii) states that any provisions which differ from this Agreement
-are offered by that Contributor alone and not by any other party;
-and
-iv) states that source code for the Program is available from
-such Contributor, and informs licensees how to obtain it in a
-reasonable manner on or through a medium customarily used for
-software exchange.
-When the Program is made available in source code form:
-a) it must be made available under this Agreement; and
-b) a copy of this Agreement must be included with each copy of
-the Program.
-Contributors may not remove or alter any copyright notices contained
-within the Program.
-Each Contributor must identify itself as the originator of its
-Contribution, if any, in a manner that reasonably allows subsequent
-Recipients to identify the originator of the Contribution.
-4. COMMERCIAL DISTRIBUTION
-Commercial distributors of software may accept certain responsibilities
-with respect to end users, business partners and the like. While
-this license is intended to facilitate the commercial use of
-the Program, the Contributor who includes the Program in a commercial
-product offering should do so in a manner which does not create
-potential liability for other Contributors. Therefore, if a Contributor
-includes the Program in a commercial product offering, such Contributor
-("Commercial Contributor") hereby agrees to defend and indemnify
-every other Contributor ("Indemnified Contributor") against any
-losses, damages and costs (collectively "Losses") arising from
-claims, lawsuits and other legal actions brought by a third party
-against the Indemnified Contributor to the extent caused by the
-acts or omissions of such Commercial Contributor in connection
-with its distribution of the Program in a commercial product
-offering. The obligations in this section do not apply to any
-claims or Losses relating to any actual or alleged intellectual
-property infringement. In order to qualify, an Indemnified Contributor
-must: a) promptly notify the Commercial Contributor in writing
-of such claim, and b) allow the Commercial Contributor to control,
-and cooperate with the Commercial Contributor in, the defense
-and any related settlement negotiations. The Indemnified Contributor
-may participate in any such claim at its own expense.
-For example, a Contributor might include the Program in a commercial
-product offering, Product X. That Contributor is then a Commercial
-Contributor. If that Commercial Contributor then makes performance
-claims, or offers warranties related to Product X, those performance
-claims and warranties are such Commercial Contributor's responsibility
-alone. Under this section, the Commercial Contributor would have
-to defend claims against the other Contributors related to those
-performance claims and warranties, and if a court requires any
-other Contributor to pay any damages as a result, the Commercial
-Contributor must pay those damages.
-5. NO WARRANTY
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
-IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
-OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
-ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
-OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
-responsible for determining the appropriateness of using and
-distributing the Program and assumes all risks associated with
-its exercise of rights under this Agreement , including but not
-limited to the risks and costs of program errors, compliance
-with applicable laws, damage to or loss of data, programs or
-equipment, and unavailability or interruption of operations.
-6. DISCLAIMER OF LIABILITY
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
-NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
-INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
-OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
-OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
-OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
-OF SUCH DAMAGES.
-7. GENERAL
-If any provision of this Agreement is invalid or unenforceable
-under applicable law, it shall not affect the validity or enforceability
-of the remainder of the terms of this Agreement, and without
-further action by the parties hereto, such provision shall be
-reformed to the minimum extent necessary to make such provision
-valid and enforceable.
-If Recipient institutes patent litigation against any entity
-(including a cross-claim or counterclaim in a lawsuit) alleging
-that the Program itself (excluding combinations of the Program
-with other software or hardware) infringes such Recipient's patent(s),
-then such Recipient's rights granted under Section 2(b) shall
-terminate as of the date such litigation is filed.
-All Recipient's rights under this Agreement shall terminate if
-it fails to comply with any of the material terms or conditions
-of this Agreement and does not cure such failure in a reasonable
-period of time after becoming aware of such noncompliance. If
-all Recipient's rights under this Agreement terminate, Recipient
-agrees to cease use and distribution of the Program as soon as
-reasonably practicable. However, Recipient's obligations under
-this Agreement and any licenses granted by Recipient relating
-to the Program shall continue and survive.
-Everyone is permitted to copy and distribute copies of this Agreement,
-but in order to avoid inconsistency the Agreement is copyrighted
-and may only be modified in the following manner. The Agreement
-Steward reserves the right to publish new versions (including
-revisions) of this Agreement from time to time. No one other
-than the Agreement Steward has the right to modify this Agreement.
-The Eclipse Foundation is the initial Agreement Steward. The
-Eclipse Foundation may assign the responsibility to serve as
-the Agreement Steward to a suitable separate entity. Each new
-version of the Agreement will be given a distinguishing version
-number. The Program (including Contributions) may always be distributed
-subject to the version of the Agreement under which it was received.
-In addition, after a new version of the Agreement is published,
-Contributor may elect to distribute the Program (including its
-Contributions) under the new version. Except as expressly stated
-in Sections 2(a) and 2(b) above, Recipient receives no rights
-or licenses to the intellectual property of any Contributor under
-this Agreement, whether expressly, by implication, estoppel or
-otherwise. All rights in the Program not expressly granted under
-this Agreement are reserved.
-This Agreement is governed by the laws of the State of New York
-and the intellectual property laws of the United States of America.
-No party to this Agreement will bring a legal action under this
-Agreement more than one year after the cause of action arose.
-Each party waives its rights to a jury trial in any resulting
-litigation.
- </license>
-
- <plugin
- id="org.jboss.tools.jst.web.tiles"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.jst.web.tiles.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.jst.web.tiles_feature"
+ label="%featureName"
+ version="2.0.0">
+
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
+ Eclipse Public License - v 1.0
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS
+ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR
+DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE
+OF THIS AGREEMENT.
+1. DEFINITIONS
+"Contribution" means:
+a) in the case of the initial Contributor, the initial code and
+documentation distributed under this Agreement, and
+b) in the case of each subsequent Contributor:
+i) changes to the Program, and
+ii) additions to the Program;
+where such changes and/or additions to the Program originate
+from and are distributed by that particular Contributor. A Contribution
+'originates' from a Contributor if it was added to the Program
+by such Contributor itself or anyone acting on such Contributor's
+behalf. Contributions do not include additions to the Program
+which: (i) are separate modules of software distributed in conjunction
+with the Program under their own license agreement, and (ii)
+are not derivative works of the Program.
+"Contributor" means any person or entity that distributes the
+Program.
+"Licensed Patents " mean patent claims licensable by a Contributor
+which are necessarily infringed by the use or sale of its Contribution
+alone or when combined with the Program.
+"Program" means the Contributions distributed in accordance with
+this Agreement.
+"Recipient" means anyone who receives the Program under this
+Agreement, including all Contributors.
+2. GRANT OF RIGHTS
+a) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free copyright
+license to reproduce, prepare derivative works of, publicly display,
+publicly perform, distribute and sublicense the Contribution
+of such Contributor, if any, and such derivative works, in source
+code and object code form.
+b) Subject to the terms of this Agreement, each Contributor hereby
+grants Recipient a non-exclusive, worldwide, royalty-free patent
+license under Licensed Patents to make, use, sell, offer to sell,
+import and otherwise transfer the Contribution of such Contributor,
+if any, in source code and object code form. This patent license
+shall apply to the combination of the Contribution and the Program
+if, at the time the Contribution is added by the Contributor,
+such addition of the Contribution causes such combination to
+be covered by the Licensed Patents. The patent license shall
+not apply to any other combinations which include the Contribution.
+No hardware per se is licensed hereunder.
+c) Recipient understands that although each Contributor grants
+the licenses to its Contributions set forth herein, no assurances
+are provided by any Contributor that the Program does not infringe
+the patent or other intellectual property rights of any other
+entity. Each Contributor disclaims any liability to Recipient
+for claims brought by any other entity based on infringement
+of intellectual property rights or otherwise. As a condition
+to exercising the rights and licenses granted hereunder, each
+Recipient hereby assumes sole responsibility to secure any other
+intellectual property rights needed, if any. For example, if
+a third party patent license is required to allow Recipient to
+distribute the Program, it is Recipient's responsibility to acquire
+that license before distributing the Program.
+d) Each Contributor represents that to its knowledge it has sufficient
+copyright rights in its Contribution, if any, to grant the copyright
+license set forth in this Agreement.
+3. REQUIREMENTS
+A Contributor may choose to distribute the Program in object
+code form under its own license agreement, provided that:
+a) it complies with the terms and conditions of this Agreement;
+and
+b) its license agreement:
+i) effectively disclaims on behalf of all Contributors all warranties
+and conditions, express and implied, including warranties or
+conditions of title and non-infringement, and implied warranties
+or conditions of merchantability and fitness for a particular
+purpose;
+ii) effectively excludes on behalf of all Contributors all liability
+for damages, including direct, indirect, special, incidental
+and consequential damages, such as lost profits;
+iii) states that any provisions which differ from this Agreement
+are offered by that Contributor alone and not by any other party;
+and
+iv) states that source code for the Program is available from
+such Contributor, and informs licensees how to obtain it in a
+reasonable manner on or through a medium customarily used for
+software exchange.
+When the Program is made available in source code form:
+a) it must be made available under this Agreement; and
+b) a copy of this Agreement must be included with each copy of
+the Program.
+Contributors may not remove or alter any copyright notices contained
+within the Program.
+Each Contributor must identify itself as the originator of its
+Contribution, if any, in a manner that reasonably allows subsequent
+Recipients to identify the originator of the Contribution.
+4. COMMERCIAL DISTRIBUTION
+Commercial distributors of software may accept certain responsibilities
+with respect to end users, business partners and the like. While
+this license is intended to facilitate the commercial use of
+the Program, the Contributor who includes the Program in a commercial
+product offering should do so in a manner which does not create
+potential liability for other Contributors. Therefore, if a Contributor
+includes the Program in a commercial product offering, such Contributor
+("Commercial Contributor") hereby agrees to defend and indemnify
+every other Contributor ("Indemnified Contributor") against any
+losses, damages and costs (collectively "Losses") arising from
+claims, lawsuits and other legal actions brought by a third party
+against the Indemnified Contributor to the extent caused by the
+acts or omissions of such Commercial Contributor in connection
+with its distribution of the Program in a commercial product
+offering. The obligations in this section do not apply to any
+claims or Losses relating to any actual or alleged intellectual
+property infringement. In order to qualify, an Indemnified Contributor
+must: a) promptly notify the Commercial Contributor in writing
+of such claim, and b) allow the Commercial Contributor to control,
+and cooperate with the Commercial Contributor in, the defense
+and any related settlement negotiations. The Indemnified Contributor
+may participate in any such claim at its own expense.
+For example, a Contributor might include the Program in a commercial
+product offering, Product X. That Contributor is then a Commercial
+Contributor. If that Commercial Contributor then makes performance
+claims, or offers warranties related to Product X, those performance
+claims and warranties are such Commercial Contributor's responsibility
+alone. Under this section, the Commercial Contributor would have
+to defend claims against the other Contributors related to those
+performance claims and warranties, and if a court requires any
+other Contributor to pay any damages as a result, the Commercial
+Contributor must pay those damages.
+5. NO WARRANTY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM
+IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION,
+ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY
+OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely
+responsible for determining the appropriateness of using and
+distributing the Program and assumes all risks associated with
+its exercise of rights under this Agreement , including but not
+limited to the risks and costs of program errors, compliance
+with applicable laws, damage to or loss of data, programs or
+equipment, and unavailability or interruption of operations.
+6. DISCLAIMER OF LIABILITY
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT
+NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT,
+INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE
+OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
+OF SUCH DAMAGES.
+7. GENERAL
+If any provision of this Agreement is invalid or unenforceable
+under applicable law, it shall not affect the validity or enforceability
+of the remainder of the terms of this Agreement, and without
+further action by the parties hereto, such provision shall be
+reformed to the minimum extent necessary to make such provision
+valid and enforceable.
+If Recipient institutes patent litigation against any entity
+(including a cross-claim or counterclaim in a lawsuit) alleging
+that the Program itself (excluding combinations of the Program
+with other software or hardware) infringes such Recipient's patent(s),
+then such Recipient's rights granted under Section 2(b) shall
+terminate as of the date such litigation is filed.
+All Recipient's rights under this Agreement shall terminate if
+it fails to comply with any of the material terms or conditions
+of this Agreement and does not cure such failure in a reasonable
+period of time after becoming aware of such noncompliance. If
+all Recipient's rights under this Agreement terminate, Recipient
+agrees to cease use and distribution of the Program as soon as
+reasonably practicable. However, Recipient's obligations under
+this Agreement and any licenses granted by Recipient relating
+to the Program shall continue and survive.
+Everyone is permitted to copy and distribute copies of this Agreement,
+but in order to avoid inconsistency the Agreement is copyrighted
+and may only be modified in the following manner. The Agreement
+Steward reserves the right to publish new versions (including
+revisions) of this Agreement from time to time. No one other
+than the Agreement Steward has the right to modify this Agreement.
+The Eclipse Foundation is the initial Agreement Steward. The
+Eclipse Foundation may assign the responsibility to serve as
+the Agreement Steward to a suitable separate entity. Each new
+version of the Agreement will be given a distinguishing version
+number. The Program (including Contributions) may always be distributed
+subject to the version of the Agreement under which it was received.
+In addition, after a new version of the Agreement is published,
+Contributor may elect to distribute the Program (including its
+Contributions) under the new version. Except as expressly stated
+in Sections 2(a) and 2(b) above, Recipient receives no rights
+or licenses to the intellectual property of any Contributor under
+this Agreement, whether expressly, by implication, estoppel or
+otherwise. All rights in the Program not expressly granted under
+this Agreement are reserved.
+This Agreement is governed by the laws of the State of New York
+and the intellectual property laws of the United States of America.
+No party to this Agreement will bring a legal action under this
+Agreement more than one year after the cause of action arose.
+Each party waives its rights to a jury trial in any resulting
+litigation.
+ </license>
+
+ <plugin
+ id="org.jboss.tools.jst.web.tiles"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.jst.web.tiles.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
Modified: trunk/seam/features/org.jboss.ide.eclipse.seam.feature/feature.properties
===================================================================
--- trunk/seam/features/org.jboss.ide.eclipse.seam.feature/feature.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/seam/features/org.jboss.ide.eclipse.seam.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,37 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=Seam Tools
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=Provides tooling support for JBoss Seam.
+
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
Modified: trunk/seam/features/org.jboss.ide.eclipse.seam.feature/feature.xml
===================================================================
--- trunk/seam/features/org.jboss.ide.eclipse.seam.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/seam/features/org.jboss.ide.eclipse.seam.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,21 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.jboss.ide.eclipse.seam.feature"
- label="Seam Tools"
+ label="%featureName"
version="1.0.0">
<description url="http://www.jboss.org/tools">
- Provides tooling support for JBoss Seam.
+ %description
</description>
- <copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ <copyright>
+ %copyright
</copyright>
<license url="http://www.eclipse.org/legal/epl-v10.html">
@@ -217,7 +211,6 @@
litigation.
</license>
-
<plugin
id="org.jboss.ide.seam.gen"
download-size="0"
Modified: trunk/seam/features/org.jboss.tools.seam.feature/feature.properties
===================================================================
--- trunk/seam/features/org.jboss.tools.seam.feature/feature.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/seam/features/org.jboss.tools.seam.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,38 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=Seam Tools
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=Provides tooling for JBoss Seam.
+
+copyright=Copyright (c) 2007 Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Red Hat, Inc. - initial API and implementation
+
Modified: trunk/seam/features/org.jboss.tools.seam.feature/feature.xml
===================================================================
--- trunk/seam/features/org.jboss.tools.seam.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/seam/features/org.jboss.tools.seam.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,23 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.jboss.tools.seam.feature"
- label="Seam Tools"
+ label="%featureName"
version="1.0.0"
- provider-name="JBoss, a division of Red Hat"
+ provider-name="%providerName"
plugin="org.jboss.tools.seam.core">
<description url="http://www.jboss.org/tools">
- Provides tooling for JBoss Seam.
+ %description
</description>
<copyright>
- Copyright (c) 2007 Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Red Hat, Inc. - initial API and implementation
+ %copyright
</copyright>
<license url="http://www.eclipse.org/legal/epl-v10.html">
@@ -220,7 +214,7 @@
</license>
<url>
- <update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
+ <update label="%updateSiteName" url="http://download.jboss.org/jbosstools/updates/stable"/>
</url>
<requires>
Modified: trunk/smooks/features/org.jboss.tools.smooks.feature/feature.xml
===================================================================
--- trunk/smooks/features/org.jboss.tools.smooks.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/smooks/features/org.jboss.tools.smooks.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="org.jboss.tools.smooks.feature"
- label="Smooks Tools"
+ label="%featureName"
version="1.0.0"
- provider-name="JBoss, a division of Red Hat"
+ provider-name="%providerName"
plugin="org.jboss.tools.smooks.ui">
<description>
Modified: trunk/struts/features/org.jboss.tools.struts.feature/feature.properties
===================================================================
--- trunk/struts/features/org.jboss.tools.struts.feature/feature.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/struts/features/org.jboss.tools.struts.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -28,8 +28,13 @@
description=Struts Tools
# "copyright" property - text of the "Feature Update Copyright"
-copyright=Copyright (c) 2008 JBoss, a division of Red Hat and others.\nAll rights reserved. This program and the accompanying materials\n
-are made available under the terms of the Eclipse Public License v1.0\nwhich accompanies this distribution, and is available at\nhttp\://www.eclipse.org/legal/epl-v10.html\n\nContributors\:\nJBoss, a division of Red Hat - Initial implementation.\n
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
############### end of copyright property ####################################
# "licenseURL" property - URL of the "Feature License"
Modified: trunk/struts/features/org.jboss.tools.struts.feature/feature.xml
===================================================================
--- trunk/struts/features/org.jboss.tools.struts.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/struts/features/org.jboss.tools.struts.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -11,13 +11,7 @@
</description>
<copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+ %copyright
</copyright>
<license url="%licenseURL">
Modified: trunk/vpe/features/org.jboss.tools.vpe.feature/build.properties
===================================================================
--- trunk/vpe/features/org.jboss.tools.vpe.feature/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/vpe/features/org.jboss.tools.vpe.feature/build.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1 +1,2 @@
-bin.includes = feature.xml
+bin.includes = feature.xml,\
+ feature.properties
Added: trunk/vpe/features/org.jboss.tools.vpe.feature/feature.properties
===================================================================
--- trunk/vpe/features/org.jboss.tools.vpe.feature/feature.properties (rev 0)
+++ trunk/vpe/features/org.jboss.tools.vpe.feature/feature.properties 2009-01-14 07:35:07 UTC (rev 13031)
@@ -0,0 +1,38 @@
+###############################################################################
+# Copyright (c) 2009 JBoss, a division of Red Hat and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# JBoss, a division of Red Hat - Initial implementation.
+##############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=JBoss Tools Visual Page Editor
+
+# "providerName" property - name of the company that provides the feature
+providerName=JBoss, a division of Red Hat
+
+# "updateSiteName" property - label for the update site
+updateSiteName=JBossTools Update Site
+
+devUpdateSiteName=JBossTools Development Update Site
+
+# "description" property - description of the feature
+description=Provides a visual page editor for xml based documents. Specific support for xhtml with HTML and JSF/Facelets support.
+
+copyright=Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.\n\
+Distributed under license by Red Hat, Inc. All rights reserved.\n\
+This program is made available under the terms of the\n\
+Eclipse Public License v1.0 which accompanies this distribution,\n\
+and is available at http\://www.eclipse.org/legal/epl-v10.html\n\
+Contributors\:\n\
+Exadel, Inc. and Red Hat, Inc. - initial API and implementation
+
Modified: trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml
===================================================================
--- trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml 2009-01-14 07:33:15 UTC (rev 13030)
+++ trunk/vpe/features/org.jboss.tools.vpe.feature/feature.xml 2009-01-14 07:35:07 UTC (rev 13031)
@@ -1,24 +1,18 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
- id="org.jboss.tools.vpe_feature"
- label="JBoss Tools Visual Page Editor"
- version="2.0.0">
-
- <description url="http://www.jboss.org/tools">
- Provides a visual page editor for xml based documents. Specific support for xhtml with HTML and JSF/Facelets support.
- </description>
-
- <copyright>
- Copyright (c) 2007 Exadel, Inc and Red Hat, Inc.
-Distributed under license by Red Hat, Inc. All rights reserved.
-This program is made available under the terms of the
-Eclipse Public License v1.0 which accompanies this distribution,
-and is available at http://www.eclipse.org/legal/epl-v10.html
-Contributors:
-Exadel, Inc. and Red Hat, Inc. - initial API and implementation
- </copyright>
-
- <license url="http://www.eclipse.org/legal/epl-v10.html">
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+ id="org.jboss.tools.vpe_feature"
+ label="%featureName"
+ version="2.0.0">
+
+ <description url="http://www.jboss.org/tools">
+ %description
+ </description>
+
+ <copyright>
+ %copyright
+ </copyright>
+
+ <license url="http://www.eclipse.org/legal/epl-v10.html">
Eclipse Public License - v 1.0
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
@@ -104,57 +98,57 @@
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) !
and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
-This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
- </license>
-
- <plugin
- id="org.jboss.tools.vpe"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.vpe.mozilla"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.vpe.mozilla.gtk"
- download-size="0"
- install-size="0"
- version="0.0.0"
- fragment="true"/>
-
- <plugin
- id="org.jboss.tools.vpe.mozilla.win32"
- download-size="0"
- install-size="0"
- version="0.0.0"
- fragment="true"/>
-
- <plugin
- id="org.jboss.tools.vpe.ui"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.vpe.ui.palette"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.vpe.html"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
- <plugin
- id="org.jboss.tools.vpe.jsp"
- download-size="0"
- install-size="0"
- version="0.0.0"/>
-
-</feature>
+This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
+ </license>
+
+ <plugin
+ id="org.jboss.tools.vpe"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.mozilla"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.mozilla.gtk"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.mozilla.win32"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"
+ fragment="true"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.ui"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.ui.palette"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.html"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+ <plugin
+ id="org.jboss.tools.vpe.jsp"
+ download-size="0"
+ install-size="0"
+ version="0.0.0"/>
+
+</feature>
16 years
JBoss Tools SVN: r13030 - in trunk: as/plugins/org.jboss.ide.eclipse.as.ui and 36 other directories.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-01-14 02:33:15 -0500 (Wed, 14 Jan 2009)
New Revision: 13030
Added:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.properties
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/Messages.java
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/messages.properties
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/Messages.java
trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/Messages.java
trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/messages.properties
trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/Messages.java
trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/messages.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.properties
trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/Messages.java
trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/messages.properties
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.properties
Modified:
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/build.properties
trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.xml
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.properties
trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.properties
trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.xml
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages.properties
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/XChildrenEditor.java
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/DecoratorTextPreferencesPage.java
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/MainPreferencePage.java
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/ClassTemplateComponent.java
trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/messages.properties
trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/AbstractResourceReferencesComposite.java
trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.properties
trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.xml
trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/RulesConfigurationPage.java
trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/VerificationPreferencePage.java
trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF
trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.properties
trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUI.properties
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUIMessages.java
trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossRuntimeListFieldEditor.java
trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.properties
trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.xml
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConnectionProfileCtrl.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/META-INF/MANIFEST.MF
trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties
trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.properties
trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.xml
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties
trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java
trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.properties
trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.properties
trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties
trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/AbstractImplementationsPreferencesPage.java
trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties
trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.properties
trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties
trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.properties
trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.xml
trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/formset/ActionNames.java
trunk/vpe/plugins/org.jboss.tools.vpe/plugin.properties
trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesPreferencePage.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/META-INF/MANIFEST.MF
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/build.properties
trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.xml
Log:
Externalising English strings in plugins so that they can be translated
Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/build.properties
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/build.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -2,6 +2,7 @@
output.. = bin/
bin.includes = META-INF/,\
.,\
+ plugin.properties,\
plugin.xml,\
icons/,\
schema/
Added: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.properties
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.properties (rev 0)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,4 @@
+PreferencePage_ProjectArchives=Project Archives
+ProjectPropertiesPage_ProjectArchives=Project Archives
+ViewName_ProjectArchives=Project archives
+ViewCategory_JBossTools=JBoss Tools
\ No newline at end of file
Modified: trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.xml
===================================================================
--- trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/archives/plugins/org.jboss.ide.eclipse.archives.ui/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -7,7 +7,7 @@
<extension
point="org.eclipse.ui.views">
<category
- name="JBoss Tools"
+ name="%ViewCategory_JBossTools"
id="org.jboss.tools.common.model.ui.views">
</category>
<view
@@ -16,7 +16,7 @@
class="org.jboss.ide.eclipse.archives.ui.views.ProjectArchivesCommonView"
icon="icons/jar_obj.gif"
id="org.jboss.ide.eclipse.archives.ui.ProjectArchivesView"
- name="Project archives"/>
+ name="%ViewName_ProjectArchives"/>
</extension>
<extension
@@ -58,7 +58,7 @@
<page
class="org.jboss.ide.eclipse.archives.ui.preferences.MainPreferencePage"
id="org.jboss.ide.eclipse.archives.ui.archivesPreferencePage"
- name="Project Archives"/>
+ name="%PreferencePage_ProjectArchives"/>
</extension>
@@ -67,12 +67,12 @@
<page
class="org.jboss.ide.eclipse.archives.ui.preferences.MainPreferencePage"
id="org.jboss.ide.eclipse.archives.ui.projectProperties"
- name="Project Archives"
+ name="%ProjectPropertiesPage_ProjectArchives"
objectClass="org.eclipse.core.resources.IProject"/>
<page
class="org.jboss.ide.eclipse.archives.ui.preferences.MainPreferencePage"
id="org.jboss.ide.eclipse.archives.ui.projectProperties2"
- name="Project Archives"
+ name="%ProjectPropertiesPage_ProjectArchives"
objectClass="org.eclipse.jdt.core.IJavaProject"/>
</extension>
<extension
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.properties
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -13,4 +13,7 @@
actionSets.serverActions.stopServer.label=Stop Server
actionSets.serverActions.debugServer.label=Start Server in Debug Mode
actionSets.serverActions.startServer.label=Start Server
-actionSets.serverActions.runApplicationFromSelectedElement.label=Run Application from Selected Element
\ No newline at end of file
+actionSets.serverActions.runApplicationFromSelectedElement.label=Run Application from Selected Element
+perspective.name=JBoss AS
+ViewName_JBossServerView=JBoss Server View
+ViewName_ServerLog=Server Log
\ No newline at end of file
Modified: trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml
===================================================================
--- trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/as/plugins/org.jboss.ide.eclipse.as.ui/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -120,7 +120,7 @@
class="org.jboss.ide.eclipse.as.ui.perspective.ASPerspective"
icon="icons/jboss.gif"
id="org.jboss.ide.eclipse.as.ui.ASPerspective"
- name="JBoss AS"/>
+ name="%perspective.name"/>
</extension>
<extension
point="org.eclipse.wst.server.ui.initialSelectionProvider">
@@ -264,7 +264,7 @@
<extension point="org.eclipse.ui.views">
<view
id="org.jboss.ide.eclipse.as.ui.views.JBossServerView"
- name="JBoss Server View"
+ name="%ViewName_JBossServerView"
category="org.eclipse.wst.server.ui"
class="org.jboss.tools.as.wst.server.ui.ServersView"
icon="icons/jboss.gif"/>
@@ -273,7 +273,7 @@
class="org.jboss.ide.eclipse.as.ui.views.ServerLogView"
icon="icons/console.gif"
id="org.jboss.ide.eclipse.as.ui.view.serverLogView"
- name="Server Log"
+ name="%ViewName_ServerLog"
restorable="true">
</view>
</extension>
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -30,4 +30,21 @@
action.visitsite.label=Red Hat Web Site
MainPreferencePage=JBoss Tools
+PreferencePage_Editors=Editors
+PreferencePage_LabelDecorations=Label Decorations
+PreferencePage_Templates=Templates
+PreferencePage_Web=Web
+ContentType_JBossToolsXML=JBoss Tools XML
org.jboss.tools.common.model.ui.views=JBoss Tools
+CategoryName_experimental=JBoss Tools Experimental configuration
+CategoryDescription_experimental=It allows create Custom Capabilities, Library sets and Project templates for JSF/Struts projects
+ActivityName_templates=JSF/Struts Project Templates Development
+ExtensionName_attributeAdapter=Attribute Adapter
+ExtensionName_attributeContentProposalProviders=Attribute Content Proposal Providers
+ExtensionName_attributeEditor=Attribute Editor
+ExtensionName_InsertTagWizard=InsertTagWizard
+ExtensionName_labelDecorator=Model Object Label Decorator
+ExtensionName_metaTemplates=Meta Templates
+ExtensionName_paletteConstraints=Palette Constraints
+ExtensionName_xmlEditor=XML Editor
+PropertyPage_templates=Templates
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -2,14 +2,14 @@
<?eclipse version="3.0"?>
<plugin>
- <extension-point id="attributeEditor" name="Attribute Editor" schema="schema/attributeEditor.exsd"/>
- <extension-point id="attributeAdapter" name="Attribute Adapter" schema="schema/attributeAdapter.exsd"/>
- <extension-point id="xmlEditor" name="XML Editor" schema="schema/xmlEditor.exsd"/>
- <extension-point id="paletteConstraints" name="Palette Constraints" schema="schema/paletteConstraints.exsd"/>
- <extension-point id="metaTemplates" name="Meta Templates" schema="schema/metaTemplates.exsd"/>
- <extension-point id="InsertTagWizard" name="InsertTagWizard" schema="schema/InsertTagWizard.exsd"/>
- <extension-point id="labelDecorator" name="Model Object Label Decorator" schema="schema/labelDecorator.exsd"/>
- <extension-point id="attributeContentProposalProviders" name="Attribute Content Proposal Providers" schema="schema/attributeContentProposalProviders.exsd"/>
+ <extension-point id="attributeEditor" name="%ExtensionName_attributeEditor" schema="schema/attributeEditor.exsd"/>
+ <extension-point id="attributeAdapter" name="%ExtensionName_attributeAdapter" schema="schema/attributeAdapter.exsd"/>
+ <extension-point id="xmlEditor" name="%ExtensionName_xmlEditor" schema="schema/xmlEditor.exsd"/>
+ <extension-point id="paletteConstraints" name="%ExtensionName_paletteConstraints" schema="schema/paletteConstraints.exsd"/>
+ <extension-point id="metaTemplates" name="%ExtensionName_metaTemplates" schema="schema/metaTemplates.exsd"/>
+ <extension-point id="InsertTagWizard" name="%ExtensionName_InsertTagWizard" schema="schema/InsertTagWizard.exsd"/>
+ <extension-point id="labelDecorator" name="%ExtensionName_labelDecorator" schema="schema/labelDecorator.exsd"/>
+ <extension-point id="attributeContentProposalProviders" name="%ExtensionName_attributeContentProposalProviders" schema="schema/attributeContentProposalProviders.exsd"/>
<extension point="org.eclipse.ui.elementFactories">
<factory class="org.jboss.tools.common.core.resources.XModelObjectEditorInputFactory" id="org.jboss.tools.common.core.resources.XModelObjectEditorInputFactory">
@@ -232,13 +232,13 @@
category="org.jboss.tools.common.model.ui.MainPreferencePage"
class="org.jboss.tools.common.model.ui.preferences.CompanyPreferencesPage"
id="org.jboss.tools.common.model.ui"
- name="Web">
+ name="%PreferencePage_Web">
</page>
<page
category="org.jboss.tools.common.model.ui"
class="org.jboss.tools.common.model.ui.preferences.DecoratorPreferencesPage"
id="org.jboss.tools.common.model.ui.decorator"
- name="Label Decorations">
+ name="%PreferencePage_LabelDecorations">
</page>
</extension>
<extension point="org.eclipse.ui.preferencePages">
@@ -246,7 +246,7 @@
category="org.jboss.tools.common.model.ui"
class="org.jboss.tools.common.model.ui.templates.preferences.GlobalTemplatePreferencePage"
id="org.jboss.tools.common.model.ui.templates"
- name="Templates">
+ name="%PreferencePage_Templates">
</page>
</extension>
@@ -263,7 +263,7 @@
adaptable="true"
class="org.jboss.tools.common.model.ui.templates.preferences.ProjectTemplatePreferencePage"
id="ExadelTemplatesPropertiesPage"
- name="Templates"
+ name="%PropertyPage_templates"
objectClass="org.eclipse.core.resources.IProject">
</page>
</extension>
@@ -302,7 +302,7 @@
<extension point="org.eclipse.core.runtime.contentTypes">
<content-type id="xml"
- name="JBoss Tools XML"
+ name="%ContentType_JBossToolsXML"
base-type="org.eclipse.core.runtime.xml"
describer="org.jboss.tools.common.model.ui.editor.XMLContentDescriber"
file-extensions="xml,meta"
@@ -330,7 +330,10 @@
</xmlEditor>
</extension>
<extension point="org.eclipse.ui.preferencePages">
- <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.common.model.ui.texteditors.preferences.EditorsPreferencesPage" id="org.jboss.tools.common.xstudio.editors" name="Editors">
+ <page category="org.jboss.tools.common.model.ui"
+ class="org.jboss.tools.common.model.ui.texteditors.preferences.EditorsPreferencesPage"
+ id="org.jboss.tools.common.xstudio.editors"
+ name="%PreferencePage_Editors">
</page>
</extension>
<extension point="org.jboss.tools.common.model.ui.paletteConstraints">
@@ -459,15 +462,15 @@
<extension
point="org.eclipse.ui.activities">
<category
- description="It allows create Custom Capabilities, Library sets and Project templates for JSF/Struts projects"
+ description="%CategoryDescription_experimental"
id="org.jboss.tools.common.model.ui.experimental"
- name="JBoss Tools Experimental configuration"/>
+ name="%CategoryName_experimental"/>
<categoryActivityBinding
activityId="org.jboss.tools.common.model.ui.templates"
categoryId="org.jboss.tools.common.model.ui.experimental"/>
<activity
id="org.jboss.tools.common.model.ui.templates"
- name="JSF/Struts Project Templates Development"/>
+ name="%ActivityName_templates"/>
<activityPatternBinding
activityId="org.jboss.tools.common.model.ui.templates"
pattern="org\.jboss\.tools\.common\.model\.ui/.*templates"/>
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/messages.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,3 +1,10 @@
+DecoratorTextPreferencesPage.AddVariable=Add Variable...
+DecoratorTextPreferencesPage.Decorator=Select decorator:
+DecoratorTextPreferencesPage.DefaultLabel=?
+DecoratorTextPreferencesPage.Format=Format:
+DecoratorTextPreferencesPage.Preview=Preview:
+DecoratorTextPreferencesPage.SelectVariable=Select Variable
+DecoratorTextPreferencesPage.Text=Text
org.jboss.tools.common.model.ui.resources.ResourceLayoutManager.ERROR_RESOURCE_NULL = Resource paramener cannot be null.
org.jboss.tools.common.model.ui.resources.ResourceLayoutManager.ERROR_CREATE_DOCUMENT = Cannot create new layout XML document \"{0}\" for resource \"{1}\".
org.jboss.tools.common.model.ui.resources.ResourceLayoutManager.WARNING_HEAD_EMPTY = Empty head tag in layout \"{0}\".
@@ -23,6 +30,7 @@
Editor.Delete.tooltip=Delete
Editor.Delete.image=
Editor.Delete.description=Delete
+MainPreferencePage.Description=JBossTools preferences
org.jboss.tools.common.model.ui.forms.Form.CANNOT_LOAD_ATTRIBUTE = Cannot load attribute \"{0}\" from model.
Added: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/Messages.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/Messages.java (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/Messages.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,23 @@
+package org.jboss.tools.common.model.ui.objecteditor;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+ private static final String BUNDLE_NAME = "org.jboss.tools.common.model.ui.objecteditor.messages"; //$NON-NLS-1$
+ public static String XChildrenEditor_10;
+ public static String XChildrenEditor_11;
+ public static String XChildrenEditor_12;
+ public static String XChildrenEditor_9;
+ public static String XChildrenEditor_Add;
+ public static String XChildrenEditor_Delete;
+ public static String XChildrenEditor_Down;
+ public static String XChildrenEditor_Edit;
+ public static String XChildrenEditor_Up;
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ }
+}
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/XChildrenEditor.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/XChildrenEditor.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/XChildrenEditor.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -40,11 +40,11 @@
public class XChildrenEditor implements CommandBarListener {
protected static Color DEFAULT_COLOR = new Color(null, 0, 0, 0);
protected static Color GREYED_COLOR = new Color(null, 127, 127, 127);
- public static String ADD = "&Add";
- public static String DELETE = "&Delete";
- public static String EDIT = "&Edit";
- public static String UP = "&Up";
- public static String DOWN = "Do&wn";
+ public static String ADD = Messages.XChildrenEditor_Add;
+ public static String DELETE = Messages.XChildrenEditor_Delete;
+ public static String EDIT = Messages.XChildrenEditor_Edit;
+ public static String UP = Messages.XChildrenEditor_Up;
+ public static String DOWN = Messages.XChildrenEditor_Down;
protected Composite control;
protected AbstractTableHelper helper = createHelper();
protected XTable xtable = new XTable();
@@ -210,12 +210,12 @@
protected void delete() {
XModelObject o = helper.getModelObject(xtable.getSelectionIndex());
- if(o != null) callAction(o, "DeleteActions.Delete");
+ if(o != null) callAction(o, "DeleteActions.Delete"); //$NON-NLS-1$
}
protected void edit() {
XModelObject o = helper.getModelObject(xtable.getSelectionIndex());
- if(o != null) callAction(o, "Edit");
+ if(o != null) callAction(o, "Edit"); //$NON-NLS-1$
}
protected void up() {
@@ -232,8 +232,8 @@
private void move(int r1, int r2) {
XModelObject o1 = helper.getModelObject(r1), o2 = helper.getModelObject(r2);
- callAction(o1, "CopyActions.Copy");
- callAction(o2, "MoveActions.Move");
+ callAction(o1, "CopyActions.Copy"); //$NON-NLS-1$
+ callAction(o2, "MoveActions.Move"); //$NON-NLS-1$
if(helper.getModelObject(r2) == o1)
xtable.getTable().setSelection(r2);
}
@@ -247,7 +247,7 @@
}
protected String getAddActionPath() {
- return "CreateActions.AddKeyPair";
+ return Messages.XChildrenEditor_9;
}
protected void updateBar() {
@@ -270,9 +270,9 @@
public void callAction(XModelObject o, String path) {
Properties p = new Properties();
- p.put("shell", bar.getControl().getShell());
+ p.put(Messages.XChildrenEditor_10, bar.getControl().getShell());
int i = xtable.getSelectionIndex();
- p.put("insertAfter", Integer.valueOf(i));
+ p.put(Messages.XChildrenEditor_11, Integer.valueOf(i));
XActionInvoker.invoke(path, o, getTargets(), p);
}
@@ -372,7 +372,7 @@
}
public void drop(Properties p) {
- XModelObject draggedObject = (XModelObject)p.get("draggedObject");
+ XModelObject draggedObject = (XModelObject)p.get(Messages.XChildrenEditor_12);
if(draggedObject == null) return;
update();
xtable.getViewer().setSelection(new StructuredSelection(draggedObject));
Added: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/messages.properties (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/objecteditor/messages.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,9 @@
+XChildrenEditor_10=shell
+XChildrenEditor_11=insertAfter
+XChildrenEditor_12=draggedObject
+XChildrenEditor_9=CreateActions.AddKeyPair
+XChildrenEditor_Add=&Add
+XChildrenEditor_Delete=&Delete
+XChildrenEditor_Down=Do&wn
+XChildrenEditor_Edit=&Edit
+XChildrenEditor_Up=&Up
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/DecoratorTextPreferencesPage.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/DecoratorTextPreferencesPage.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/DecoratorTextPreferencesPage.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -45,6 +45,7 @@
import org.eclipse.ui.dialogs.CheckedTreeSelectionDialog;
import org.jboss.tools.common.model.XModelObject;
import org.jboss.tools.common.model.options.PreferenceModelUtilities;
+import org.jboss.tools.common.model.ui.ModelUIMessages;
import org.jboss.tools.common.model.ui.attribute.adapter.DefaultXModelObjectLabelProvider;
import org.jboss.tools.common.model.ui.navigator.decorator.DecoratorManager;
import org.jboss.tools.common.model.ui.navigator.decorator.Variable;
@@ -68,7 +69,7 @@
Map<XModelObjectDecorator,String> currentValues = new HashMap<XModelObjectDecorator, String>();
public DecoratorTextPreferencesPage() {
- setTitle("Text");
+ setTitle(ModelUIMessages.getString("DecoratorTextPreferencesPage.Text")); //$NON-NLS-1$
}
@Override
@@ -78,7 +79,7 @@
g.setLayout(new GridLayout(1, false));
Label label = new Label(g, SWT.NONE);
- label.setText("Select decorator:");
+ label.setText(ModelUIMessages.getString("DecoratorTextPreferencesPage.Decorator")); //$NON-NLS-1$
label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
decorators = new TreeViewer(g, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
@@ -168,13 +169,13 @@
c.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
Label cLabel = new Label(c, SWT.NONE);
- cLabel.setText("Format:");
+ cLabel.setText(ModelUIMessages.getString("DecoratorTextPreferencesPage.Format")); //$NON-NLS-1$
formatField = new Text(c, SWT.SINGLE | SWT.BORDER);
formatField.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
addVariableButton = new Button(c, SWT.PUSH);
- addVariableButton.setText("Add Variable...");
+ addVariableButton.setText(ModelUIMessages.getString("DecoratorTextPreferencesPage.AddVariable")); //$NON-NLS-1$
addVariableButton.addSelectionListener(new SelectionListener() {
@@ -190,7 +191,7 @@
label = new Label(g, SWT.NONE);
- label.setText("Preview:");
+ label.setText(ModelUIMessages.getString("DecoratorTextPreferencesPage.Preview")); //$NON-NLS-1$
label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
examples = new TreeViewer(g, SWT.SINGLE | SWT.H_SCROLL | SWT.V_SCROLL | SWT.BORDER);
examples.setContentProvider(new ITreeContentProvider() {
@@ -221,14 +222,14 @@
if(selection == null) {
return super.getText(element);
}
- String result = "";
+ String result = ""; //$NON-NLS-1$
if (element instanceof XModelObject) {
XModelObject modelObject = (XModelObject)element;
XModelObjectDecorator d = selection.getWorkingCopy();
d.setValue(formatField.getText());
result = d.getLabel(modelObject);
} else {
- result = "?";
+ result = ModelUIMessages.getString("DecoratorTextPreferencesPage.DefaultLabel"); //$NON-NLS-1$
}
return result;
}
@@ -316,13 +317,13 @@
// editor.setVisible(false);
formatField.setEnabled(false);
addVariableButton.setEnabled(false);
- setText("");
+ setText(""); //$NON-NLS-1$
}
examples.refresh(true);
}
private void setText(String text) {
- if(text == null) text = "";
+ if(text == null) text = ""; //$NON-NLS-1$
formatField.removeModifyListener(formatListener);
formatField.setText(text);
formatField.addModifyListener(formatListener);
@@ -366,7 +367,7 @@
}
);
dialog.setInput(selection);
- dialog.setTitle("Select Variable");
+ dialog.setTitle(ModelUIMessages.getString("DecoratorTextPreferencesPage.SelectVariable")); //$NON-NLS-1$
dialog.create();
int result = dialog.open();
if(result == Window.OK) {
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/MainPreferencePage.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/MainPreferencePage.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/preferences/MainPreferencePage.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -28,6 +28,7 @@
import org.eclipse.swt.widgets.Control;
import org.eclipse.ui.IWorkbench;
import org.eclipse.ui.IWorkbenchPreferencePage;
+import org.jboss.tools.common.model.ui.ModelUIMessages;
/**
* Empty preference page for JBoss-IDE.
@@ -42,7 +43,7 @@
/** Default constructor */
public MainPreferencePage() {
- this.setDescription("JBossTools preferences");
+ this.setDescription(ModelUIMessages.getString("MainPreferencePage.Description")); //$NON-NLS-1$
}
/** Description of the Method */
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/ClassTemplateComponent.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/ClassTemplateComponent.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/ClassTemplateComponent.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -42,7 +42,7 @@
XModel model;
// xpath
Label xPathLabelValue;
- String initValue = "";
+ String initValue = ""; //$NON-NLS-1$
// base class
JavaChoicerEditor baseClassEditor;
BaseClassAdapter baseClassAdapter;
@@ -64,7 +64,7 @@
gd = new GridData(GridData.FILL_HORIZONTAL);
Label xPathLabel = new Label(composite, SWT.NONE);
xPathLabel.setLayoutData(gd);
- xPathLabel.setText("XPath");
+ xPathLabel.setText(Messages.ClassTemplateComponent_XPATH);
gd = new GridData(GridData.FILL_HORIZONTAL);
xPathLabelValue = new Label(composite, SWT.NONE);
@@ -72,7 +72,7 @@
xPathLabelValue.setText(initValue);
// base class
- baseClassEditor.setLabelText("Base Class");
+ baseClassEditor.setLabelText(Messages.ClassTemplateComponent_LABEL_BASECLASS);
StringButtonFieldEditorEx sb;
sb = new StringButtonFieldEditorEx();
@@ -88,7 +88,7 @@
control[1].setLayoutData(gd);
// interfaces
- interfacesEditor.setLabelText("Interfaces");
+ interfacesEditor.setLabelText(Messages.ClassTemplateComponent_LABEL_INTERFACES);
control = getControls(composite, interfacesEditor);
control[0].dispose(); // dispose empty label
gd = new GridData(GridData.FILL_BOTH);
@@ -113,7 +113,7 @@
interfacesAdapter = new DefaultTableStructuredAdapter();
interfaceActions = new ActionProvider();
interfacesAdapter.setActionProvider(interfaceActions);
- interfacesAdapter.addColumnDescription(new ColumnDescription("Interfaces", null, 100, SWT.LEFT, true, null));
+ interfacesAdapter.addColumnDescription(new ColumnDescription(Messages.ClassTemplateComponent_COLUMN_INTERFACES, null, 100, SWT.LEFT, true, null));
interfacesAdapter.setTableLabelProvider(new TableLabelProvider());
interfacesEditor.setInput(interfacesAdapter);
}
@@ -122,10 +122,11 @@
MetaValue value;
public void load() {
if(value == null) {
- setValue("");
+ setValue(""); //$NON-NLS-1$
} else {
String v = value.getValue();
- if(v == null) v = "java.lang.Object";
+ if (v == null)
+ v = "java.lang.Object"; //$NON-NLS-1$
setValue(v);
}
}
@@ -197,9 +198,9 @@
this.selectedTemplate = selectedTemplate;
if(selectedTemplate == null) {
if(xPathLabelValue!=null) {
- xPathLabelValue.setText("");
+ xPathLabelValue.setText(""); //$NON-NLS-1$
} else {
- initValue = "";
+ initValue = ""; //$NON-NLS-1$
}
baseClassAdapter.value = null;
baseClassAdapterListener.value = null;
@@ -230,17 +231,17 @@
IAction editAction;
public ActionProvider() {
- addAction = new Action("Add") {
+ addAction = new Action(Messages.ClassTemplateComponent_ADD) {
public void run() {
addInterface();
}
};
- removeAction = new Action("Remove") {
+ removeAction = new Action(Messages.ClassTemplateComponent_REMOVE) {
public void run() {
removeInterface();
}
};
- editAction = new Action("Edit") {
+ editAction = new Action(Messages.ClassTemplateComponent_EDIT) {
public void run() {
editInterface();
}
Added: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/Messages.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/Messages.java (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/Messages.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,21 @@
+package org.jboss.tools.common.model.ui.templates.preferences;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+ private static final String BUNDLE_NAME = "org.jboss.tools.common.model.ui.templates.preferences.messages"; //$NON-NLS-1$
+ public static String ClassTemplateComponent_ADD;
+ public static String ClassTemplateComponent_COLUMN_INTERFACES;
+ public static String ClassTemplateComponent_EDIT;
+ public static String ClassTemplateComponent_LABEL_BASECLASS;
+ public static String ClassTemplateComponent_LABEL_INTERFACES;
+ public static String ClassTemplateComponent_REMOVE;
+ public static String ClassTemplateComponent_XPATH;
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ }
+}
Modified: trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/messages.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.model.ui/src/org/jboss/tools/common/model/ui/templates/preferences/messages.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -1 +1,8 @@
-CHECKBOX_LABEL=Allow to override preference settings
\ No newline at end of file
+CHECKBOX_LABEL=Allow to override preference settings
+ClassTemplateComponent_ADD=Add
+ClassTemplateComponent_COLUMN_INTERFACES=Interfaces
+ClassTemplateComponent_EDIT=Edit
+ClassTemplateComponent_LABEL_BASECLASS=Base Class
+ClassTemplateComponent_LABEL_INTERFACES=Interfaces
+ClassTemplateComponent_REMOVE=Remove
+ClassTemplateComponent_XPATH=XPath
Modified: trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/AbstractResourceReferencesComposite.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/AbstractResourceReferencesComposite.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/AbstractResourceReferencesComposite.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -35,9 +35,9 @@
import org.jboss.tools.common.resref.core.ResourceReferenceList;
public abstract class AbstractResourceReferencesComposite {
- protected static String ADD = "Add";
- protected static String EDIT = "Edit";
- protected static String REMOVE = "Remove";
+ protected static String ADD = Messages.AbstractResourceReferencesComposite_Add;
+ protected static String EDIT = Messages.AbstractResourceReferencesComposite_Edit;
+ protected static String REMOVE = Messages.AbstractResourceReferencesComposite_Remove;
protected XTable table = new XTable();
protected CommandBar bar = new CommandBar();
protected ResourceReferencesTableProvider tableProvider;// = new TemplatesTableProvider();
@@ -72,8 +72,8 @@
public void setObject(Object object) {
Properties p = (Properties)object;
- file = (IFile)p.get("file");
- path = (IPath)p.get("path");
+ file = (IFile)p.get("file"); //$NON-NLS-1$
+ path = (IPath)p.get("path"); //$NON-NLS-1$
ResourceReference[] rs = (file != null) ? getReferenceList().getAllResources(file) :
(path != null) ? getReferenceList().getAllResources(path)
: new ResourceReference[0];
@@ -149,7 +149,7 @@
* @return
*/
protected ResourceReference getDefaultResourceReference() {
- return new ResourceReference("", ResourceReference.FOLDER_SCOPE);
+ return new ResourceReference("", ResourceReference.FOLDER_SCOPE); //$NON-NLS-1$
}
abstract protected void edit(int index);
@@ -179,7 +179,7 @@
for (int i = 0; i < as.length; i++) {
if(as[i].getConstraint() instanceof XAttributeConstraintFileFilter) {
XAttributeConstraintFileFilter f = (XAttributeConstraintFileFilter)as[i].getConstraint();
- f.getProperties().setProperty("filterFolder", file.getProject().getLocation().toFile().getAbsolutePath());
+ f.getProperties().setProperty("filterFolder", file.getProject().getLocation().toFile().getAbsolutePath()); //$NON-NLS-1$
}
}
}
Added: trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/Messages.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/Messages.java (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/Messages.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,17 @@
+package org.jboss.tools.common.resref.ui;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+ private static final String BUNDLE_NAME = "org.jboss.tools.common.resref.ui.messages"; //$NON-NLS-1$
+ public static String AbstractResourceReferencesComposite_Add;
+ public static String AbstractResourceReferencesComposite_Edit;
+ public static String AbstractResourceReferencesComposite_Remove;
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ }
+}
Added: trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/messages.properties (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.resref.ui/src/org/jboss/tools/common/resref/ui/messages.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,3 @@
+AbstractResourceReferencesComposite_Add=Add
+AbstractResourceReferencesComposite_Edit=Edit
+AbstractResourceReferencesComposite_Remove=Remove
Modified: trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -7,3 +7,4 @@
actionSets.verificationActions.editVerificationRules.label=Edit Verification Rules
actionSets.verificationActions.verifyAll.label=Verify All
actionSets.verificationActions.verify.label=Verify
+PreferencePage_Verification=Verification
Modified: trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.xml
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -3,7 +3,8 @@
<plugin>
<extension point="org.eclipse.ui.preferencePages">
- <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.common.verification.ui.vrules.preferences.VerificationPreferencePage" id="org.jboss.tools.common.verification.ui" name="Verification">
+ <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.common.verification.ui.vrules.preferences.VerificationPreferencePage" id="org.jboss.tools.common.verification.ui"
+ name="%PreferencePage_Verification">
</page>
</extension>
Added: trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/Messages.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/Messages.java (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/Messages.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,16 @@
+package org.jboss.tools.common.verification.ui.vrules.preferences;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+ private static final String BUNDLE_NAME = "org.jboss.tools.common.verification.ui.vrules.preferences.messages"; //$NON-NLS-1$
+ public static String RulesConfigurationPage_RulesConfigurationTitle;
+ public static String VerificationPreferencePage_OptionsTitle;
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ }
+}
Modified: trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/RulesConfigurationPage.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/RulesConfigurationPage.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/RulesConfigurationPage.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -165,7 +165,7 @@
}
public String getTitle() {
- return "Rules Configuration";
+ return Messages.RulesConfigurationPage_RulesConfigurationTitle;
}
}
Modified: trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/VerificationPreferencePage.java
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/VerificationPreferencePage.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/VerificationPreferencePage.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -17,9 +17,9 @@
public class VerificationPreferencePage extends TabbedPreferencesPage {
public static final String PREFERENCES[] = {
- "%Options%/Struts Studio/Verification"
+ "%Options%/Struts Studio/Verification" //$NON-NLS-1$
};
- public static String ATTR_ERRORS_NUMBER_LIMIT = "Reported Errors Number Limit";
+ public static String ATTR_ERRORS_NUMBER_LIMIT = "Reported Errors Number Limit"; //$NON-NLS-1$
public VerificationPreferencePage() {
addPreferencePage(new RulesConfigurationPage());
@@ -35,7 +35,7 @@
super(o);
}
public String getTitle() {
- return "Options";
+ return Messages.VerificationPreferencePage_OptionsTitle;
}
}
Added: trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/messages.properties
===================================================================
--- trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/messages.properties (rev 0)
+++ trunk/common/plugins/org.jboss.tools.common.verification.ui/src/org/jboss/tools/common/verification/ui/vrules/preferences/messages.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,2 @@
+RulesConfigurationPage_RulesConfigurationTitle=Rules Configuration
+VerificationPreferencePage_OptionsTitle=Options
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/META-INF/MANIFEST.MF 2009-01-14 07:33:15 UTC (rev 13030)
@@ -4,6 +4,7 @@
Bundle-SymbolicName: org.jboss.tools.esb.project.ui;singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: org.jboss.tools.esb.project.ui.ESBProjectPlugin
+Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.pde.ui,
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,2 +1,3 @@
providerName=JBoss, a division of Red Hat
-pluginName=JBoss ESB Project UI Plugin
\ No newline at end of file
+pluginName=JBoss ESB Project UI Plugin
+Preference_Page_Runtimes=JBoss ESB Runtimes
\ No newline at end of file
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -28,7 +28,7 @@
category="org.jboss.tools.common.model.ui.MainPreferencePage"
class="org.jboss.tools.esb.project.ui.preference.controls.JBossESBRuntimePreferencePage"
id="org.jboss.tools.esb.project.runtime.preference"
- name="JBoss ESB Runtimes">
+ name="%Preference_Page_Runtimes">
</page>
</extension>
<extension
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUI.properties
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUI.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUI.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -37,6 +37,10 @@
JBoss_Runtime_List_Field_Editor_Name2=Name:
JBoss_Runtime_Check_Field_Default_Classpath=Customize JBoss ESB runtime jars
JBoss_Preference_Page_Runtimes=JBoss ESB Runtimes
+JBossRuntimeListFieldEditor_ActionAdd=&Add
+JBossRuntimeListFieldEditor_ActionEdit=&Edit
+JBossRuntimeListFieldEditor_ActionRemove=&Remove
+JBossRuntimeListFieldEditor_ErrorMessageAtLeastOneJar=The library must contain at least one jar.
ESBFacetInstallationPage_Button_Text_New=New
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUIMessages.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUIMessages.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/messages/JBossESBUIMessages.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -71,6 +71,14 @@
public static String JBoss_Runtime_List_Field_Editor_Name2;
public static String JBoss_Runtime_Check_Field_Default_Classpath;
public static String JBoss_Preference_Page_Runtimes;
+
+ public static String JBossRuntimeListFieldEditor_ActionAdd;
+
+ public static String JBossRuntimeListFieldEditor_ActionEdit;
+
+ public static String JBossRuntimeListFieldEditor_ActionRemove;
+
+ public static String JBossRuntimeListFieldEditor_ErrorMessageAtLeastOneJar;
//esb facet messages
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossRuntimeListFieldEditor.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossRuntimeListFieldEditor.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.ui/src/org/jboss/tools/esb/project/ui/preference/controls/JBossRuntimeListFieldEditor.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -411,9 +411,9 @@
public static class JBossWSRuntimeWizardPage extends WizardPage implements
PropertyChangeListener {
- private static final String SRT_NAME = "name";
- private static final String SRT_VERSION = "version";
- private static final String SRT_HOMEDIR = "homeDir";
+ private static final String SRT_NAME = "name"; //$NON-NLS-1$
+ private static final String SRT_VERSION = "version"; //$NON-NLS-1$
+ private static final String SRT_HOMEDIR = "homeDir"; //$NON-NLS-1$
private static final int GL_PARENT_COLUMNS = 1;
private static final int GL_CONTENT_COLUMNS = 3;
@@ -466,7 +466,7 @@
homeDir.doFillIntoGrid(root);
homeDir.addPropertyChangeListener(this);
- jars = new JBossLibraryListFieldEditor("", "", current);
+ jars = new JBossLibraryListFieldEditor("", "", current); //$NON-NLS-1$ //$NON-NLS-2$
jars.doFillIntoGrid(root);
jars.addPropertyChangeListener(this);
setPageComplete(false);
@@ -481,12 +481,12 @@
* PropertyChangeEvent describes changes in wizard
*/
public void propertyChange(java.beans.PropertyChangeEvent evt) {
- if ("homeDir".equals(evt.getPropertyName())) {
+ if ("homeDir".equals(evt.getPropertyName())) { //$NON-NLS-1$
if (name.getValueAsString() == null
- || "".equals(name.getValueAsString().trim())
+ || "".equals(name.getValueAsString().trim()) //$NON-NLS-1$
|| this.getErrorMessage() != null) {
String homeDirName = homeDir.getValueAsString();
- if (homeDirName != null && !"".equals(homeDirName.trim())) {
+ if (homeDirName != null && !"".equals(homeDirName.trim())) { //$NON-NLS-1$
File folder = new File(homeDirName);
homeDirName = folder.getName();
}
@@ -501,7 +501,7 @@
return;
}
- if(version.getValueAsString() == null || "".equals(version.getValueAsString())){
+ if(version.getValueAsString() == null || "".equals(version.getValueAsString())){ //$NON-NLS-1$
setErrorMessage(JBossESBUIMessages.Error_JBoss_Runtime_List_Field_Editor_Version_Cannot_Be_Empty);
setPageComplete(false);
return;
@@ -543,7 +543,7 @@
if (jarJbws.isUserConfigClasspath()
&& jarJbws.getLibraries().size() == 0) {
- setErrorMessage("The library must contian at least one jar.");
+ setErrorMessage(JBossESBUIMessages.JBossRuntimeListFieldEditor_ErrorMessageAtLeastOneJar);
setPageComplete(false);
return;
}
@@ -969,13 +969,11 @@
*/
public class AddAction extends BaseAction {
- static final String ACTION_NAME = "&Add";
-
/**
* Constructor create Add action with default name
*/
public AddAction() {
- super(ACTION_NAME);
+ super(JBossESBUIMessages.JBossRuntimeListFieldEditor_ActionAdd);
// This action is always available
setEnabled(true);
}
@@ -1013,15 +1011,13 @@
*/
public class EditAction extends BaseAction {
- static final String ACTION_NAME = "&Edit";
-
/**
* Create EditAction with default name
*
* @param text
*/
public EditAction() {
- super(ACTION_NAME);
+ super(JBossESBUIMessages.JBossRuntimeListFieldEditor_ActionEdit);
}
/**
@@ -1080,13 +1076,11 @@
*/
public class RemoveAction extends BaseAction {
- static final String ACTION_NAME = "&Remove";
-
/**
* Create DeleteAction action with default name
*/
public RemoveAction() {
- super(ACTION_NAME);
+ super(JBossESBUIMessages.JBossRuntimeListFieldEditor_ActionRemove);
}
@Override
Modified: trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.properties
===================================================================
--- trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,2 +1,4 @@
pluginName = FreeMarker IDE
-providerName = JBoss, a division of Red Hat
\ No newline at end of file
+providerName = JBoss, a division of Red Hat
+PreferencePage_FreeMarkerEditor=FreeMarker Editor
+PropertyPage_FreeMarkerContext=FreeMarker Context
Modified: trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.xml
===================================================================
--- trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/freemarker/plugins/org.jboss.ide.eclipse.freemarker/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -17,7 +17,7 @@
<page
class="org.jboss.ide.eclipse.freemarker.preferences.PreferencePage"
id="org.jboss.ide.eclipse.freemarker.preferences.OutlinePreferencePage"
- name="FreeMarker Editor"/>
+ name="%PreferencePage_FreeMarkerEditor"/>
</extension>
<extension
point="org.eclipse.ui.popupMenus">
@@ -50,7 +50,7 @@
adaptable="true"
class="org.jboss.ide.eclipse.freemarker.preferences.ContextProperties"
id="org.jboss.ide.eclipse.freemarker.contextPage"
- name="FreeMarker Context"
+ name="%PropertyPage_FreeMarkerContext"
objectClass="org.eclipse.core.resources.IResource"/>
</extension>
<extension
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -1 +1,8 @@
-GenerateEntities=Generate Entities
\ No newline at end of file
+GenerateEntities=Generate Entities
+Preference_Page_HQL=HQL editor
+perspective.name=Hibernate
+ViewName_HibernateConfigurations=Hibernate Configurations
+ViewName_HibernateQueryResult=Hibernate Query Result
+ViewName_HibernateDynamicSQLPreview=Hibernate Dynamic SQL Preview
+ViewName_QueryParameters=Query Parameters
+ViewCategory_Hibernate=Hibernate
\ No newline at end of file
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -8,19 +8,19 @@
<perspective
icon="icons/hibernate_small_icon.gif"
class="org.hibernate.eclipse.console.HibernateConsolePerspectiveFactory"
- name="Hibernate"
+ name="%perspective.name"
id="org.hibernate.eclipse.console.HibernateConsolePerspective"/>
</extension>
<extension
point="org.eclipse.ui.views">
<category
- name="Hibernate"
+ name="%ViewCategory_Hibernate"
id="hibernatecategory"/>
<view
icon="icons/hibernate_small_icon.gif"
class="org.hibernate.eclipse.console.views.KnownConfigurationsView"
category="hibernatecategory"
- name="Hibernate Configurations"
+ name="%ViewName_HibernateConfigurations"
id="org.hibernate.eclipse.console.views.KnownConfigurationsView"/>
<!-- <view
category="hibernatecategory"
@@ -38,20 +38,20 @@
icon="icons/hibernate_small_icon.gif"
class="org.hibernate.eclipse.console.views.QueryPageTabView"
category="hibernatecategory"
- name="Hibernate Query Result"
+ name="%ViewName_HibernateQueryResult"
id="org.hibernate.eclipse.console.views.QueryPageTabView"/>
<view
category="hibernatecategory"
class="org.hibernate.eclipse.console.views.DynamicSQLPreviewView"
icon="icons/images/hibernate_small_icon.jpg"
id="org.hibernate.eclipse.console.views.DynamicSQLPreviewView"
- name="Hibernate Dynamic SQL Preview"/>
+ name="%ViewName_HibernateDynamicSQLPreview"/>
<view
category="hibernatecategory"
class="org.hibernate.eclipse.console.views.QueryParametersView"
icon="icons/images/parameter.gif"
id="org.hibernate.eclipse.console.views.QueryParametersView"
- name="Query Parameters"/>
+ name="%ViewName_QueryParameters"/>
</extension>
<extension
@@ -624,7 +624,7 @@
<page
class="org.hibernate.eclipse.hqleditor.preferences.HQLEditorPreferencePage"
id="org.hibernate.eclipse.hqleditor.preferences.HQLEditorPreferencePage"
- name="HQL editor">
+ name="%Preference_Page_HQL">
<keywordReference id="org.hibernate.eclipse.hqleditor.preferencekeywords"/>
</page>
</extension>
@@ -771,7 +771,7 @@
category="hibernatecategory"
class="org.hibernate.eclipse.console.views.navigator.KnownConfigurationsNavigator"
id="org.hibernate.eclipse.navigator.KnownConfigurationsViewer"
- name="Hibernate Configurations"/>
+ name="%ViewName_HibernateConfigurations"/>
</extension>
<extension
point="org.eclipse.ui.navigator.viewer">
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -434,6 +434,8 @@
public static String ConsoleConfigurationMainTab_create_new;
public static String ConsoleConfigurationMainTab_create_new_properties_file;
public static String ConsoleConfigurationMainTab_create_property_file;
+
+ public static String ConsoleConfigurationMainTab_DatabaseConnection;
public static String ConsoleConfigurationMainTab_do_you_want_to_create_new_cfgxml;
public static String ConsoleConfigurationMainTab_do_you_want_to_create_new_property_file;
public static String ConsoleConfigurationMainTab_does_not_exist;
@@ -521,6 +523,12 @@
public static String BasicWorkbenchAdapter_error_while_opening_configuration;
+ public static String ConnectionProfileCtrl_Edit;
+
+ public static String ConnectionProfileCtrl_HibernateConfiguredConnection;
+
+ public static String ConnectionProfileCtrl_New;
+
public static String ConnectionProfileRenameChange_update_connection_profile_name;
public static String ConnectionProfileRenameParticipant_launch_configurations_updates;
//
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -426,6 +426,7 @@
ConsoleConfigurationMainTab_create_new=Create &new...
ConsoleConfigurationMainTab_create_new_properties_file=Create a new properties file
ConsoleConfigurationMainTab_create_property_file=Create Property File
+ConsoleConfigurationMainTab_DatabaseConnection=Database connection:
ConsoleConfigurationMainTab_do_you_want_to_create_new_cfgxml=Do you want to create a new *.cfg.xml or use an existing one ?
ConsoleConfigurationMainTab_do_you_want_to_create_new_property_file=Do you want to create a new property file or use an existing one ?
ConsoleConfigurationMainTab_does_not_exist=\ does not exist
@@ -512,5 +513,8 @@
HibernateNature_reading_database_metadata=Reading database metadata
HibernateNature_reading_database_metadata_for=Reading database metadata for
+ConnectionProfileCtrl_Edit=Edit...
+ConnectionProfileCtrl_HibernateConfiguredConnection=[Hibernate configured connection]
+ConnectionProfileCtrl_New=New...
ConnectionProfileRenameChange_update_connection_profile_name=Update connection profile name in launch configuration
ConnectionProfileRenameParticipant_launch_configurations_updates=Launch Configurations updates
\ No newline at end of file
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConnectionProfileCtrl.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConnectionProfileCtrl.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConnectionProfileCtrl.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -43,6 +43,7 @@
import org.eclipse.swt.widgets.Display;
import org.eclipse.ui.internal.dialogs.PropertyDialog;
import org.hibernate.annotations.common.util.StringHelper;
+import org.hibernate.eclipse.console.HibernateConsoleMessages;
import org.hibernate.eclipse.console.HibernateConsolePlugin;
/**
@@ -146,7 +147,7 @@
* @param label
*/
public NewConnectionProfileAction() {
- super("New...");
+ super(HibernateConsoleMessages.ConnectionProfileCtrl_New);
}
@Override
@@ -201,7 +202,7 @@
* @param label
*/
public EditConnectionProfileAction() {
- super("Edit...");
+ super(HibernateConsoleMessages.ConnectionProfileCtrl_Edit);
}
/**
@@ -269,11 +270,11 @@
combo.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL));
buttonNew = new Button(comp, SWT.PUSH);
- buttonNew.setText("New...");
+ buttonNew.setText(HibernateConsoleMessages.ConnectionProfileCtrl_New);
buttonNew.addSelectionListener(action1);
buttonEdit = new Button(comp, SWT.PUSH);
- buttonEdit.setText("Edit...");
+ buttonEdit.setText(HibernateConsoleMessages.ConnectionProfileCtrl_Edit);
buttonEdit.addSelectionListener(action2);
updateInput();
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/launch/ConsoleConfigurationMainTab.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -96,9 +96,9 @@
}
private void createDBConnectConfig(Composite container) {
- Group group = SWTFactory.createGroup(container, "Database connection:", 3, 2, GridData.FILL_HORIZONTAL);
+ Group group = SWTFactory.createGroup(container, HibernateConsoleMessages.ConsoleConfigurationMainTab_DatabaseConnection, 3, 2, GridData.FILL_HORIZONTAL);
- connectionProfileCtrl = new ConnectionProfileCtrl(group, 1, ""); //$NON-NLS-1$//$NON-NLS-2$
+ connectionProfileCtrl = new ConnectionProfileCtrl(group, 1, ""); //$NON-NLS-1$
connectionProfileCtrl.addModifyListener(getChangeListener());
}
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/META-INF/MANIFEST.MF
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/META-INF/MANIFEST.MF 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/META-INF/MANIFEST.MF 2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,10 +1,10 @@
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
-Bundle-Name: Hibernate JDT Integration
+Bundle-Name: %Bundle-Name.0
Bundle-SymbolicName: org.hibernate.eclipse.jdt.ui;singleton:=true
Bundle-Version: 3.2.0.beta9
Bundle-Activator: org.hibernate.eclipse.jdt.ui.Activator
-Bundle-Vendor: JBoss, a division of Red Hat
+Bundle-Vendor: %Bundle-Vendor.0
Bundle-Localization: plugin
Require-Bundle: org.eclipse.jdt.ui,
org.eclipse.jdt.core,
Modified: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -3,5 +3,7 @@
bin.includes = META-INF/,\
.,\
plugin.xml,\
- icons/
-src.includes = icons/
+ icons/,\
+ plugin.properties
+src.includes = icons/,\
+ plugin.properties
Added: trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.properties
===================================================================
--- trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.properties (rev 0)
+++ trunk/hibernatetools/plugins/org.hibernate.eclipse.jdt.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,3 @@
+#Properties file for org.hibernate.eclipse.jdt.ui
+Bundle-Vendor.0 = JBoss, a division of Red Hat
+Bundle-Name.0 = Hibernate JDT Integration
\ No newline at end of file
Modified: trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.properties
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -9,3 +9,5 @@
MBeanExplorer.name = MBean Explorer
OpenMBeanAction.label=Open &MBean...
OpenMBeanAction.tooltip=Open MBean
+perspective.name=JMX
+ViewCategory_JMX=JMX
Modified: trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.xml
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.ui/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -8,7 +8,7 @@
<extension
point="org.eclipse.ui.views">
<category
- name="JMX"
+ name="%ViewCategory_JMX"
id="org.jboss.tools.jmx.ui.views">
</category>
<view
@@ -172,7 +172,7 @@
class="org.jboss.tools.jmx.ui.internal.perspectives.JMXPerspective"
icon="icons/releng_gears.gif"
id="org.jboss.tools.jmx.ui.perspectives.JMXPerspective"
- name="JMX">
+ name="%perspective.name">
</perspective>
</extension>
<extension
Modified: trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -12,6 +12,7 @@
public class Messages extends NLS {
public static String NewConnectionAction;
public static String NewConnectionWizard;
+ public static String NewConnectionWizard_CreateNewConnection;
public static String DefaultConnectionWizardPage_Title;
public static String DefaultConnectionWizardPage_Description;
public static String DefaultConnectionWizardPage_Simple;
Modified: trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/Messages.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,5 +1,6 @@
NewConnectionAction=New Connection...
NewConnectionWizard=New Connection Wizard
+NewConnectionWizard_CreateNewConnection=Create a new JMX Connection
DefaultConnectionWizardPage_Title=Create JMX Connection
DefaultConnectionWizardPage_Description=Create a new Default JMX Connection type by filling out either the Simple or the Advanced tab.
DefaultConnectionWizardPage_Simple=Simple
Modified: trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java
===================================================================
--- trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jmx/plugins/org.jboss.tools.jmx.ui/src/org/jboss/tools/jmx/ui/internal/wizards/NewConnectionWizard.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -142,7 +142,7 @@
TreeViewer viewer;
public FirstPage() {
super(Messages.NewConnectionWizard);
- setDescription("Create a new JMX Connection");
+ setDescription(Messages.NewConnectionWizard_CreateNewConnection);
}
public void createControl(Composite parent) {
Composite main = new Composite(parent, SWT.NONE);
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.properties
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -17,3 +17,21 @@
actionSets.license.label=&JSF Studio License
new.tiles=Tiles File
+PreferencePage_CustomCapabilities=Custom Capabilities
+PreferencePage_JSF=JSF
+PreferencePage_Project=Project
+PreferencePage_JSFImplementations=JSF Environment
+PreferencePage_JSFPages=JSF Pages
+PreferencePage_JSFFlowTabbed=JSF Flow Diagram
+
+NewWizardCat_JBossTools=JBoss Tools
+NewWizardCat_JSF=JSF
+NewWizardCat_Struts=Struts
+NewWizard_FacesConfig=Faces Config
+NewWizardDescription_FacesConfig=Create a Faces Config
+NewWizardDescription_JSFProject=Create a JSF Project
+
+ImportWizardCat_JSF=JSF
+ImportWizardCat_Struts=Struts
+ImportWizardDescription_JSFProject=Create a new Project from a JSF project in the file system. This does not copy the project to the workspace.
+ImportWizardDescription_JSFWar=Create a new Project from a JSF project in a WAR file. The content of WAR file will be copied to the workspace.
Modified: trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.xml
===================================================================
--- trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jsf/plugins/org.jboss.tools.jsf.ui/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -3,21 +3,33 @@
<plugin>
<extension point="org.eclipse.ui.preferencePages">
- <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.jsf.ui.preferences.JSFStudioPreferencesPage" id="org.jboss.tools.jsf.ui" name="JSF">
+ <page category="org.jboss.tools.common.model.ui"
+ class="org.jboss.tools.jsf.ui.preferences.JSFStudioPreferencesPage"
+ id="org.jboss.tools.jsf.ui"
+ name="%PreferencePage_JSF">
</page>
- <page category="org.jboss.tools.jsf.ui" class="org.jboss.tools.jsf.ui.preferences.JSFProjectPreferencesPage" id="org.jboss.tools.jsf.ui.project" name="Project">
+ <page category="org.jboss.tools.jsf.ui"
+ class="org.jboss.tools.jsf.ui.preferences.JSFProjectPreferencesPage"
+ id="org.jboss.tools.jsf.ui.project"
+ name="%PreferencePage_Project">
</page>
- <page category="org.jboss.tools.jsf.ui" class="org.jboss.tools.jsf.ui.preferences.JSFImplementationsPreferencesPage" id="org.jboss.tools.jsf.ui.jsfimplementations" name="JSF Environment"/>
- <page category="org.jboss.tools.jsf.ui" class="org.jboss.tools.jsf.ui.preferences.JSFPagesPreferencesPage" id="org.jboss.tools.jsf.ui.jsfpages" name="JSF Pages"/>
+ <page category="org.jboss.tools.jsf.ui"
+ class="org.jboss.tools.jsf.ui.preferences.JSFImplementationsPreferencesPage"
+ id="org.jboss.tools.jsf.ui.jsfimplementations"
+ name="%PreferencePage_JSFImplementations"/>
+ <page category="org.jboss.tools.jsf.ui"
+ class="org.jboss.tools.jsf.ui.preferences.JSFPagesPreferencesPage"
+ id="org.jboss.tools.jsf.ui.jsfpages"
+ name="%PreferencePage_JSFPages"/>
<page category="org.jboss.tools.common.model.ui"
class="org.jboss.tools.jsf.ui.preferences.JSFCapabilitiesPreferencesPage"
id="org.jboss.tools.jsf.ui.capabilities"
- name="Custom Capabilities"/>
+ name="%PreferencePage_CustomCapabilities"/>
<page
category="org.jboss.tools.common.xstudio.editors"
class="org.jboss.tools.jsf.ui.preferences.JSFFlowTabbedPreferencesPage"
id="org.jboss.tools.jsf.ui.jsfflowdiagram"
- name="JSF Flow Diagram"/>
+ name="%PreferencePage_JSFFlowTabbed"/>
</extension>
@@ -62,10 +74,12 @@
</extension>
<extension point="org.eclipse.ui.newWizards">
<category
- name="JBoss Tools"
+ name="%NewWizardCat_JBossTools"
id="org.jboss.ide.eclipse.ui.wizards">
</category>
- <category id="org.jboss.tools.jsf" name="JSF" parentCategory="org.jboss.tools.jst.web">
+ <category id="org.jboss.tools.jsf"
+ name="%NewWizardCat_JSF"
+ parentCategory="org.jboss.tools.jst.web">
</category>
<wizard
category="org.jboss.tools.jst.web/org.jboss.tools.jsf"
@@ -73,10 +87,10 @@
finalPerspective="org.jboss.tools.jsf.ui.wizard.project.NewProjectWizard"
icon="images/xstudio/wizards/jsf-config.gif"
id="org.jboss.tools.jsf.ui.wizard.newfile.NewFacesConfigFileWizard"
- name="Faces Config"
+ name="%NewWizard_FacesConfig"
project="false">
<description>
- Create a Faces Config
+ %NewWizardDescription_FacesConfig
</description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
@@ -91,7 +105,7 @@
preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
project="true">
<description>
- Create a JSF Project
+ %NewWizardDescription_JSFProject
</description>
</wizard>
@@ -99,7 +113,7 @@
<extension point="org.eclipse.ui.importWizards">
<category
id="org.jboss.tools.jsf"
- name="JSF"
+ name="%ImportWizardCat_JSF"
parentCategory="org.jboss.tools.jst.web">
</category>
<wizard
@@ -108,7 +122,7 @@
icon="images/xstudio/wizards/import_jsf_project.gif"
id="org.jboss.tools.jsf.ui.wizard.project.ImportProjectWizard"
name="%importProjectWizard.name">
- <description>Create a new Project from a JSF project in the file system. This does not copy the project to the workspace.</description>
+ <description>%ImportWizardDescription_JSFProject</description>
</wizard>
<wizard
category="org.jboss.tools.jst.web/org.jboss.tools.jsf"
@@ -116,7 +130,7 @@
icon="images/xstudio/wizards/import_jsf_project.gif"
id="org.jboss.tools.jsf.ui.wizard.project.ImportProjectWizard"
name="%importJSFWarWizard.name">
- <description>Create a new Project from a JSF project in a WAR file. The content of WAR file will be copied to the workspace.</description>
+ <description>%ImportWizardDescription_JSFWar</description>
</wizard>
</extension>
<extension point="org.eclipse.ui.popupMenus">
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -3,4 +3,6 @@
editors.tiles.name=JBoss Tools Tiles Editor
new.tiles=Tiles File
new.validation=Validation File
-
+PreferencePage_TilesDiagram=Tiles Diagram
+NewWizardCat_Struts=Struts
+NewWizardDescription_Tiles=Create a Tiles File
\ No newline at end of file
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.tiles.ui/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -36,18 +36,19 @@
</extension>
<extension point="org.eclipse.ui.preferencePages">
- <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.jst.web.tiles.ui.preferences.TilesEditorTabbedPreferencesPage" id="org.jboss.tools.common.xstudio.editors.tilesdiagram" name="Tiles Diagram">
+ <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.jst.web.tiles.ui.preferences.TilesEditorTabbedPreferencesPage" id="org.jboss.tools.common.xstudio.editors.tilesdiagram"
+ name="%PreferencePage_TilesDiagram">
</page>
</extension>
<extension point="org.eclipse.ui.newWizards">
- <category id="org.jboss.tools.struts" name="Struts" parentCategory="org.jboss.tools.jst.web">
+ <category id="org.jboss.tools.struts" name="%NewWizardCat_Struts" parentCategory="org.jboss.tools.jst.web">
</category>
<wizard category="org.jboss.tools.jst.web/org.jboss.tools.struts" class="org.jboss.tools.jst.web.tiles.ui.wizard.newfile.NewTilesFileWizard" icon="images/xstudio/wizards/new_tiles_file.gif" id="org.jboss.tools.jst.web.tiles.ui.wizard.newfile.NewTilesFileWizard" name="%new.tiles" project="false">
<selection class="org.eclipse.core.resources.IResource">
</selection>
<description>
- Create a Tiles File
+ %NewWizardDescription_Tiles
</description>
</wizard>
</extension>
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -17,4 +17,28 @@
popupMenus.action.unregisterFromServerXml=Unregister Web Context from server.xml
popupMenus.action.saveAsTemplate=Save As Template...
-web.category_ui_=Web
\ No newline at end of file
+web.category_ui_=Web
+
+PreferencePage_LibrarySets=Library Sets
+NewWizardCat_JBossToolsWeb=JBoss Tools Web
+NewWizard_CSSFile=CSS File
+NewWizardDescription_CSSFile=Create a CSS File
+NewWizard_CSSClass=CSS Class
+NewWizardDescription_CSSClass=Create a CSS Class
+NewWizard_JSFile=JS File
+NewWizardDescription_JSFile=Create a JS File
+NewWizard_WebDescriptor=Web Descriptor
+NewWizardDescription_WebDescriptor=Create a Web Descriptor
+NewWizard_JSPFile=JSP File
+NewWizardDescription_JSPFile=Create a JSP File
+NewWizard_XHTMLFile=XHTML File
+NewWizardDescription_XHTMLFile=Create a XHTML File
+NewWizard_HTMLFile=HTML File
+NewWizardDescription_HTMLFile=Create a HTML File
+NewWizard_PropertiesFile=Properties File
+NewWizardDescription_PropertiesFile=Create a Properties File
+NewWizard_TLDFile=TLD File
+NewWizardDescription_TLDFile=Create a TLD File
+
+ViewName_WebProjects=Web Projects
+ViewCategory_JBossToolsWeb=JBoss Tools Web
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -39,7 +39,8 @@
</xmlEditor>
</extension>
<extension point="org.eclipse.ui.preferencePages">
- <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.jst.web.ui.internal.preferences.LibrarySetsPreferencePage" id="org.jboss.tools.common.xstudio.libsets" name="Library Sets">
+ <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.jst.web.ui.internal.preferences.LibrarySetsPreferencePage" id="org.jboss.tools.common.xstudio.libsets"
+ name="%PreferencePage_LibrarySets">
</page>
</extension>
<extension point="org.eclipse.ui.editors">
@@ -89,7 +90,7 @@
</extension>
<extension point="org.eclipse.ui.newWizards">
- <category name="JBoss Tools Web"
+ <category name="%NewWizardCat_JBossToolsWeb"
id="org.jboss.tools.jst.web">
</category>
<wizard
@@ -98,11 +99,11 @@
finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
icon="images/xstudio/wizards/new_css_file.gif"
id="org.jboss.tools.jst.web.ui.wizards.newfile.NewCSSFileWizard"
- name="CSS File"
+ name="%NewWizard_CSSFile"
preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
project="false">
<description>
- Create a CSS File
+ %NewWizardDescription_CSSFile
</description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
@@ -113,11 +114,11 @@
finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
icon="images/xstudio/wizards/new_css_class.gif"
id="org.jboss.tools.jst.web.ui.wizards.newfile.NewCSSClassWizard"
- name="CSS Class"
+ name="%NewWizard_CSSClass"
preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
project="false">
<description>
- Create a CSS Class
+ %NewWizardDescription_CSSClass
</description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
@@ -128,11 +129,11 @@
finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
icon="images/xstudio/wizards/new_js_file.gif"
id="org.jboss.tools.jst.web.ui.wizards.newfile.NewJSFileWizard"
- name="JS File"
+ name="%NewWizard_JSFile"
preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
project="false">
<description>
- Create a JS File
+ %NewWizardDescription_JSFile
</description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
@@ -143,11 +144,11 @@
finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
icon="images/xstudio/wizards/new_webapp_file.gif"
id="org.jboss.tools.jst.web.ui.wizards.newfile.NewWebFileWizard"
- name="Web Descriptor"
+ name="%NewWizard_WebDescriptor"
preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
project="false">
<description>
- Create a Web Descriptor
+ %NewWizardDescription_WebDescriptor
</description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
@@ -158,11 +159,11 @@
finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
icon="images/xstudio/wizards/new_jsp_file.gif"
id="org.jboss.tools.common.model.ui.wizard.newfile.NewJSPFileWizard"
- name="JSP File"
+ name="%NewWizard_JSPFile"
preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
project="false">
<description>
- Create a JSP File
+ %NewWizardDescription_JSPFile
</description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
@@ -173,11 +174,11 @@
finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
icon="images/xstudio/wizards/new_html_file.gif"
id="org.jboss.tools.common.model.ui.wizard.newfile.NewXHTMLFileWizard"
- name="XHTML File"
+ name="%NewWizard_XHTMLFile"
preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
project="false">
<description>
- Create a XHTML File
+ %NewWizardDescription_XHTMLFile
</description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
@@ -188,11 +189,11 @@
finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
icon="images/xstudio/wizards/new_html_file.gif"
id="org.jboss.tools.common.model.ui.wizard.newfile.NewHTMLFileWizard"
- name="HTML File"
+ name="%NewWizard_HTMLFile"
preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
project="false">
<description>
- Create a HTML File
+ %NewWizardDescription_HTMLFile
</description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
@@ -202,10 +203,10 @@
class="org.jboss.tools.common.model.ui.wizard.newfile.NewPropertiesFileWizard"
icon="images/xstudio/wizards/new_properties_file.gif"
id="org.jboss.tools.common.model.ui.wizard.newfile.NewPropertiesFileWizard"
- name="Properties File"
+ name="%NewWizard_PropertiesFile"
project="false">
<description>
- Create a Properties File
+ %NewWizardDescription_PropertiesFile
</description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
@@ -216,11 +217,11 @@
finalPerspective="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
icon="images/xstudio/wizards/new_taglibs_file.gif"
id="org.jboss.tools.jst.web.ui.wizards.newfile.NewTLDFileWizard"
- name="TLD File"
+ name="%NewWizard_TLDFile"
preferredPerspectives="org.jboss.tools.jst.web.ui.WebDevelopmentPerspective"
project="false">
<description>
- Create a TLD File
+ %NewWizardDescription_TLDFile
</description>
<selection class="org.eclipse.core.resources.IResource">
</selection>
@@ -228,11 +229,11 @@
</extension>
<extension id="org.jboss.tools.jst.web.ui.views" name="JBoss Tools" point="org.eclipse.ui.views">
- <category id="web.views.category.id" name="JBoss Tools Web">
+ <category id="web.views.category.id" name="%ViewCategory_JBossToolsWeb">
</category>
<view category="web.views.category.id" class="org.jboss.tools.common.model.ui.views.palette.PaletteViewPart" icon="images/xstudio/views/palette.gif" id="org.jboss.tools.common.model.ui.views.palette.PaletteView" name="%paletteViewPart.name">
</view>
- <view category="web.views.category.id" class="org.jboss.tools.jst.web.ui.navigator.WebProjectsNavigator" icon="images/xstudio/views/web_project.gif" id="org.jboss.tools.jst.web.ui.navigator.WebProjectsView" name="Web Projects">
+ <view category="web.views.category.id" class="org.jboss.tools.jst.web.ui.navigator.WebProjectsNavigator" icon="images/xstudio/views/web_project.gif" id="org.jboss.tools.jst.web.ui.navigator.WebProjectsView" name="%ViewName_WebProjects">
</view>
</extension>
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/AbstractImplementationsPreferencesPage.java
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/AbstractImplementationsPreferencesPage.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/AbstractImplementationsPreferencesPage.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -36,8 +36,8 @@
public class AbstractImplementationsPreferencesPage extends PreferencePage implements
IWorkbenchPreferencePage {
- public static final String BUNDLE_NAME = "preferences";
- public static final ResourceBundle BUNDLE = ResourceBundle.getBundle(AbstractImplementationsPreferencesPage.class.getPackage().getName() + "." + BUNDLE_NAME);
+ public static final String BUNDLE_NAME = "preferences"; //$NON-NLS-1$
+ public static final ResourceBundle BUNDLE = ResourceBundle.getBundle(AbstractImplementationsPreferencesPage.class.getPackage().getName() + "." + BUNDLE_NAME); //$NON-NLS-1$
private AbstractWebProjectTemplate helper;
private String[] implementations;
@@ -121,10 +121,10 @@
heightHint = convertVerticalDLUsToPixels(14 /*IDialogConstants.BUTTON_HEIGHT*/);
widthHint = convertHorizontalDLUsToPixels(IDialogConstants.BUTTON_WIDTH);
- addButtonImpl = createButton(impl, BUNDLE.getString("ImplementationsPreferencesPage.Add"));
+ addButtonImpl = createButton(impl, BUNDLE.getString("ImplementationsPreferencesPage.Add")); //$NON-NLS-1$
if (errorMessage != null) addButtonImpl.setEnabled(false);
- removeButtonImpl = createButton(impl, BUNDLE.getString("ImplementationsPreferencesPage.Remove"));
+ removeButtonImpl = createButton(impl, BUNDLE.getString("ImplementationsPreferencesPage.Remove")); //$NON-NLS-1$
removeButtonImpl.setEnabled(false);
// TabFolder
@@ -133,10 +133,10 @@
tabbedComposite.setLayoutData(gridDataTab);
TabItem librariesTab = new TabItem(tabbedComposite,SWT.NULL);
- librariesTab.setText(BUNDLE.getString("ImplementationsPreferencesPage.Library.Sets"));
+ librariesTab.setText(BUNDLE.getString("ImplementationsPreferencesPage.Library.Sets")); //$NON-NLS-1$
TabItem projectTab = new TabItem(tabbedComposite,SWT.NULL);
- projectTab.setText(BUNDLE.getString("ImplementationsPreferencesPage.Project.Templates"));
+ projectTab.setText(BUNDLE.getString("ImplementationsPreferencesPage.Project.Templates")); //$NON-NLS-1$
// listLibraries
Composite entryLibraries = new Composite(tabbedComposite, SWT.NULL);
@@ -150,10 +150,10 @@
listLibraries.setLayoutData(gridDataListLibraries);
- addButtonLibraries = createButton(entryLibraries, BUNDLE.getString("ImplementationsPreferencesPage.Add"));
+ addButtonLibraries = createButton(entryLibraries, BUNDLE.getString("ImplementationsPreferencesPage.Add")); //$NON-NLS-1$
addButtonLibraries.setEnabled(false);
- removeButtonLibraries = createButton(entryLibraries, BUNDLE.getString("ImplementationsPreferencesPage.Remove"));
+ removeButtonLibraries = createButton(entryLibraries, BUNDLE.getString("ImplementationsPreferencesPage.Remove")); //$NON-NLS-1$
removeButtonLibraries.setEnabled(false);
librariesTab.setControl(entryLibraries);
@@ -170,21 +170,23 @@
listProject.setLayoutData(gridDataListProject);
- addButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Add"));
+ addButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Add")); //$NON-NLS-1$
addButtonProject.setEnabled(false);
- editButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Edit"));
+ editButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Edit")); //$NON-NLS-1$
editButtonProject.setEnabled(false);
- upButtonProject = createButton(entryProject, "Up");
+ upButtonProject = createButton(entryProject, BUNDLE
+ .getString("ImplementationsPreferencesPage.Up")); //$NON-NLS-1$
upButtonProject.setEnabled(false);
GridData d = (GridData)upButtonProject.getLayoutData();
d.verticalIndent = 5;
- downButtonProject = createButton(entryProject, "Down");
+ downButtonProject = createButton(entryProject, BUNDLE
+ .getString("ImplementationsPreferencesPage.Down")); //$NON-NLS-1$
downButtonProject.setEnabled(false);
- removeButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Remove"));
+ removeButtonProject = createButton(entryProject, BUNDLE.getString("ImplementationsPreferencesPage.Remove")); //$NON-NLS-1$
removeButtonProject.setEnabled(false);
d = (GridData)removeButtonProject.getLayoutData();
d.verticalIndent = 5;
Modified: trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties
===================================================================
--- trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/jst/plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/internal/preferences/preferences.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -12,5 +12,7 @@
ImplementationsPreferencesPage.Add=Add
ImplementationsPreferencesPage.Edit=Edit
ImplementationsPreferencesPage.Remove=Remove
+ImplementationsPreferencesPage.Up=Up
+ImplementationsPreferencesPage.Down=Down
ImplementationsPreferencesPage.Library.Sets=Library Sets
ImplementationsPreferencesPage.Project.Templates=Project Templates
\ No newline at end of file
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,2 +1,9 @@
# Menus
searchMenu.label= Se&arch
+PreferencePage_Validator=Validator
+PreferencePage_Seam=Seam
+PreferencePage_SeamValidator=Seam Validator
+PreferencePage_SeamSettings=Seam Settings
+ViewCategory_Seam=Seam
+ViewName_SeamComponents=Seam Components
+perspective.name=Seam
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -114,14 +114,14 @@
point="org.eclipse.ui.views">
<category
id="org.jboss.tools.seam.ui"
- name="Seam">
+ name="%ViewCategory_Seam">
</category>
<view
category="org.jboss.tools.seam.ui"
class="org.eclipse.ui.navigator.CommonNavigator"
icon="icons/seam16.png"
id="org.jboss.tools.seam.ui.views.SeamComponentsNavigator"
- name="Seam Components">
+ name="%ViewName_SeamComponents">
</view>
</extension>
<extension
@@ -415,20 +415,20 @@
category="org.jboss.tools.common.model.ui.seam"
class="org.jboss.tools.seam.ui.preferences.SeamValidatorPreferencePage"
id="org.jboss.tools.seam.ui.preferences.SeamValidatorPreferencePage"
- name="Validator">
+ name="%PreferencePage_Validator">
</page>
<page
category="org.jboss.tools.common.model.ui"
class="org.jboss.tools.seam.ui.preferences.SeamPreferencePage"
id="org.jboss.tools.common.model.ui.seam"
- name="Seam">
+ name="%PreferencePage_Seam">
</page>
</extension>
<extension
point="org.eclipse.ui.propertyPages">
<page
- name="Seam Validator"
+ name="%PreferencePage_SeamValidator"
class="org.jboss.tools.seam.ui.preferences.SeamValidatorPreferencePage"
id="org.jboss.tools.seam.ui.propertyPages.SeamValidatorPreferencePage">
<enabledWhen>
@@ -439,7 +439,7 @@
</page>
<page
- name="Seam Settings"
+ name="%PreferencePage_SeamSettings"
class="org.jboss.tools.seam.ui.preferences.SeamSettingsPreferencePage"
id="org.jboss.tools.seam.ui.propertyPages.SeamSettingsPreferencePage">
<enabledWhen>
@@ -455,7 +455,7 @@
class="org.jboss.tools.seam.ui.SeamPerspectiveFactory"
icon="icons/seam16.png"
id="org.jboss.tools.seam.ui.SeamPerspective"
- name="Seam">
+ name="%perspective.name">
</perspective>
</extension>
<extension
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/SeamUIMessages.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -464,6 +464,12 @@
public static String SeamQuickFixFindDeclarations;
public static String SeamQuickFixFindReferences;
+
+ public static String SeamRuntimeListFieldEditor_ActionAdd;
+
+ public static String SeamRuntimeListFieldEditor_ActionEdit;
+
+ public static String SeamRuntimeListFieldEditor_ActionRemove;
static {
// load message values from bundle file
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/messages.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -239,6 +239,9 @@
SeamSearch="Seam Search - "
SeamQuickFixFindDeclarations=Find Seam declarations for ''{0}''
SeamQuickFixFindReferences=Find Seam references for ''{0}''
+SeamRuntimeListFieldEditor_ActionAdd=&Add
+SeamRuntimeListFieldEditor_ActionEdit=&Edit
+SeamRuntimeListFieldEditor_ActionRemove=&Remove
POJO_CLASS_ALREADY_EXISTS=Such POJO class already exists!
ENTITY_CLASS_ALREADY_EXISTS=Such entity class already exists!
PAGE_ALREADY_EXISTS=Such page already exists!
Modified: trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java
===================================================================
--- trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/seam/plugins/org.jboss.tools.seam.ui/src/org/jboss/tools/seam/ui/widget/editor/SeamRuntimeListFieldEditor.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -418,9 +418,9 @@
public static class SeamRuntimeWizardPage extends WizardPage implements
PropertyChangeListener {
- private static final String SRT_NAME = "name";
- private static final String SRT_HOMEDIR = "homeDir";
- private static final String SRT_VERSION = "version";
+ private static final String SRT_NAME = "name"; //$NON-NLS-1$
+ private static final String SRT_HOMEDIR = "homeDir"; //$NON-NLS-1$
+ private static final String SRT_VERSION = "version"; //$NON-NLS-1$
private static final int GL_PARENT_COLUMNS = 1;
private static final int GL_CONTENT_COLUMNS = 3;
@@ -548,11 +548,11 @@
* PropertyChangeEvent describes changes in wizard
*/
public void propertyChange(java.beans.PropertyChangeEvent evt) {
- if ("homeDir".equals(evt.getPropertyName())) {
+ if ("homeDir".equals(evt.getPropertyName())) { //$NON-NLS-1$
if (name.getValueAsString() == null
- || "".equals(name.getValueAsString().trim())) {
+ || "".equals(name.getValueAsString().trim())) { //$NON-NLS-1$
String homeDirName = homeDir.getValueAsString();
- if (homeDirName != null && !"".equals(homeDirName.trim())) {
+ if (homeDirName != null && !"".equals(homeDirName.trim())) { //$NON-NLS-1$
File folder = new File(homeDirName);
homeDirName = folder.getName();
}
@@ -567,7 +567,7 @@
}
if (seamVersion != null && validSeamVersions != null) {
for (SeamVersion ver : validSeamVersions) {
- if (seamVersion.matches(ver.toString().substring(0,1)+ ".*")) {
+ if (seamVersion.matches(ver.toString().substring(0,1)+ ".*")) { //$NON-NLS-1$
version.setValue(ver.toString());
break;
}
@@ -632,8 +632,8 @@
return;
} else if (!seamVersion.matches(version.getValueAsString().replace(
".", "\\.") + ".*")) { //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- if(seamVersion.matches(version.getValueAsString().substring(0,1)+".*")) {
- if(!seamVersion.matches(version.getValueAsString().substring(0,1)+"\\.1\\..*")) {
+ if(seamVersion.matches(version.getValueAsString().substring(0,1)+".*")) { //$NON-NLS-1$
+ if(!seamVersion.matches(version.getValueAsString().substring(0,1)+"\\.1\\..*")) { //$NON-NLS-1$
setMessage(SeamUIMessages.SEAM_RUNTIME_LIST_FIELD_EDITOR_THE_SELECTED_SEAM_APPEARS_TO_BE_OF_INCOMATIBLE_VERSION
+ seamVersion + "'", IMessageProvider.WARNING); //$NON-NLS-1$
}
@@ -672,7 +672,7 @@
public static String getSeamVersion(String path) {
File seamJarFile = new File(path, "jboss-seam.jar"); //$NON-NLS-1$
if (!seamJarFile.exists()) {
- seamJarFile = new File(path, "lib/jboss-seam.jar"); // hack to
+ seamJarFile = new File(path, "lib/jboss-seam.jar"); // hack to //$NON-NLS-1$
// make it
// work for
// seam2
@@ -1050,13 +1050,11 @@
*/
public class AddAction extends BaseAction {
- static final String ACTION_NAME = "&Add";
-
/**
* Constructior create Add action with default name
*/
public AddAction() {
- super(ACTION_NAME);
+ super(SeamUIMessages.SeamRuntimeListFieldEditor_ActionAdd);
// This action is always available
setEnabled(true);
}
@@ -1094,16 +1092,13 @@
*/
public class EditAction extends BaseAction {
- static final String ACTION_NAME = "&Edit";
-
-
/**
* Create EditAction with default name
*
* @param text
*/
public EditAction() {
- super(ACTION_NAME);
+ super(SeamUIMessages.SeamRuntimeListFieldEditor_ActionEdit);
}
/**
@@ -1156,12 +1151,11 @@
*/
public class RemoveAction extends BaseAction {
- static final String ACTION_NAME = "&Remove";
/**
* Create DeleteAction action with default name
*/
public RemoveAction() {
- super(ACTION_NAME);
+ super(SeamUIMessages.SeamRuntimeListFieldEditor_ActionRemove);
}
@Override
Modified: trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.properties
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -31,3 +31,17 @@
new.validation=Validation File
struts.projects.navigator.name=Struts Projects
+
+NewWizardCat_Struts=Struts
+ImportWizardCat_Struts=Struts
+PreferencePage_Struts=Struts
+PreferencePage_StrutsSupport=Struts Support
+PreferencePage_StrutsEnvironment=Struts Environment
+PreferencePage_StrutsPages=Struts Pages
+PreferencePage_Project=Project
+PreferencePage_Automation=Automation
+PreferencePage_ResourceInsets=Resource Insets
+PreferencePage_Customization=Customization
+PreferencePage_WebFlow=Struts Flow Diagram
+PreferencePage_PluginInsets=Plug-in Insets
+
Modified: trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.xml
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/struts/plugins/org.jboss.tools.struts.ui/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -31,7 +31,7 @@
</xmlEditor-->
</extension>
<extension point="org.eclipse.ui.newWizards">
- <category id="org.jboss.tools.struts" name="Struts" parentCategory="org.jboss.tools.jst.web">
+ <category id="org.jboss.tools.struts" name="%NewWizardCat_Struts" parentCategory="org.jboss.tools.jst.web">
</category>
<wizard
category="org.jboss.tools.jst.web/org.jboss.tools.struts"
@@ -94,7 +94,7 @@
<extension point="org.eclipse.ui.importWizards">
<category
id="org.jboss.tools.struts"
- name="Struts"
+ name="%ImportWizardCat_Struts"
parentCategory="org.jboss.tools.jst.web">
</category>
<wizard
@@ -127,21 +127,30 @@
</attributeAdapter>
</extension>
<extension point="org.eclipse.ui.preferencePages">
- <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.struts.ui.preferences.StrutsStudioPreferencesPage" id="org.jboss.tools.common.xstudio" name="Struts">
+ <page category="org.jboss.tools.common.model.ui" class="org.jboss.tools.struts.ui.preferences.StrutsStudioPreferencesPage" id="org.jboss.tools.common.xstudio"
+ name="%PreferencePage_Struts">
</page>
- <page category="org.jboss.tools.common.xstudio.project" class="org.jboss.tools.struts.ui.preferences.StrutsSupportPreferencesPage" id="org.jboss.tools.common.xstudio.project.strutssupport" name="Struts Support">
+ <page category="org.jboss.tools.common.xstudio.project" class="org.jboss.tools.struts.ui.preferences.StrutsSupportPreferencesPage" id="org.jboss.tools.common.xstudio.project.strutssupport"
+ name="%PreferencePage_StrutsSupport">
</page>
- <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.StrutsImplementationsPreferencesPage" id="org.jboss.tools.struts.ui.environments" name="Struts Environment"/>
- <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.StrutsPagesPreferencesPage" id="org.jboss.tools.jsf.ui.jsfpages" name="Struts Pages"/>
- <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.ProjectPreferencesPage" id="org.jboss.tools.common.xstudio.project" name="Project">
+ <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.StrutsImplementationsPreferencesPage" id="org.jboss.tools.struts.ui.environments"
+ name="%PreferencePage_StrutsEnvironment"/>
+ <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.StrutsPagesPreferencesPage" id="org.jboss.tools.jsf.ui.jsfpages"
+ name="%PreferencePage_StrutsPages"/>
+ <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.ProjectPreferencesPage" id="org.jboss.tools.common.xstudio.project"
+ name="%PreferencePage_Project">
</page>
- <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.AutomationPreferencePage" id="org.jboss.tools.common.xstudio.automation" name="Automation">
+ <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.AutomationPreferencePage" id="org.jboss.tools.common.xstudio.automation"
+ name="%PreferencePage_Automation">
</page>
- <page category="org.jboss.tools.common.xstudio.automation" class="org.jboss.tools.struts.ui.preferences.RsourceInsetsPreferencesPage" id="org.jboss.tools.common.xstudio.automation.resource.insets" name="Resource Insets">
+ <page category="org.jboss.tools.common.xstudio.automation" class="org.jboss.tools.struts.ui.preferences.RsourceInsetsPreferencesPage" id="org.jboss.tools.common.xstudio.automation.resource.insets"
+ name="%PreferencePage_ResourceInsets">
</page>
- <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.CustomizationPreferencePage" id="org.jboss.tools.common.xstudio.customization" name="Customization">
+ <page category="org.jboss.tools.common.xstudio" class="org.jboss.tools.struts.ui.preferences.CustomizationPreferencePage" id="org.jboss.tools.common.xstudio.customization"
+ name="%PreferencePage_Customization">
</page>
- <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.struts.ui.preferences.WebFlowTabbedPreferencesPage" id="org.jboss.tools.common.xstudio.editors.webflowdiagram" name="Struts Flow Diagram">
+ <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.struts.ui.preferences.WebFlowTabbedPreferencesPage" id="org.jboss.tools.common.xstudio.editors.webflowdiagram"
+ name="%PreferencePage_WebFlow">
</page>
</extension>
<!--extension point="org.eclipse.ui.perspectives">
@@ -265,7 +274,8 @@
<extension point="org.eclipse.ui.preferencePages">
- <page category="org.jboss.tools.common.xstudio.automation" class="org.jboss.tools.struts.ui.preferences.PluginInsetsPreferencesPage" id="org.jboss.tools.common.xstudio.automation.plugin.insets" name="Plug-in Insets">
+ <page category="org.jboss.tools.common.xstudio.automation" class="org.jboss.tools.struts.ui.preferences.PluginInsetsPreferencesPage" id="org.jboss.tools.common.xstudio.automation.plugin.insets"
+ name="%PreferencePage_PluginInsets">
</page>
</extension>
Added: trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/Messages.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/Messages.java (rev 0)
+++ trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/Messages.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,16 @@
+package org.jboss.tools.struts.validator.ui;
+
+import org.eclipse.osgi.util.NLS;
+
+public class Messages extends NLS {
+ private static final String BUNDLE_NAME = "org.jboss.tools.struts.validator.ui.messages"; //$NON-NLS-1$
+ public static String ActionNames_Default;
+ public static String ActionNames_Overwrite;
+ static {
+ // initialize resource bundle
+ NLS.initializeMessages(BUNDLE_NAME, Messages.class);
+ }
+
+ private Messages() {
+ }
+}
Modified: trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/formset/ActionNames.java
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/formset/ActionNames.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/formset/ActionNames.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -11,11 +11,12 @@
package org.jboss.tools.struts.validator.ui.formset;
import org.jboss.tools.common.model.ui.objecteditor.XChildrenEditor;
+import org.jboss.tools.struts.validator.ui.Messages;
public interface ActionNames {
public String ADD = XChildrenEditor.ADD;
public String EDIT = XChildrenEditor.EDIT;
- public String OVERWRITE = "Override";
+ public String OVERWRITE = Messages.ActionNames_Overwrite;
public String DELETE = XChildrenEditor.DELETE;
- public String DEFAULT = "Default";
+ public String DEFAULT = Messages.ActionNames_Default;
}
Added: trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/messages.properties
===================================================================
--- trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/messages.properties (rev 0)
+++ trunk/struts/plugins/org.jboss.tools.struts.validator.ui/src/org/jboss/tools/struts/validator/ui/messages.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,2 @@
+ActionNames_Default=Default
+ActionNames_Overwrite=Override
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/plugin.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/plugin.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -6,3 +6,6 @@
source.maxmin=Maximize/Restore Source Part
visual.maxmin=Maximize/Restore Visual Part
visual.jumping=Jump
+PreferencePage_ElVariables=El Variables
+visualEditorImpl_name=XulRunner Visual Editor
+PreferencePage_VpeEditor=Visual Page Editor
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -31,12 +31,14 @@
/>
</extension>
<extension point="org.eclipse.ui.preferencePages">
- <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.vpe.editor.preferences.VpeEditorPreferencesPage" id="org.jboss.tools.vpe.editor" name="Visual Page Editor"></page>
+ <page category="org.jboss.tools.common.xstudio.editors" class="org.jboss.tools.vpe.editor.preferences.VpeEditorPreferencesPage" id="org.jboss.tools.vpe.editor"
+ name="%PreferencePage_VpeEditor">
+ </page>
<page
category="org.jboss.tools.common.model.ui"
class="org.jboss.tools.vpe.editor.preferences.ELVariablesPreferencePage"
id="org.jboss.tools.common.xstudio.elvariables"
- name="El Variables">
+ name="%PreferencePage_ElVariables">
</page>
</extension>
<extension
@@ -76,7 +78,7 @@
</extension>
<extension
point="org.jboss.tools.jst.jsp.visulaEditorImplementations" id="org.jboss.tools.vpe.editor.VpeEditorPartFactory">
- <visualEditorImplementation name="XulRunner Visual Editor" class="org.jboss.tools.vpe.editor.VpeEditorPartFactory"/>
+ <visualEditorImplementation name="%visualEditorImpl_name" class="org.jboss.tools.vpe.editor.VpeEditorPartFactory"/>
</extension>
<extension
point="org.eclipse.ui.menus">
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesPreferencePage.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesPreferencePage.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesPreferencePage.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -31,8 +31,8 @@
import org.jboss.tools.vpe.messages.VpeUIMessages;
public class TemplatesPreferencePage extends PreferencePage implements IWorkbenchPreferencePage, CommandBarListener {
- static String EDIT = "Edit"; //$NON-NLS-1$
- static String REMOVE = "Remove"; //$NON-NLS-1$
+ static String EDIT = VpeUIMessages.TemplatesPreferencePage_Edit;
+ static String REMOVE = VpeUIMessages.TemplatesPreferencePage_Remove;
protected TemplatesTableProvider tableProvider;// = new TemplatesTableProvider();
protected XTable table = new XTable();
protected CommandBar bar = new CommandBar();
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/preferences/TemplatesTableProvider.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -16,9 +16,10 @@
import org.eclipse.swt.graphics.*;
import org.jboss.tools.vpe.editor.template.VpeAnyData;
+import org.jboss.tools.vpe.messages.VpeUIMessages;
public class TemplatesTableProvider implements XTableProvider, XTableImageProvider {
- static String[] COLUMNS = new String[]{"URI","Tag for Display", "Tag Name", "Children"};
+ static String[] COLUMNS = new String[]{VpeUIMessages.TemplatesTableProvider_URI,VpeUIMessages.TemplatesTableProvider_TagForDisplay, VpeUIMessages.TemplatesTableProvider_TagName, VpeUIMessages.TemplatesTableProvider_Children};
static int[] WIDTH = new int[]{200,150, 150,100};
List dataList;
@@ -49,10 +50,10 @@
case 2:
return data.getName();
case 3:
- if(data.isChildren()) return "yes";
- else return "no";
+ if(data.isChildren()) return VpeUIMessages.TemplatesTableProvider_Yes;
+ else return VpeUIMessages.TemplatesTableProvider_No;
}
- return "x";
+ return "x"; //$NON-NLS-1$
}
public Object getDataAt(int r) {
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/VpeUIMessages.java 2009-01-14 07:33:15 UTC (rev 13030)
@@ -81,6 +81,14 @@
public static String SHOW;
public static String HIDE;
public static String TAG_FOR_DISPLAY;
+ public static String TemplatesPreferencePage_Edit;
+ public static String TemplatesPreferencePage_Remove;
+ public static String TemplatesTableProvider_Children;
+ public static String TemplatesTableProvider_No;
+ public static String TemplatesTableProvider_TagForDisplay;
+ public static String TemplatesTableProvider_TagName;
+ public static String TemplatesTableProvider_URI;
+ public static String TemplatesTableProvider_Yes;
public static String STYLE;
public static String MAX_SOURCE_PANE;
public static String MAX_VISUAL_PANE;
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/messages/messages.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -59,6 +59,14 @@
SHOW=Show
HIDE=Hide
TAG_FOR_DISPLAY=Tag for Display
+TemplatesPreferencePage_Edit=Edit
+TemplatesPreferencePage_Remove=Remove
+TemplatesTableProvider_Children=Children
+TemplatesTableProvider_No=no
+TemplatesTableProvider_TagForDisplay=Tag for Display
+TemplatesTableProvider_TagName=Tag Name
+TemplatesTableProvider_URI=URI
+TemplatesTableProvider_Yes=yes
STYLE=Style
MAX_SOURCE_PANE=Maximize Source Pane
MAX_VISUAL_PANE=Maximize Visual Pane
Modified: trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/META-INF/MANIFEST.MF
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/META-INF/MANIFEST.MF 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/META-INF/MANIFEST.MF 2009-01-14 07:33:15 UTC (rev 13030)
@@ -4,6 +4,7 @@
Bundle-SymbolicName: org.jboss.tools.vpe.xulrunner.test;singleton:=true
Bundle-Version: 2.0.0
Bundle-Vendor: JBoss, a division of Red Hat
+Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.junit,
Modified: trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/build.properties
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/build.properties 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/build.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -1,9 +1,11 @@
output.. = bin/
bin.includes = META-INF/,\
plugin.xml,\
- vpe-mozilla-tests.jar
+ vpe-mozilla-tests.jar,\
+ plugin.properties
src.includes = src/,\
plugin.xml,\
build.properties,\
- META-INF/
+ META-INF/,\
+ plugin.properties
source.vpe-mozilla-tests.jar = src/
Added: trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.properties
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.properties (rev 0)
+++ trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.properties 2009-01-14 07:33:15 UTC (rev 13030)
@@ -0,0 +1,2 @@
+ViewName_XulRunner=XulRunner View
+ViewCategory_VPETests=VPE Tests
Modified: trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.xml
===================================================================
--- trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.xml 2009-01-14 06:30:44 UTC (rev 13029)
+++ trunk/vpe/tests/org.jboss.tools.vpe.xulrunner.test/plugin.xml 2009-01-14 07:33:15 UTC (rev 13030)
@@ -5,12 +5,12 @@
point="org.eclipse.ui.views">
<category
id="org.jboss.tools.vpe.xulrunner.view"
- name="VPE Tests"/>
+ name="%ViewCategory_VPETests"/>
<view
category="org.jboss.tools.vpe.xulrunner.view"
class="org.jboss.tools.vpe.xulrunner.view.XulRunnerView"
id="org.jboss.tools.vpe.xulrunner.view.XulRunnerView"
- name="XulRunner View"/>
+ name="%ViewName_XulRunner"/>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
16 years
JBoss Tools SVN: r13029 - trunk/i18n.
by jbosstools-commits@lists.jboss.org
Author: sflanigan
Date: 2009-01-14 01:30:44 -0500 (Wed, 14 Jan 2009)
New Revision: 13029
Added:
trunk/i18n/build.number
trunk/i18n/content.xsl
Modified:
trunk/i18n/build.xml
trunk/i18n/feature.xsl
trunk/i18n/i18n.properties
trunk/i18n/pom.xml
trunk/i18n/prop2potincludes.txt
Log:
POT timestamp header is now copied from filesystem modtime of original properties file.
Added buildnumber to langpack versions.
P2 metadata is modified by xsl to relax dependencies.
Added: trunk/i18n/build.number
===================================================================
--- trunk/i18n/build.number (rev 0)
+++ trunk/i18n/build.number 2009-01-14 06:30:44 UTC (rev 13029)
@@ -0,0 +1,3 @@
+#Build Number for ANT. Do not edit!
+#Wed Jan 14 14:51:01 EST 2009
+build.number=33
Modified: trunk/i18n/build.xml
===================================================================
--- trunk/i18n/build.xml 2009-01-14 06:28:46 UTC (rev 13028)
+++ trunk/i18n/build.xml 2009-01-14 06:30:44 UTC (rev 13029)
@@ -30,7 +30,7 @@
<!-- Define the Ant-Contrib and Tennera Ant Gettext tasks, using Maven
to resolve dependencies: -->
- <target name="initTaskDefs" depends="-get-maven-artifact-ant">
+ <target name="-initTaskDefs" depends="-get-maven-artifact-ant">
<path id="maven-ant-tasks.classpath" path="${maven-artifact-ant.bootstrap.jar}" />
<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant" classpathref="maven-ant-tasks.classpath" />
@@ -55,16 +55,17 @@
<taskdef name="pot2en" classname="org.fedorahosted.tennera.antgettext.Pot2EnTask" classpathref="dependency.classpath" />
<taskdef name="po2prop" classname="org.fedorahosted.tennera.antgettext.Po2PropTask" classpathref="dependency.classpath" />
<taskdef name="xpath2pot" classname="org.fedorahosted.tennera.antgettext.XPath2PotTask" classpathref="dependency.classpath" />
+ <taskdef name="verifyprop" classname="org.fedorahosted.tennera.antgettext.VerifyPropTask" classpathref="dependency.classpath" />
<typedef name="unbundlemapper"
classname="org.fedorahosted.tennera.antgettext.UnBundleNameMapper"
classpathref="dependency.classpath" />
</target>
- <target name="init" depends="-checkver,initTaskDefs">
+ <target name="-init" depends="-checkver,-initTaskDefs">
</target>
- <target name="debug" depends="init">
+ <target name="debug" depends="-init" description="Outputs some debugging information">
<echo message="jbt.srcdir=${jbt.srcdir}"/>
<!-- get the source compile classpath in a printable form -->
<pathconvert pathsep="${line.separator}| |__ " property="echo.dependency.classpath" refid="dependency.classpath">
@@ -93,7 +94,7 @@
<delete dir="${target.dir}" includes="*.tmp" />
</target>
- <target name="prop2pot" depends="init"
+ <target name="prop2pot" depends="-init"
description="Extract translation templates (POT) from the JBoss Tools English properties files">
<!--
Paths under jbt.srcdir look like: ${module}/plugins/${plugin}/{src,src/main,jbosscore,...}
@@ -114,7 +115,7 @@
jbosscore
jbossui
resources
- template-src (but *not* templates)
+ [removed] template-src (but *not* templates)
NB Maven conventions would also require:
src/main/resources
-->
@@ -137,23 +138,23 @@
</target>
<!-- autogenerated "translations" -->
- <target name="en" depends="init" description="Generate English PO files from POT files">
+ <target name="en" depends="-init" description="Generate English PO files from POT files">
<pot2en srcDir="po" dstDir="target/po" locale="en" />
</target>
- <target name="qps" depends="init" description="Generate Pseudo-translation PO files for qps locale from POT files">
+ <target name="qps" depends="-init" description="Generate Pseudo-translation PO files for qps locale from POT files">
<pot2en srcDir="po" dstDir="target/po" locale="qps" pseudo="true" />
</target>
- <target name="en_AA" depends="init" description="Generate Pseudo-translation PO files for en_AA locale from POT files">
+ <target name="en_AA" depends="-init" description="Generate Pseudo-translation PO files for en_AA locale from POT files">
<pot2en srcDir="po" dstDir="target/po" locale="en_AA" pseudo="true" />
</target>
- <target name="msgmerge">
+ <target name="msgmerge" description="Merges updated English text from pot files to po files">
<apply executable="msgmerge" failonerror="true" failifexecutionfails="true" dest="po">
<arg value="--quiet"/>
<arg value="--update"/>
+ <srcfile />
<targetfile />
- <srcfile />
<fileset dir="po" includes="**/*.po" />
<!-- Only for testing:
@@ -165,7 +166,22 @@
</apply>
</target>
- <target name="po2prop" depends="init" description="Generate Java properties files from translated PO files">
+ <target name="msgcmp" description="Checks po files against their pot files (eg for missing messages)">
+ <apply executable="msgcmp" failonerror="true" failifexecutionfails="true" dest="po">
+ <srcfile />
+ <targetfile />
+
+ <fileset dir="po" includes="**/*.po" />
+<!-- Only for testing:
+-->
+ <fileset dir="target/po" includes="**/*.po" />
+ <!-- Turns module/org.jboss.package-org.jboss.Messages/*.po into
+ module/org.jboss.package-org.jboss.Messages/org.jboss.Messages.pot -->
+ <mapper type="regexp" from="^(.*[/\\][^-]+-([^/\\]+))[/\\][^/\\]+[.]po$$" to="\1/\2.pot" />
+ </apply>
+ </target>
+
+ <target name="po2prop" depends="-init" description="Generate Java properties files from translated PO files">
<delete dir="${propdir}" />
<mkdir dir="${propdir}" />
<po2prop srcDir="po" dstDir="${propdir}" failonnull="true">
@@ -222,9 +238,15 @@
</sequential>
</macrodef>
+ <target name="-buildnum" description="updates the build number" unless="build.number">
+ <buildnumber file="build.number"/>
+ </target>
+
+ <target name="metadata" depends="-init,-buildnum" description="Generate fragment/feature manifests and jars for langpack plugins, and site.xml">
+ <property name="PLUGIN_VERSION" value="${BASE_VERSION}.${build.number}"/>
+ <property name="FEATURE_VERSION" value="${PLUGIN_VERSION}"/>
<!-- Processes the generated props directory, one plugin at a time,
generating manifests and jars -->
- <target name="plugins" depends="init" description="Generate fragment manifests and jars for langpack plugins">
<delete dir="${jardir}/plugins" />
<mkdir dir="${jardir}/plugins" />
<!-- for each plugin directory -->
@@ -257,38 +279,8 @@
<foreachlocale task="-plugin"/>
</sequential>
</for>
- </target>
-
- <target name="-plugin" >
- <!-- Jars up one fragment plugin. -->
- <jar
- destfile="${jardir}/plugins/${plugin}.nl-${locale}_${PLUGIN_VERSION}.jar"
- filesonly="true"
- update="false"
- whenmanifestonly="create"
- duplicate="fail">
- <fileset dir="${plugindir}" includes="**/*_${locale}.properties" erroronmissingdir="false"/>
- <manifest>
- <attribute name="Manifest-Version"
- value="1.0"/>
- <attribute name="Created-By"
- value="JBoss Tools i18n (build.xml)"/>
- <attribute name="Bundle-Name"
- value="${plugin} ${localename} NLS Support"/>
- <attribute name="Bundle-SymbolicName"
- value="${plugin}.nl-${locale} ;singleton=true"/>
- <attribute name="Bundle-Version"
- value="${PLUGIN_VERSION}"/>
- <attribute name="Bundle-Vendor"
- value="${PLUGIN_VENDOR}"/>
- <attribute name="Fragment-Host"
- value="${plugin}"/>
- </manifest>
- </jar>
- </target>
- <target name="features" depends="init"
- description="Generate langpack feature manifests (one per locale) for each JBT feature, and corresponding site.xml">
+ <!-- Generate langpack feature manifests (one per locale) for each JBT feature -->
<delete dir="${propdir}/features" />
<mkdir dir="${propdir}/features" />
<delete dir="${jardir}/features" />
@@ -324,6 +316,8 @@
</sequential>
</for>
+ <!-- Generate site.xml -->
+
<foreachlocale task="-categorydef"/>
<!-- Shouldn't need this, just being safe: -->
@@ -342,6 +336,38 @@
</copy>
</target>
+ <target name="-plugin" >
+ <!-- Jars up one fragment plugin. -->
+ <jar
+ destfile="${jardir}/plugins/${plugin}.nl-${locale}_${PLUGIN_VERSION}.jar"
+ filesonly="true"
+ update="false"
+ whenmanifestonly="skip"
+ duplicate="fail">
+ <fileset dir="${plugindir}" includes="**/*_${locale}.properties" erroronmissingdir="false"/>
+ <manifest>
+ <attribute name="Manifest-Version"
+ value="1.0"/>
+ <attribute name="Created-By"
+ value="JBoss Tools i18n (build.xml)"/>
+ <attribute name="Bundle-Name"
+ value="${plugin} ${localename} NLS Support"/>
+ <attribute name="Bundle-SymbolicName"
+ value="${plugin}.nl-${locale} ;singleton=true"/>
+ <attribute name="Bundle-Version"
+ value="${PLUGIN_VERSION}"/>
+ <attribute name="Bundle-Vendor"
+ value="${PLUGIN_VENDOR}"/>
+ <attribute name="Fragment-Host"
+ value="${plugin}"/>
+<!--
+ <attribute name="Require-Bundle"
+ value="${plugin};resolution:=optional"/>
+-->
+ </manifest>
+ </jar>
+ </target>
+
<!-- Create feature jar including manifest. Also create a <feature> for site.xml -->
<target name="-feature">
<!-- create langpack <feature> to go into site.xml -->
@@ -352,6 +378,13 @@
version="${FEATURE_VERSION}">
<category name="${locale}"/>
</feature>]]></echo>
+<!--
+ <echo append="true" file="${temp.file.metafeature}"><![CDATA[
+ <includes
+ id="${feature}.nl-${locale}"
+ version="${FEATURE_VERSION}"
+ optional="true"/>]]></echo>
+-->
<!-- Process feature.xml with <xslt> -->
<xslt
style="feature.xsl"
@@ -372,8 +405,8 @@
<jar destfile="${jardir}/features/${feature}.nl-${locale}_${PLUGIN_VERSION}.jar"
basedir="${propdir}/features/${feature}.nl-${locale}_${PLUGIN_VERSION}" />
<!-- might want to keep around for debugging:
+ <delete dir="${propdir}/features/${feature}.nl-${locale}_${PLUGIN_VERSION}" />
-->
- <delete dir="${propdir}/features/${feature}.nl-${locale}_${PLUGIN_VERSION}" />
</target>
<!-- Create a <category-def> for ${locale} to go into site.xml -->
@@ -384,7 +417,27 @@
label="JBoss Tools Localization (${localename})"/>]]></echo>
</target>
- <target name="p2" description="Generate metadata for Eclipse 3.4's update manager (P2)" >
+ <!-- prototype: work in progress -->
+ <target name="-metafeature" description="Generates a feature which contains all langpack features for a locale">
+ <copy overwrite="true"
+ todir="${propdir}/features/org.jboss.tools.nls-${locale}_${PLUGIN_VERSION}">
+ <fileset dir="metafeature" />
+ <filterchain>
+ <expandproperties/>
+ </filterchain>
+ </copy>
+ <jar destfile="${jardir}/features/org.jboss.tools.nls-${locale}_${PLUGIN_VERSION}.jar"
+ basedir="${propdir}/features/org.jboss.tools.nls-${locale}_${PLUGIN_VERSION}" />
+ <!-- might want to keep around for debugging:
+ <delete dir="${propdir}/features/org.jboss.tools.nls-${locale}_${PLUGIN_VERSION}" />
+ -->
+ </target>
+
+ <target name="deletep2" description="Remove p2 metadata (revert to site.xml)">
+ <delete dir="${jardir}" includes="content.jar,content.xml,content_orig.xml,artifacts.jar,artifacts.xml"/>
+ </target>
+
+ <target name="p2" depends="deletep2" description="Generate metadata for Eclipse 3.4's update manager (P2)" >
<!-- Generate P2 metadata so that update manager won't take forever.
http://wiki.eclipse.org/Equinox_p2_Metadata_Generator
-->
@@ -404,8 +457,6 @@
<arg value="file://${jardir}" />
<arg value="-artifactRepositoryName" />
<arg value="JBoss Tools Localization Artifacts" />
- <arg value="-compress" />
- <arg value="-append" />
<arg value="-reusePack200Files" />
<arg value="-noDefaultIUs" />
<arg value="--launcher.suppressErrors" />
@@ -414,16 +465,57 @@
<arg value="-vmargs" />
<arg value="-Xmx256m" />
</exec>
+ <move file="${jardir}/content.xml" tofile="${jardir}/content_orig.xml" />
+ <!-- Process content.xml with <xslt> -->
+ <xslt
+ style="content.xsl"
+ in="${jardir}/content_orig.xml"
+ out="${jardir}/content.xml"
+ />
+ <jar basedir="${jardir}" includes="content.xml" destfile="${jardir}/content.jar"/>
+ <jar basedir="${jardir}" includes="artifacts.xml" destfile="${jardir}/artifacts.jar"/>
+ <delete dir="${jardir}" includes="content.xml,content_orig.xml,artifacts.xml"/>
</target>
- <target name="po" depends="en, qps, en_AA"/>
+ <target name="check" depends="-init" description="Checks langpacks for completeness">
+ <foreachlocale task="-check"/>
+ </target>
- <target name="most" depends="clean, prop2pot, po, po2prop, plugins, features"
+ <target name="-check" description="Check langpacks for completeness for one locale">
+ <verifyprop
+ dir1="${jbt.srcdir}"
+ dir2="target/prop"
+ failOnNull="true"
+ includesfile="prop2potincludes.txt"
+ keysOnly="true"
+ >
+ <chainedmapper>
+ <!-- from/to params are defined in i18n.properties -->
+ <regexpmapper
+ handledirsep="true"
+ from="${prop2pot_regex_from}"
+ to="${verifyprop_regex_to}" />
+ <globmapper from="*.properties" to="*_${locale}.properties"/>
+ </chainedmapper>
+ </verifyprop>
+ </target>
+
+ <target name="po" depends="en, qps, en_AA" description="Generates po files for all pseudolocales">
+ <!-- Instead of hard-coding locale ids, get them from i18n.properties and iterate -->
+ </target>
+
+ <target name="most" depends="clean, prop2pot, po, po2prop, metadata"
description="Generates langpacks and metadata" />
- <target name="all" depends="clean, prop2pot, po, po2prop, plugins, features, p2"
+ <target name="all" depends="clean, prop2pot, po, po2prop, metadata, p2"
description="Runs all targets in an appropriate order"/>
+ <target name="reall"
+ description="Runs all targets in an appropriate order, reusing previous buildnum">
+ <loadproperties srcfile="build.number" />
+ <antcall target="all" />
+ </target>
+
<!-- Test for a class from Ant 1.7.1 (needed for the jar task's erroronmissingdir feature -->
<available property="Ant-1.7.1-or-later"
Added: trunk/i18n/content.xsl
===================================================================
--- trunk/i18n/content.xsl (rev 0)
+++ trunk/i18n/content.xsl 2009-01-14 06:30:44 UTC (rev 13029)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<xsl:stylesheet
+ version="1.0"
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+
+ <xsl:output indent="yes" />
+
+ <!-- Copy all elements with their attributes -->
+ <xsl:template match="@*|node()">
+ <xsl:copy>
+ <xsl:apply-templates select="@*|node()"/>
+ </xsl:copy>
+ </xsl:template>
+
+ <!-- Copy <required> elements belonging to nl feature groups, adding "optional" attribute -->
+ <xsl:template match="unit[contains(@id,'.nl') and contains(@id,'.feature.group')]/requires/required[not(contains(@name,'.feature.jar'))]">
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:attribute name="optional">true</xsl:attribute>
+ <xsl:apply-templates/>
+ </xsl:copy>
+ </xsl:template>
+
+ <!-- Copy <required> elements belonging to nl plugins, adding "greedy" attribute -->
+ <xsl:template match="unit[contains(@id,'.nl') and not(contains(@id,'.feature.group'))]/requires/required">
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:attribute name="greedy">false</xsl:attribute>
+ <xsl:apply-templates/>
+ </xsl:copy>
+ </xsl:template>
+
+</xsl:stylesheet>
Modified: trunk/i18n/feature.xsl
===================================================================
--- trunk/i18n/feature.xsl 2009-01-14 06:28:46 UTC (rev 13028)
+++ trunk/i18n/feature.xsl 2009-01-14 06:30:44 UTC (rev 13029)
@@ -1,13 +1,17 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet
version="1.0"
+ xmlns:fn="http://www.w3.org/2005/xpath-functions"
+ xmlns:file="java.io.File"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ <xsl:output indent="yes" />
<xsl:param name="feature">FEATURE</xsl:param>
<xsl:param name="locale">LOCALE</xsl:param>
<xsl:param name="localename">LOCALE_NAME</xsl:param>
<xsl:param name="featureversion">FEATURE_VERSION</xsl:param>
<xsl:param name="pluginversion">PLUGIN_VERSION</xsl:param>
+ <xsl:param name="jardir">target/jars/plugins</xsl:param>
<xsl:template match="/feature">
<feature provider-name="%providerName">
@@ -20,11 +24,18 @@
names (since they shouldn't be translated anyway) or use @id
here, not @label.
-->
- <xsl:attribute name="label">JBoss Tools Language Pack for <xsl:value-of select="@label" /> in <xsl:value-of select="$localename" />
+ <xsl:attribute name="label">Language Pack for <xsl:value-of select="@label" /> in <xsl:value-of select="$localename" />
</xsl:attribute>
<xsl:attribute name="version">
<xsl:value-of select="$featureversion" />
</xsl:attribute>
+<!--
+ <xsl:if test="@plugin">
+ <xsl:attribute name="plugin">
+ <xsl:value-of select="@plugin" />
+ </xsl:attribute>
+ </xsl:if>
+ -->
<copyright>
%copyright
</copyright>
@@ -430,27 +441,45 @@
HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
</license>
- <description>JBoss Tools Language Pack for <xsl:value-of select="$feature" /> in <xsl:value-of select="$localename" /></description>
+ <description>Language Pack for <xsl:value-of select="$feature" /> in <xsl:value-of select="$localename" /></description>
<url>
<update label="JBossTools Update Site" url="http://download.jboss.org/jbosstools/updates/stable"/>
<discovery label="JBossTools Development Update Site" url="http://download.jboss.org/updates/development"/>
</url>
+<!--
<requires>
- <import>
+ <import version="0.0.0" match="greaterOrEqual">
<xsl:attribute name="feature">
<xsl:value-of select="$feature" />
</xsl:attribute>
</import>
</requires>
+ <includes search-location="self">
+ <xsl:attribute name="id">
+ <xsl:value-of select="$feature" />
+ </xsl:attribute>
+ <xsl:attribute name="version">
+ <xsl:value-of select="@version" />
+ </xsl:attribute>
+ </includes>
+ -->
+
<xsl:for-each select="plugin">
- <plugin fragment="true" unpack="false">
- <xsl:attribute name="id">
- <xsl:value-of select="@id" />.nl-<xsl:value-of select="$locale" />
- </xsl:attribute>
- <xsl:attribute name="version">
- <xsl:value-of select="$pluginversion" />
- </xsl:attribute>
- </plugin>
+<!--
+ <xsl:copy-of select="." />
+ -->
+ <xsl:variable name="jarname"
+ select="concat($jardir,'/', @id, '.nl-', $locale, '_', $pluginversion, '.jar')" />
+ <xsl:if test="file:exists(file:new($jarname))">
+ <plugin fragment="true" unpack="false">
+ <xsl:attribute name="id">
+ <xsl:value-of select="@id" />.nl-<xsl:value-of select="$locale" />
+ </xsl:attribute>
+ <xsl:attribute name="version">
+ <xsl:value-of select="$pluginversion" />
+ </xsl:attribute>
+ </plugin>
+ </xsl:if>
</xsl:for-each>
</feature>
</xsl:template>
Modified: trunk/i18n/i18n.properties
===================================================================
--- trunk/i18n/i18n.properties 2009-01-14 06:28:46 UTC (rev 13028)
+++ trunk/i18n/i18n.properties 2009-01-14 06:30:44 UTC (rev 13029)
@@ -7,10 +7,9 @@
prop2pot_regex_from=^([^/]+)/plugins/([^/]+)/(?:src/main/resources/|src/main/|[^/]+/|)(.*)[.]properties$$
prop2pot_regex_to=\\1~\\2-\\3~\\3.pot
+verifyprop_regex_to=\\1/\\2/\\3.properties
-BUILD_NUMBER=0
-PLUGIN_VERSION=0.1.${BUILD_NUMBER}
-FEATURE_VERSION=${PLUGIN_VERSION}
+BASE_VERSION=0.1
PLUGIN_VENDOR=JBoss
NAME_en=English
Modified: trunk/i18n/pom.xml
===================================================================
--- trunk/i18n/pom.xml 2009-01-14 06:28:46 UTC (rev 13028)
+++ trunk/i18n/pom.xml 2009-01-14 06:30:44 UTC (rev 13029)
@@ -27,7 +27,7 @@
<dependency>
<groupId>org.fedorahosted.tennera</groupId>
<artifactId>ant-gettext</artifactId>
- <version>0.2-SNAPSHOT</version>
+ <version>0.4</version>
</dependency>
<dependency>
<groupId>ant-contrib</groupId>
Modified: trunk/i18n/prop2potincludes.txt
===================================================================
--- trunk/i18n/prop2potincludes.txt 2009-01-14 06:28:46 UTC (rev 13028)
+++ trunk/i18n/prop2potincludes.txt 2009-01-14 06:30:44 UTC (rev 13029)
@@ -3,4 +3,3 @@
*/plugins/*/jbosscore/**/*.properties
*/plugins/*/jbossui/**/*.properties
*/plugins/*/resources/**/*.properties
-*/plugins/*/template-src/**/*.properties
16 years