OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | gotm-commits List | September 2005 Index

<--  Date Index  --> <--  Thread Index  -->

CVS update of gotm-jts (12 files)


    Date: Tuesday, September 6, 2005 @ 15:40:10
  Author: rouvoy
    Path: /cvsroot/gotm/gotm-jts

Modified: .classpath .settings/org.eclipse.core.resources.prefs
          
examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkAPC.java
          
          
examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkJTS.java
          
          
examples/benchmark/src/java/org/objectweb/benchmark/jts/CommitProtocolIteratable.java
          
          
examples/explorer/src/fractal/org/objectweb/gotm/jts/local/FcExplorer.fractal
          
          
examples/explorer/src/java/org/objectweb/gotm/jts/local/InvokeRunnableAction.java
          
          src/java/org/objectweb/gotm/browser/jta/TransactionCommitAction.java
           src/java/org/objectweb/gotm/browser/jta/TransactionPanel.java
          
src/java/org/objectweb/gotm/browser/jta/TransactionRollbackAction.java
          
          
src/java/org/objectweb/gotm/browser/jta/TransactionSetRollbackOnlyAction.java
 Removed: 
examples/explorer/src/fractal/org/objectweb/gotm/lib/FcLocalExplorer.fractal

* Integrating latest version of the Fractal Explorer tool.


---------------------------------------------------------------------------------------+
 .classpath                                                                   
         |    5 +-
 .settings/org.eclipse.core.resources.prefs                                   
         |    3 -
 examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkAPC.java    
         |   14 +++----
 examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkJTS.java    
         |   10 ++---
 
examples/benchmark/src/java/org/objectweb/benchmark/jts/CommitProtocolIteratable.java
 |   14 +++----
 
examples/explorer/src/fractal/org/objectweb/gotm/jts/local/FcExplorer.fractal 
        |    9 +----
 examples/explorer/src/fractal/org/objectweb/gotm/lib/FcLocalExplorer.fractal 
         |   14 -------
 
examples/explorer/src/java/org/objectweb/gotm/jts/local/InvokeRunnableAction.java
     |   15 ++++----
 src/java/org/objectweb/gotm/browser/jta/TransactionCommitAction.java         
         |   18 +++++-----
 src/java/org/objectweb/gotm/browser/jta/TransactionPanel.java                
         |   12 +++---
 src/java/org/objectweb/gotm/browser/jta/TransactionRollbackAction.java       
         |   18 +++++-----
 
src/java/org/objectweb/gotm/browser/jta/TransactionSetRollbackOnlyAction.java 
        |   18 +++++-----
 12 files changed, 65 insertions(+), 85 deletions(-)


Index: gotm-jts/.classpath
diff -u gotm-jts/.classpath:1.11 gotm-jts/.classpath:1.12
--- gotm-jts/.classpath:1.11    Tue Sep  6 10:01:50 2005
+++ gotm-jts/.classpath Tue Sep  6 15:40:10 2005
@@ -18,12 +18,11 @@
        <classpathentry 
sourcepath="D:/rouvoy/Mes-workspaces/gotm-workspace/julia/src" kind="lib" 
path="/fractal-import/lib/fractal-adl/fractal-adl.jar"/>
        <classpathentry kind="lib" 
path="/fractal-import/lib/monolog/ow_monolog.jar"/>
        <classpathentry kind="src" path="/fractal-template"/>
-       <classpathentry kind="lib" 
path="/fractal-import/lib/fractal-explorer/browser.jar"/>
-       <classpathentry kind="lib" 
path="/fractal-import/lib/fractal-explorer/fractal-browser.jar"/>
-       <classpathentry kind="lib" 
path="/fractal-import/lib/fractal-explorer/fractal-plugin.jar"/>
        <classpathentry kind="lib" 
path="examples/benchmark/lib/jotm/jotm.jar"/>
        <classpathentry kind="lib" 
path="examples/junit/lib/commons/commons-logging.jar"/>
        <classpathentry kind="lib" path="examples/junit/lib/junit/junit.jar"/>
        <classpathentry kind="lib" path="lib/connector/connector-1_5.jar"/>
+       <classpathentry kind="lib" 
path="/fractal-import/lib/fractal-explorer/ow_util_explorer.jar"/>
+       <classpathentry kind="lib" 
path="/fractal-import/lib/fractal-explorer/fractal-explorer.jar"/>
        <classpathentry kind="output" path="output/eclipse"/>
 </classpath>
Index: gotm-jts/.settings/org.eclipse.core.resources.prefs
diff -u gotm-jts/.settings/org.eclipse.core.resources.prefs:1.11 
gotm-jts/.settings/org.eclipse.core.resources.prefs:1.12
--- gotm-jts/.settings/org.eclipse.core.resources.prefs:1.11    Tue Sep  6 
10:01:50 2005
+++ gotm-jts/.settings/org.eclipse.core.resources.prefs Tue Sep  6 15:40:10 
2005
@@ -1,11 +1,10 @@
-#Fri Sep 02 09:24:56 CEST 2005
+#Tue Sep 06 15:26:16 CEST 2005
 eclipse.preferences.version=1
 
encoding//examples/benchmark/src/fractal/org/objectweb/benchmark/FcBenchmark2PC.fractal=ISO-8859-1
 
encoding//examples/benchmark/src/fractal/org/objectweb/benchmark/FcBenchmarkAPC.fractal=ISO-8859-1
 
encoding//examples/benchmark/src/fractal/org/objectweb/benchmark/FcBenchmarkJTS.fractal=ISO-8859-1
 
encoding//examples/explorer/src/fractal/org/objectweb/gotm/jts/local/FcApplication.fractal=ISO-8859-1
 
encoding//examples/explorer/src/fractal/org/objectweb/gotm/jts/local/FcExplorer.fractal=ISO-8859-1
-encoding//examples/explorer/src/fractal/org/objectweb/gotm/lib/FcLocalExplorer.fractal=ISO-8859-1
 
encoding//output/dist/GoTM-JTS-0.2-src/examples/local/src/fractal/org/objectweb/gotm/jts/local/FcApplication.fractal=ISO-8859-1
 
encoding//output/dist/GoTM-JTS-0.2-src/src/fractal/org/objectweb/gotm/lib/FcTransaction.fractal=ISO-8859-1
 
encoding//output/dist/GoTM-JTS-0.2-src/src/fractal/org/objectweb/gotm/lib/JtsTransaction.fractal=ISO-8859-1
Index: 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkAPC.java
diff -u 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkAPC.java:1.4
 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkAPC.java:1.5
--- 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkAPC.java:1.4
      Wed Aug 17 16:55:13 2005
+++ 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkAPC.java
  Tue Sep  6 15:40:09 2005
@@ -22,7 +22,7 @@
  Contributor(s): ______________________________________.
 
  ---------------------------------------------------------------------
- $Id: BenchmarkAPC.java,v 1.4 2005/08/17 14:55:13 rouvoy Exp $
+ $Id: BenchmarkAPC.java,v 1.5 2005/09/06 13:40:09 rouvoy Exp $
  ====================================================================*/
 
 package org.objectweb.benchmark.jts;
@@ -46,8 +46,8 @@
 /**
  * @author <a href="mailto:Romain.Rouvoy@xxxxxxx";>Romain Rouvoy</a>
  * @created 3 janv. 2005
- * @modified $Date: 2005/08/17 14:55:13 $
- * @version $Revision: 1.4 $
+ * @modified $Date: 2005/09/06 13:40:09 $
+ * @version $Revision: 1.5 $
  * @fractal.itf name="runnable" signature="java.lang.Runnable"
  */
 public class BenchmarkAPC
@@ -72,13 +72,13 @@
         
         System.out.println("[APC] Configuring the transaction services...");
         Map context = new HashMap();
-        
System.getProperties().put("communication","org.objectweb.gotm.lib.event.FcEventBusThread");
+        
System.getProperties().put("gotm-communication","org.objectweb.gotm.lib.event.FcEventBusThread");
         
context.put("factory","org.objectweb.gotm.lib.factory.FcTransactionFactoryCache");
-        System.getProperties().put("protocol", 
"org.objectweb.gotm.lib.protocol.Fc2PCPA");
+        System.getProperties().put("gotm-protocol", 
"org.objectweb.gotm.lib.protocol.Fc2PCPA");
         configs.put("GoTM-2PCPA", JtsFactory.create(context));
-        System.getProperties().put("protocol", 
"org.objectweb.gotm.lib.protocol.Fc2PCPC");
+        System.getProperties().put("gotm-protocol", 
"org.objectweb.gotm.lib.protocol.Fc2PCPC");
         configs.put("GoTM-2PCPC", JtsFactory.create(context));
-        System.getProperties().put("protocol", 
"org.objectweb.gotm.lib.protocol.Fc2PC");
+        System.getProperties().put("gotm-protocol", 
"org.objectweb.gotm.lib.protocol.Fc2PC");
         configs.put("GoTM", JtsFactory.create(context));
         configs.put("GoTM-2PC", JtsFactory.create(context));
         
context.put("factory","org.objectweb.gotm.lib.FcAdaptiveTransactionFactory");
Index: 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkJTS.java
diff -u 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkJTS.java:1.4
 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkJTS.java:1.5
--- 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkJTS.java:1.4
      Wed Aug 17 16:55:13 2005
+++ 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/BenchmarkJTS.java
  Tue Sep  6 15:40:09 2005
@@ -22,7 +22,7 @@
  Contributor(s): ______________________________________.
 
  ---------------------------------------------------------------------
- $Id: BenchmarkJTS.java,v 1.4 2005/08/17 14:55:13 rouvoy Exp $
+ $Id: BenchmarkJTS.java,v 1.5 2005/09/06 13:40:09 rouvoy Exp $
  ====================================================================*/
 
 package org.objectweb.benchmark.jts;
@@ -50,8 +50,8 @@
 /**
  * @author <a href="mailto:Romain.Rouvoy@xxxxxxx";>Romain Rouvoy</a>
  * @created 3 janv. 2005
- * @modified $Date: 2005/08/17 14:55:13 $
- * @version $Revision: 1.4 $
+ * @modified $Date: 2005/09/06 13:40:09 $
+ * @version $Revision: 1.5 $
  * @fractal.itf name="runnable" signature="java.lang.Runnable"
  */
 public class BenchmarkJTS
@@ -80,8 +80,8 @@
         System.out.println("[JTS] Configuring the transaction services...");
 //        
ctx.put("current","org.objectweb.gotm.lib.current.FcCurrentManagerImpl");
 //        tm.put("GoTM-NoCache", JtsFactory.create(ctx));
-        
System.getProperties().put("protocol","org.objectweb.gotm.lib.protocol.Fc2PCNoLog");
-        
System.getProperties().put("communication","org.objectweb.gotm.lib.event.FcEventBusSimple");
+        
System.getProperties().put("gotm-protocol","org.objectweb.gotm.lib.protocol.Fc2PCNoLog");
+        
System.getProperties().put("gotm-communication","org.objectweb.gotm.lib.event.FcEventBusSimple");
         
ctx.put("factory","org.objectweb.gotm.lib.factory.FcTransactionFactoryCache");
         tm.put("GoTM-Cache", JtsFactory.create(ctx));
         Jotm jotm = null;
Index: 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/CommitProtocolIteratable.java
diff -u 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/CommitProtocolIteratable.java:1.2
 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/CommitProtocolIteratable.java:1.3
--- 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/CommitProtocolIteratable.java:1.2
  Fri Aug 12 14:31:26 2005
+++ 
gotm-jts/examples/benchmark/src/java/org/objectweb/benchmark/jts/CommitProtocolIteratable.java
      Tue Sep  6 15:40:09 2005
@@ -23,7 +23,7 @@
  Contributor(s): .
 
  ---------------------------------------------------------------------
- $Id: CommitProtocolIteratable.java,v 1.2 2005/08/12 12:31:26 rouvoy Exp $
+ $Id: CommitProtocolIteratable.java,v 1.3 2005/09/06 13:40:09 rouvoy Exp $
  ====================================================================*/
 package org.objectweb.benchmark.jts;
 
@@ -39,8 +39,8 @@
 /**
  * @author <a href="mailto:Romain.Rouvoy@xxxxxxx";>Romain Rouvoy</a>
  * @created 19 juil. 2005
- * @modified $Date: 2005/08/12 12:31:26 $
- * @version $Revision: 1.2 $
+ * @modified $Date: 2005/09/06 13:40:09 $
+ * @version $Revision: 1.3 $
  * @fractal.itf
  */
 public class CommitProtocolIteratable
@@ -58,13 +58,13 @@
         this.tx_manager = new HashMap();
         Map context = new HashMap();
         
context.put("factory","org.objectweb.gotm.lib.factory.FcTransactionFactoryCache");
-        
System.getProperties().put("communication","org.objectweb.gotm.lib.event.FcEventBusThread");
+        
System.getProperties().put("gotm-communication","org.objectweb.gotm.lib.event.FcEventBusThread");
         
         for (Iterator i=tm.entrySet().iterator();i.hasNext();) {
             Entry e = (Entry) i.next();
             System.out.println("[JTS] Loading the "+e.getKey()+" 
configuration ["+e.getValue()+"]...");
             String protocol = (String) e.getValue();
-            System.getProperties().put("protocol", protocol);
+            System.getProperties().put("gotm-protocol", protocol);
             this.tx_manager.put(e.getKey(), JtsFactory.create(context));
         }
     }
@@ -92,8 +92,8 @@
      * 
      * @author <a href="mailto:Romain.Rouvoy@xxxxxxx";>Romain Rouvoy</a>
      * @created 4 août 2005
-     * @modified $Date: 2005/08/12 12:31:26 $
-     * @version $Revision: 1.2 $
+     * @modified $Date: 2005/09/06 13:40:09 $
+     * @version $Revision: 1.3 $
      * @fractal.itf
      */
     private class CommitProtocolIterator
Index: 
gotm-jts/examples/explorer/src/fractal/org/objectweb/gotm/jts/local/FcExplorer.fractal
diff -u 
gotm-jts/examples/explorer/src/fractal/org/objectweb/gotm/jts/local/FcExplorer.fractal:1.1
 
gotm-jts/examples/explorer/src/fractal/org/objectweb/gotm/jts/local/FcExplorer.fractal:1.2
--- 
gotm-jts/examples/explorer/src/fractal/org/objectweb/gotm/jts/local/FcExplorer.fractal:1.1
  Tue Sep  6 10:01:50 2005
+++ 
gotm-jts/examples/explorer/src/fractal/org/objectweb/gotm/jts/local/FcExplorer.fractal
      Tue Sep  6 15:40:10 2005
@@ -4,11 +4,6 @@
           "classpath://org/objectweb/fractal/adl/xml/basic.dtd">
 
 <definition name="org.objectweb.gotm.jts.local.FcExplorer">
-  <component name="FcExplorer"
-       definition="org.objectweb.gotm.lib.FcLocalExplorer"/>
-  <component name="FcApplication"
-       definition="org.objectweb.gotm.jts.local.FcApplication"/>
-
-  <binding client="FcExplorer.fcAppl" 
-           server="FcApplication.component"/>
+  <component name="FcExplorer" 
+       
definition="org.objectweb.fractal.explorer.GenericFractalExplorer(application,org.objectweb.gotm.jts.local.FcApplication,local.xml)"
 />
 </definition>
\ No newline at end of file
Index: 
gotm-jts/examples/explorer/src/fractal/org/objectweb/gotm/lib/FcLocalExplorer.fractal
diff -u 
gotm-jts/examples/explorer/src/fractal/org/objectweb/gotm/lib/FcLocalExplorer.fractal:1.1
 
gotm-jts/examples/explorer/src/fractal/org/objectweb/gotm/lib/FcLocalExplorer.fractal:removed
--- 
gotm-jts/examples/explorer/src/fractal/org/objectweb/gotm/lib/FcLocalExplorer.fractal:1.1
   Tue Sep  6 10:01:50 2005
+++ 
gotm-jts/examples/explorer/src/fractal/org/objectweb/gotm/lib/FcLocalExplorer.fractal
       Tue Sep  6 15:40:10 2005
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="ISO-8859-1" ?>
-<!DOCTYPE definition PUBLIC "-//objectweb.org//DTD Fractal ADL 2.0//EN" 
"classpath://org/objectweb/fractal/adl/xml/standard.dtd">
-<!--<!DOCTYPE definition PUBLIC "-//objectweb.org//DTD Fractal ADL 2.0//EN" 
"classpath://org/objectweb/fractal/adl/xml/basic.dtd">-->
-
-<definition name="org.objectweb.gotm.lib.FcLocalExplorer">
-  <interface name="fcAppl" role="client" 
-        signature="org.objectweb.fractal.api.Component" />
-
-  <content class="BrowserImpl"/>
-
-  <attributes signature="BrowserAttributes">
-    <attribute value="local.xml" name="ConfigFiles"/>
-  </attributes>
-</definition>
Index: 
gotm-jts/examples/explorer/src/java/org/objectweb/gotm/jts/local/InvokeRunnableAction.java
diff -u 
gotm-jts/examples/explorer/src/java/org/objectweb/gotm/jts/local/InvokeRunnableAction.java:1.1
 
gotm-jts/examples/explorer/src/java/org/objectweb/gotm/jts/local/InvokeRunnableAction.java:1.2
--- 
gotm-jts/examples/explorer/src/java/org/objectweb/gotm/jts/local/InvokeRunnableAction.java:1.1
      Tue Sep  6 10:01:49 2005
+++ 
gotm-jts/examples/explorer/src/java/org/objectweb/gotm/jts/local/InvokeRunnableAction.java
  Tue Sep  6 15:40:09 2005
@@ -25,17 +25,18 @@
 ===========================================================================*/
 
 package org.objectweb.gotm.jts.local;
-import org.objectweb.util.browser.api.MenuItem;
-import org.objectweb.util.browser.api.MenuItemTreeView;
-import org.objectweb.util.browser.api.TreeView;
+
+import org.objectweb.util.explorer.api.MenuItem;
+import org.objectweb.util.explorer.api.MenuItemTreeView;
+import org.objectweb.util.explorer.api.TreeView;
 
 /**
  * This action allows to invoke the main method of the demo.
  * @author <a href="mailto:Jerome.Moroy@xxxxxxx";>Jerome Moroy</a>
  * @author <a href="mailto:Romain.Rouvoy@xxxxxxx";>Romain Rouvoy</a>
  * @created 3 janv. 2005
- * @modified $Date: 2005/09/06 08:01:49 $
- * @version $Revision: 1.1 $
+ * @modified $Date: 2005/09/06 13:40:09 $
+ * @version $Revision: 1.2 $
  */
 public class InvokeRunnableAction 
   implements MenuItem 
@@ -59,8 +60,8 @@
     /**
      * @author <a href="mailto:Romain.Rouvoy@xxxxxxx";>Romain Rouvoy</a>
      * @created 3 janv. 2005
-     * @modified $Date: 2005/09/06 08:01:49 $
-     * @version $Revision: 1.1 $
+     * @modified $Date: 2005/09/06 13:40:09 $
+     * @version $Revision: 1.2 $
      */
     public class InvokeThread extends Thread {
         protected Runnable m_ = null;
Index: 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionCommitAction.java
diff -u 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionCommitAction.java:1.2
 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionCommitAction.java:1.3
--- 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionCommitAction.java:1.2
   Mon Jan 10 17:17:31 2005
+++ 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionCommitAction.java 
      Tue Sep  6 15:40:09 2005
@@ -22,7 +22,7 @@
  Contributor(s): ______________________________________.
 
  ---------------------------------------------------------------------
- $Id: TransactionCommitAction.java,v 1.2 2005/01/10 16:17:31 rouvoy Exp $
+ $Id: TransactionCommitAction.java,v 1.3 2005/09/06 13:40:09 rouvoy Exp $
  ====================================================================*/
 
 package org.objectweb.gotm.browser.jta;
@@ -34,19 +34,19 @@
 
 import org.objectweb.fractal.api.Interface;
 import org.objectweb.fractal.api.control.LifeCycleController;
-import org.objectweb.util.browser.api.MenuItem;
-import org.objectweb.util.browser.api.MenuItemTreeView;
-import org.objectweb.util.browser.api.TreeView;
-import org.objectweb.util.browser.plugins.fractal.FcBrowser;
-import 
org.objectweb.util.browser.plugins.fractal.menu.DefaultFractalMenuItem;
+import org.objectweb.fractal.explorer.FcExplorer;
+import org.objectweb.fractal.explorer.menu.DefaultFractalMenuItem;
+import org.objectweb.util.explorer.api.MenuItem;
+import org.objectweb.util.explorer.api.MenuItemTreeView;
+import org.objectweb.util.explorer.api.TreeView;
 
 /**
  * Implementation of a <code>DefaultFractalMenuItem</code> for the commit 
action
  * applied on the JTA Transaction Interface.
  * @author <a href="mailto:Romain.Rouvoy@xxxxxxx";>Romain Rouvoy</a>
  * @created 22 déc. 2004
- * @modified $Date: 2005/01/10 16:17:31 $
- * @version $Revision: 1.2 $
+ * @modified $Date: 2005/09/06 13:40:09 $
+ * @version $Revision: 1.3 $
  */
 public class TransactionCommitAction 
      extends DefaultFractalMenuItem 
@@ -56,7 +56,7 @@
      */
     public int getStartedStatus(TreeView arg0) {
         Transaction tx = (Transaction) arg0.getSelectedObject();     
-        if (FcBrowser.getLifeCycleState((Interface)tx) == 
LifeCycleController.STOPPED)
+        if (FcExplorer.getLifeCycleState((Interface)tx) == 
LifeCycleController.STOPPED)
             return getStoppedStatus(arg0);
         try {
             if (tx.getStatus() == Status.STATUS_NO_TRANSACTION)
Index: gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionPanel.java
diff -u 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionPanel.java:1.2 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionPanel.java:1.3
--- 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionPanel.java:1.2  
Mon Jan 10 17:17:31 2005
+++ gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionPanel.java    
  Tue Sep  6 15:40:09 2005
@@ -22,7 +22,7 @@
  Contributor(s): ______________________________________.
 
  ---------------------------------------------------------------------
- $Id: TransactionPanel.java,v 1.2 2005/01/10 16:17:31 rouvoy Exp $
+ $Id: TransactionPanel.java,v 1.3 2005/09/06 13:40:09 rouvoy Exp $
  ====================================================================*/
 
 package org.objectweb.gotm.browser.jta;
@@ -36,17 +36,17 @@
 import javax.transaction.SystemException;
 import javax.transaction.Transaction;
 
-import org.objectweb.util.browser.api.TreeView;
-import org.objectweb.util.browser.gui.lib.LabelBox;
-import 
org.objectweb.util.browser.plugins.fractal.panel.DefaultFractalViewPanel;
+import org.objectweb.fractal.explorer.panel.DefaultFractalViewPanel;
+import org.objectweb.util.explorer.api.TreeView;
+import org.objectweb.util.explorer.swing.gui.lib.LabelBox;
 
 /**
  * Implementation of a <code>DefaultFractalViewPanel</code> for the JTA 
  * Transaction interface.
  * @author <a href="mailto:Romain.Rouvoy@xxxxxxx";>Romain Rouvoy</a>
  * @created 22 déc. 2004
- * @modified $Date: 2005/01/10 16:17:31 $
- * @version $Revision: 1.2 $
+ * @modified $Date: 2005/09/06 13:40:09 $
+ * @version $Revision: 1.3 $
  */
 public class TransactionPanel  
      extends DefaultFractalViewPanel 
Index: 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionRollbackAction.java
diff -u 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionRollbackAction.java:1.2
 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionRollbackAction.java:1.3
--- 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionRollbackAction.java:1.2
 Mon Jan 10 17:17:31 2005
+++ 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionRollbackAction.java
     Tue Sep  6 15:40:09 2005
@@ -22,7 +22,7 @@
  Contributor(s): ______________________________________.
 
  ---------------------------------------------------------------------
- $Id: TransactionRollbackAction.java,v 1.2 2005/01/10 16:17:31 rouvoy Exp $
+ $Id: TransactionRollbackAction.java,v 1.3 2005/09/06 13:40:09 rouvoy Exp $
  ====================================================================*/
 
 package org.objectweb.gotm.browser.jta;
@@ -33,19 +33,19 @@
 
 import org.objectweb.fractal.api.Interface;
 import org.objectweb.fractal.api.control.LifeCycleController;
-import org.objectweb.util.browser.api.MenuItem;
-import org.objectweb.util.browser.api.MenuItemTreeView;
-import org.objectweb.util.browser.api.TreeView;
-import org.objectweb.util.browser.plugins.fractal.FcBrowser;
-import 
org.objectweb.util.browser.plugins.fractal.menu.DefaultFractalMenuItem;
+import org.objectweb.fractal.explorer.FcExplorer;
+import org.objectweb.fractal.explorer.menu.DefaultFractalMenuItem;
+import org.objectweb.util.explorer.api.MenuItem;
+import org.objectweb.util.explorer.api.MenuItemTreeView;
+import org.objectweb.util.explorer.api.TreeView;
 
 /**
  * Implementation of a <code>DefaultFractalMenuItem</code> for the rollback 
  * action applied on a JTA Transaction interface.
  * @author <a href="mailto:Romain.Rouvoy@xxxxxxx";>Romain Rouvoy</a>
  * @created 22 déc. 2004
- * @modified $Date: 2005/01/10 16:17:31 $
- * @version $Revision: 1.2 $
+ * @modified $Date: 2005/09/06 13:40:09 $
+ * @version $Revision: 1.3 $
  */
 public class TransactionRollbackAction 
      extends DefaultFractalMenuItem 
@@ -55,7 +55,7 @@
      */
     public int getStartedStatus(TreeView arg0) {
         Transaction tx = (Transaction) arg0.getSelectedObject();     
-        if (FcBrowser.getLifeCycleState((Interface)tx) == 
LifeCycleController.STOPPED)
+        if (FcExplorer.getLifeCycleState((Interface)tx) == 
LifeCycleController.STOPPED)
             return getStoppedStatus(arg0);
         try {
             if (tx.getStatus() == Status.STATUS_NO_TRANSACTION)
Index: 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionSetRollbackOnlyAction.java
diff -u 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionSetRollbackOnlyAction.java:1.2
 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionSetRollbackOnlyAction.java:1.3
--- 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionSetRollbackOnlyAction.java:1.2
  Mon Jan 10 17:17:31 2005
+++ 
gotm-jts/src/java/org/objectweb/gotm/browser/jta/TransactionSetRollbackOnlyAction.java
      Tue Sep  6 15:40:09 2005
@@ -22,7 +22,7 @@
  Contributor(s): ______________________________________.
 
  ---------------------------------------------------------------------
- $Id: TransactionSetRollbackOnlyAction.java,v 1.2 2005/01/10 16:17:31 rouvoy 
Exp $
+ $Id: TransactionSetRollbackOnlyAction.java,v 1.3 2005/09/06 13:40:09 rouvoy 
Exp $
  ====================================================================*/
 
 package org.objectweb.gotm.browser.jta;
@@ -33,19 +33,19 @@
 
 import org.objectweb.fractal.api.Interface;
 import org.objectweb.fractal.api.control.LifeCycleController;
-import org.objectweb.util.browser.api.MenuItem;
-import org.objectweb.util.browser.api.MenuItemTreeView;
-import org.objectweb.util.browser.api.TreeView;
-import org.objectweb.util.browser.plugins.fractal.FcBrowser;
-import 
org.objectweb.util.browser.plugins.fractal.menu.DefaultFractalMenuItem;
+import org.objectweb.fractal.explorer.FcExplorer;
+import org.objectweb.fractal.explorer.menu.DefaultFractalMenuItem;
+import org.objectweb.util.explorer.api.MenuItem;
+import org.objectweb.util.explorer.api.MenuItemTreeView;
+import org.objectweb.util.explorer.api.TreeView;
 
 /**
  * Implementation of a <code>DefaultFractalMenuItem</code> for the rollback 
only
  * action on a JTA <code>Transaction</code> interface.
  * @author <a href="mailto:Romain.Rouvoy@xxxxxxx";>Romain Rouvoy</a>
  * @created 22 déc. 2004
- * @modified $Date: 2005/01/10 16:17:31 $
- * @version $Revision: 1.2 $
+ * @modified $Date: 2005/09/06 13:40:09 $
+ * @version $Revision: 1.3 $
  */
 public class TransactionSetRollbackOnlyAction 
      extends DefaultFractalMenuItem 
@@ -55,7 +55,7 @@
      */
     public int getStartedStatus(TreeView arg0) {
         Transaction tx = (Transaction) arg0.getSelectedObject();     
-        if (FcBrowser.getLifeCycleState((Interface)tx) == 
LifeCycleController.STOPPED)
+        if (FcExplorer.getLifeCycleState((Interface)tx) == 
LifeCycleController.STOPPED)
             return getStoppedStatus(arg0);
         try {
             if (tx.getStatus() == Status.STATUS_NO_TRANSACTION)



<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.