Revision: 19389
          http://sourceforge.net/p/gate/code/19389
Author:   ian_roberts
Date:     2016-06-01 12:06:07 +0000 (Wed, 01 Jun 2016)
Log Message:
-----------
No reason why an xgapp has to be a controller.  True, you can't save anything 
other than a controller from the GUI but there are use cases where a 
hand-constructed xgapp containing something else is useful.

Modified Paths:
--------------
    gate/trunk/src/main/gate/gui/MainFrame.java

Modified: gate/trunk/src/main/gate/gui/MainFrame.java
===================================================================
--- gate/trunk/src/main/gate/gui/MainFrame.java 2016-06-01 09:50:13 UTC (rev 
19388)
+++ gate/trunk/src/main/gate/gui/MainFrame.java 2016-06-01 12:06:07 UTC (rev 
19389)
@@ -2878,8 +2878,8 @@
             long startTime = System.currentTimeMillis();
 
             // load LingPipe as an application from a gapp file
-            Controller controller =
-                (Controller)PersistenceManager.loadObjectFromUrl(pipelineURL);
+            Resource controller =
+                (Resource)PersistenceManager.loadObjectFromUrl(pipelineURL);
 
             if(!icon.equals(controller.getFeatures().get("gate.gui.icon"))) {
               

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


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to