Revision: 14454
          http://gate.svn.sourceforge.net/gate/?rev=14454&view=rev
Author:   markagreenwood
Date:     2011-10-28 16:12:57 +0000 (Fri, 28 Oct 2011)
Log Message:
-----------
preserve controller features when making an existing controller conditional

Modified Paths:
--------------
    gate/trunk/src/gate/gui/NameBearerHandle.java

Modified: gate/trunk/src/gate/gui/NameBearerHandle.java
===================================================================
--- gate/trunk/src/gate/gui/NameBearerHandle.java       2011-10-28 15:37:23 UTC 
(rev 14453)
+++ gate/trunk/src/gate/gui/NameBearerHandle.java       2011-10-28 16:12:57 UTC 
(rev 14454)
@@ -1034,6 +1034,7 @@
         ConditionalSerialAnalyserController newController =
             (ConditionalSerialAnalyserController)Factory
                 
.createResource("gate.creole.ConditionalSerialAnalyserController");
+        newController.getFeatures().putAll(existingController.getFeatures());
         newController.setName(existingController.getName());
         Iterator<?> it = existingController.getPRs().iterator();
         while(it.hasNext()) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn 
about Cisco certifications, training, and career opportunities. 
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to