[jboss-svn-commits] JBL Code SVN: r30801 - in labs/jbossrules/trunk/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools: properties and 1 other directory.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Tue Dec 22 13:17:48 EST 2009


Author: bfitzpat
Date: 2009-12-22 13:17:48 -0500 (Tue, 22 Dec 2009)
New Revision: 30801

Modified:
   labs/jbossrules/trunk/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/messages.properties
   labs/jbossrules/trunk/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/properties/RepositoryElementPropsDialog.java
Log:
CODING IN PROGRESS - issue JBIDE-4611: To aid in test automation - always have a descriptive title for dialogs 
https://jira.jboss.org/jira/browse/JBIDE-4611

Modified: labs/jbossrules/trunk/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/messages.properties
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/messages.properties	2009-12-22 17:04:22 UTC (rev 30800)
+++ labs/jbossrules/trunk/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/messages.properties	2009-12-22 18:17:48 UTC (rev 30801)
@@ -16,7 +16,8 @@
 delete.confirmation.dialog.caption=Confirm Delete
 delete.multifile.confirmation=Delete these {0} resources in Guvnor?
 delete.singlefile.confirmation=Delete {0} in Guvnor? 
-error=Error
+error=Guvnor Repository Error
+guvnor.resource.properties.title=Properties
 guvnor.repository.element=Guvnor Resource Properties
 guvnor.resource.properties=Properties for {0}
 guvnor.resource.property={0}:
@@ -99,5 +100,5 @@
 user.name=User Name: 
 version.dialog.caption=Resource Versions
 version.dialog.message=Choose a version for {0}
-warning=Warning
+warning=Guvnor Repository Warning
 rep.connect.fail=Server not reachable

Modified: labs/jbossrules/trunk/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/properties/RepositoryElementPropsDialog.java
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/properties/RepositoryElementPropsDialog.java	2009-12-22 17:04:22 UTC (rev 30800)
+++ labs/jbossrules/trunk/drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/properties/RepositoryElementPropsDialog.java	2009-12-22 18:17:48 UTC (rev 30801)
@@ -126,4 +126,12 @@
 		// Try to set a reasonable default size.
 		return new Point(INITIAL_WIDTH, INITIAL_HEIGHT);
 	}
+
+	@Override
+	protected void configureShell(Shell newShell) {
+		super.configureShell(newShell);
+		newShell.setText(Messages
+				.getString("guvnor.resource.properties.title")); //$NON-NLS-1$
+	}
+
 }



More information about the jboss-svn-commits mailing list