Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2008-05-12 14:37:57 -0400
committerpelder2008-05-12 14:37:57 -0400
commit6bf3c36659969598a748c881159b3ede9dac9296 (patch)
treee9293a44905576119e803ecc58b3e3d70cf196b3
parentd8e878910e6a537528be4f45ad30407a31f9305c (diff)
downloadorg.eclipse.jet-6bf3c36659969598a748c881159b3ede9dac9296.tar.gz
org.eclipse.jet-6bf3c36659969598a748c881159b3ede9dac9296.tar.xz
org.eclipse.jet-6bf3c36659969598a748c881159b3ede9dac9296.zip
[231616] Add Context Help IDs to new JET project wizard pages + minor edits
-rw-r--r--plugins/org.eclipse.jet.ui/NewJETProject.p1.wzPage.xml8
-rw-r--r--plugins/org.eclipse.jet.ui/NewJETProject.p2.wzPage.xml12
-rw-r--r--plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/NewJETProjectPage1Controls.java12
-rw-r--r--plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/NewJETProjectPage2Controls.java1
-rw-r--r--plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/messages.properties25
5 files changed, 32 insertions, 26 deletions
diff --git a/plugins/org.eclipse.jet.ui/NewJETProject.p1.wzPage.xml b/plugins/org.eclipse.jet.ui/NewJETProject.p1.wzPage.xml
index 2394733..0fabb3d 100644
--- a/plugins/org.eclipse.jet.ui/NewJETProject.p1.wzPage.xml
+++ b/plugins/org.eclipse.jet.ui/NewJETProject.p1.wzPage.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../ui.maker/schema.xsd">
- <wizardPage qualifiedName="org.eclipse.jet.ui.newproject.NewJETProjectPage1">
+ <wizardPage qualifiedName="org.eclipse.jet.ui.newproject.NewJETProjectPage1" helpContextId="org.eclipse.jet.ui.trjt0010">
<baseClass qualifiedName="org.eclipse.ui.dialogs.WizardNewProjectCreationPage"/>
<control parentID="TOP" id="gProjSet">
<type><group text="Project Settings" shadow="NONE"><gridLayout numColumns="2"/></group></type>
@@ -15,7 +15,7 @@
<gridData><hAlign value="FILL"/><hGrabExcessSpace/></gridData>
</control>
<control parentID="gProjSet" id="lblJETOutput">
- <type><label text="J&amp;ET output folder"/></type>
+ <type><label text="J&amp;ET output folder:"/></type>
</control>
<control parentID="gProjSet" id="txtJETOutput">
<var name="txtJETOutput"/>
@@ -23,7 +23,7 @@
<gridData><hAlign value="FILL"/><hGrabExcessSpace/></gridData>
</control>
<control parentID="gProjSet" id="lblJavaOutput">
- <type><label text="J&amp;ava output folder"/></type>
+ <type><label text="J&amp;ava output folder:"/></type>
</control>
<control parentID="gProjSet" id="txtJavaOutput">
<var name="txtJavaOutput"/>
@@ -31,7 +31,7 @@
<gridData><hAlign value="FILL"/><hGrabExcessSpace/></gridData>
</control>
<control parentID="gProjSet" id="lblDefJavaPackage">
- <type><label text="&amp;Default Java package"/></type>
+ <type><label text="Default &amp;Java package:"/></type>
</control>
<control parentID="gProjSet" id="txtDefJavaPackage">
<var name="txtDefJavaPackage"/>
diff --git a/plugins/org.eclipse.jet.ui/NewJETProject.p2.wzPage.xml b/plugins/org.eclipse.jet.ui/NewJETProject.p2.wzPage.xml
index fed8823..33897a5 100644
--- a/plugins/org.eclipse.jet.ui/NewJETProject.p2.wzPage.xml
+++ b/plugins/org.eclipse.jet.ui/NewJETProject.p2.wzPage.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../ui.maker/schema.xsd">
- <wizardPage qualifiedName="org.eclipse.jet.ui.newproject.NewJETProjectPage2">
+ <wizardPage qualifiedName="org.eclipse.jet.ui.newproject.NewJETProjectPage2" helpContextId="org.eclipse.jet.ui.trjt0020">
<control parentID="TOP" id="top">
<type><composite><gridLayout numColumns="1"/></composite></type>
<gridData><hAlign value="FILL"/><vAlign value="FILL"/><hGrabExcessSpace/><vGrabExcessSpace/></gridData>
@@ -21,7 +21,7 @@
<!-- Transformation Name: -->
<control parentID="grpTransProps" id="lblName">
- <type><label text="Transformation &amp;Name:"/></type>
+ <type><label text="Transformation na&amp;me:"/></type>
</control>
<control parentID="grpTransProps" id="txtName">
<var name="txtName"/>
@@ -30,7 +30,7 @@
</control>
<!-- Description -->
<control parentID="grpTransProps" id="lblDescription">
- <type><label text="Transformation &amp;Description:"/></type>
+ <type><label text="Transformation &amp;description:"/></type>
</control>
<control parentID="grpTransProps" id="txtDescription">
<var name="txtDescription"/>
@@ -39,7 +39,7 @@
</control>
<!-- Template Loader -->
<control parentID="grpTransProps" id="lblTemplateLoader">
- <type><label text="Template &amp;Loader:"/></type>
+ <type><label text="Template &amp;loader:"/></type>
</control>
<control parentID="grpTransProps" id="txtTemplateLoader">
<var name="txtTemplateLoader"/>
@@ -54,12 +54,12 @@
</control>
<control parentID="grpExtensions" id="cbxExtends">
<var name="cbxExtends"/>
- <type><checkButton text="E&amp;xtends Existing JET Transformation"><selection/></checkButton></type>
+ <type><checkButton text="E&amp;xtend an existing JET Transformation"><selection/></checkButton></type>
<gridData><hSpan columns="2"/></gridData>
</control>
<control parentID="grpExtensions" id="lblBaseTx">
<var name="lblBaseTx"/>
- <type><label text="&amp;Base Transformation:"/></type>
+ <type><label text="Base &amp;transformation:"/></type>
<gridData><hIndent chars="4"/></gridData>
</control>
<control parentID="grpExtensions" id="ddlBaseTx">
diff --git a/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/NewJETProjectPage1Controls.java b/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/NewJETProjectPage1Controls.java
index 4d48b52..7c2dbe4 100644
--- a/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/NewJETProjectPage1Controls.java
+++ b/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/NewJETProjectPage1Controls.java
@@ -1,10 +1,13 @@
package org.eclipse.jet.ui.newproject;
-import org.eclipse.ui.dialogs.WizardNewProjectCreationPage;
import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.*;
-import org.eclipse.swt.layout.*;
-import org.eclipse.swt.widgets.*;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Group;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Text;
+import org.eclipse.ui.dialogs.WizardNewProjectCreationPage;
public abstract class NewJETProjectPage1Controls
extends WizardNewProjectCreationPage {
@@ -36,6 +39,7 @@ public abstract class NewJETProjectPage1Controls
_groupgProjSet = new Group(parent, SWT.NONE);
_groupgProjSet.setText(Messages.NewJETProjectPage1Controls__groupgProjSet_text);
_groupgProjSet.setFont(parent.getFont());
+ org.eclipse.ui.PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), "org.eclipse.jet.ui.trjt0010"); //$NON-NLS-1$
// layout _groupgProjSet within parent
diff --git a/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/NewJETProjectPage2Controls.java b/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/NewJETProjectPage2Controls.java
index 50eaf6a..a9446eb 100644
--- a/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/NewJETProjectPage2Controls.java
+++ b/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/NewJETProjectPage2Controls.java
@@ -36,6 +36,7 @@ public abstract class NewJETProjectPage2Controls
_compositetop = new Composite(parent, SWT.NULL);
_compositetop.setFont(parent.getFont());
setControl(_compositetop);
+ org.eclipse.ui.PlatformUI.getWorkbench().getHelpSystem().setHelp(getControl(), "org.eclipse.jet.ui.trjt0020"); //$NON-NLS-1$
// layout _compositetop within parent
diff --git a/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/messages.properties b/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/messages.properties
index 91e605f..7cd7486 100644
--- a/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/messages.properties
+++ b/plugins/org.eclipse.jet.ui/src/org/eclipse/jet/ui/newproject/messages.properties
@@ -1,17 +1,18 @@
-
+#NLS_MESSAGEFORMAT_VAR
NewJETProjectPage1Controls__groupgProjSet_text=Project Settings
NewJETProjectPage1Controls__labellblTemplateFolder_text=&Template folder:
-NewJETProjectPage1Controls__labellblJETOutput_text=J&ET output folder
-NewJETProjectPage1Controls__labellblJavaOutput_text=J&ava output folder
-NewJETProjectPage1Controls__labellblDefJavaPackage_text=&Default Java package
-NewJETProjectPage1Controls__labellblJabaCompliance_text=Java &compliance level:
-NewJETProjectPage2_description=Enter the data required to generate the JET transformation
-NewJETProjectPage2_title=JET Transformation Properties
+NewJETProjectPage1Controls__labellblJETOutput_text=J&ET output folder:
+NewJETProjectPage1Controls__labellblJavaOutput_text=J&ava output folder:
+NewJETProjectPage1Controls__labellblDefJavaPackage_text=Default &Java package:
+
NewJETProjectPage2Controls__groupgrpTransProps_text=Transformation (plug-in) Properties
NewJETProjectPage2Controls__labellblID_text=Transformation &ID:
-NewJETProjectPage2Controls__labellblName_text=Transformation &Name:
-NewJETProjectPage2Controls__labellblDescription_text=Transformation &Description:
-NewJETProjectPage2Controls__labellblTemplateLoader_text=Template &Loader:
+NewJETProjectPage2Controls__labellblName_text=Transformation na&me:
+NewJETProjectPage2Controls__labellblDescription_text=Transformation &description:
+NewJETProjectPage2Controls__labellblTemplateLoader_text=Template &loader:
NewJETProjectPage2Controls__groupgrpExtensions_text=Extensions
-NewJETProjectPage2Controls_cbxExtends_text=E&xtends Existing JET Transformation
-NewJETProjectPage2Controls_lblBaseTx_text=&Base Transformation:
+NewJETProjectPage2Controls_cbxExtends_text=E&xtend an existing JET Transformation
+NewJETProjectPage2Controls_lblBaseTx_text=Base &transformation:
+
+NewJETProjectPage2_description=Enter the data required to generate the JET transformation
+NewJETProjectPage2_title=JET Transformation Properties

Back to the top