geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r370890 - in /geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal: GeronimoServerRuntimeWizardFragment.java Messages.java Messages.properties
Date Fri, 20 Jan 2006 19:31:30 GMT
Author: sppatel
Date: Fri Jan 20 11:31:28 2006
New Revision: 370890

URL: http://svn.apache.org/viewcvs?rev=370890&view=rev
Log:
add tooltips

Modified:
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
    geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java?rev=370890&r1=370889&r2=370890&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/GeronimoServerRuntimeWizardFragment.java
Fri Jan 20 11:31:28 2006
@@ -48,6 +48,7 @@
 import org.eclipse.swt.widgets.MessageBox;
 import org.eclipse.swt.widgets.Shell;
 import org.eclipse.swt.widgets.Text;
+import org.eclipse.swt.widgets.ToolItem;
 import org.eclipse.wst.server.core.IRuntime;
 import org.eclipse.wst.server.core.IRuntimeType;
 import org.eclipse.wst.server.core.IRuntimeWorkingCopy;
@@ -117,11 +118,13 @@
 		GridData data = new GridData();
 		data.horizontalSpan = 3;
 		label.setLayoutData(data);
+		label.setToolTipText(Messages.tooltipLoc);
 
 		installDir = new Text(composite, SWT.BORDER);
 		data = new GridData(GridData.FILL_HORIZONTAL);
 		data.horizontalSpan = 2;
 		installDir.setLayoutData(data);
+		installDir.setToolTipText(Messages.tooltipLoc);
 		installDir.addModifyListener(new ModifyListener() {
 			public void modifyText(ModifyEvent e) {
 				getRuntimeDelegate().getRuntimeWorkingCopy().setLocation(
@@ -129,7 +132,7 @@
 				validate();
 			}
 		});
-
+	
 		final Composite browseComp = composite;
 		Button browse = SWTUtil.createButton(composite, Messages.browse);
 		browse.addSelectionListener(new SelectionAdapter() {
@@ -172,18 +175,20 @@
 			data = new GridData();
 			data.horizontalSpan = 3;
 			tomcat.setLayoutData(data);
+			tomcat.setToolTipText(Messages.tooltipTomcat);
 
 			jetty = new Button(group, SWT.RADIO);
 			jetty.setText(Messages.gWithJetty);
 			data = new GridData();
 			data.horizontalSpan = 3;
 			jetty.setLayoutData(data);
+			jetty.setToolTipText(Messages.tooltipJetty);
 
 			Button install = SWTUtil.createButton(group, Messages.install);
 			data = new GridData();
 			data.horizontalSpan = 3;
 			install.setLayoutData(data);
-
+			install.setToolTipText(Messages.tooltipInstall);
 			install.addSelectionListener(new SelectionAdapter() {
 				public void widgetSelected(SelectionEvent se) {
 					if (installDir != null && isValidLocation()) {

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java?rev=370890&r1=370889&r2=370890&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.java
Fri Jan 20 11:31:28 2006
@@ -182,6 +182,10 @@
 	public static String jvmWarning;
 	public static String installTitle;
 	public static String installMessage;
+	public static String tooltipLoc;
+	public static String tooltipInstall;
+	public static String tooltipJetty;
+	public static String tooltipTomcat;
 	
 	static {
 		NLS.initializeMessages(GeronimoUIPlugin.PLUGIN_ID

Modified: geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties
URL: http://svn.apache.org/viewcvs/geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties?rev=370890&r1=370889&r2=370890&view=diff
==============================================================================
--- geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties
(original)
+++ geronimo/devtools/trunk/modules/eclipse-plugin/plugins/org.apache.geronimo.ui/src/org/apache/geronimo/ui/internal/Messages.properties
Fri Jan 20 11:31:28 2006
@@ -166,4 +166,8 @@
 install=Download and Install
 jvmWarning=Geronimo is currently only certified on a 1.4 JVM. Use of any other version is
not currently supported.
 installTitle=Download and Install Geronimo?
-installMessage=The Geronimo J2EE Application Server will be installed to
\ No newline at end of file
+installMessage=The Geronimo J2EE Application Server will be installed to
+tooltipLoc=A location of an existing Geronimo installation or a path to install to.
+tooltipInstall=Downloads the selected Geronimo distribution and installs it to the specified
location.
+tooltipJetty=Selects the Jetty distribution of Geronimo to install.
+tooltipTomcat=Selects the Tomcat distribution of Geronimo to install.
\ No newline at end of file



Mime
View raw message