Revision: 18144
http://sourceforge.net/p/gate/code/18144
Author: johann_p
Date: 2014-07-03 14:40:30 +0000 (Thu, 03 Jul 2014)
Log Message:
-----------
Add the method String getResourceName() so the value of the name
field can get retrieved as well.
Modified Paths:
--------------
gate/trunk/src/main/gate/gui/NewResourceDialog.java
Modified: gate/trunk/src/main/gate/gui/NewResourceDialog.java
===================================================================
--- gate/trunk/src/main/gate/gui/NewResourceDialog.java 2014-07-03 13:45:43 UTC
(rev 18143)
+++ gate/trunk/src/main/gate/gui/NewResourceDialog.java 2014-07-03 14:40:30 UTC
(rev 18144)
@@ -202,6 +202,15 @@
return null;
}// getSelectedParameters()
+ /**
+ * Return the String entered into the resource name field of the dialog.
+ *
+ * @param rData
+ */
+ public String getResourceName() {
+ return nameField.getText();
+ }
+
public synchronized void show(ResourceData rData) {
if(rData != null) {
this.resourceData = rData;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs