chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From f...@apache.org
Subject svn commit: r1435823 - /chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/TypesFrame.java
Date Sun, 20 Jan 2013 11:38:59 GMT
Author: fmui
Date: Sun Jan 20 11:38:59 2013
New Revision: 1435823

URL: http://svn.apache.org/viewvc?rev=1435823&view=rev
Log:
Workbench: reload types tree after type creation or update

Modified:
    chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/TypesFrame.java

Modified: chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/TypesFrame.java
URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/TypesFrame.java?rev=1435823&r1=1435822&r2=1435823&view=diff
==============================================================================
--- chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/TypesFrame.java
(original)
+++ chemistry/opencmis/trunk/chemistry-opencmis-workbench/chemistry-opencmis-workbench/src/main/java/org/apache/chemistry/opencmis/workbench/TypesFrame.java
Sun Jan 20 11:38:59 2013
@@ -191,6 +191,8 @@ public class TypesFrame extends JFrame {
                         if (checkTypeDefinition(type)) {
                             model.getClientSession().getSession().updateType(type);
                         }
+                        
+                        loadData();
                     } catch (Exception e) {
                         ClientHelper.showError(getRootPane(), e);
                     }
@@ -215,6 +217,8 @@ public class TypesFrame extends JFrame {
                         if (checkTypeDefinition(type)) {
                             model.getClientSession().getSession().updateType(type);
                         }
+                        
+                        loadData();
                     } catch (Exception e) {
                         ClientHelper.showError(getRootPane(), e);
                     }
@@ -276,6 +280,8 @@ public class TypesFrame extends JFrame {
                         if (checkTypeDefinition(type)) {
                             model.getClientSession().getSession().createType(type);
                         }
+                        
+                        loadData();
                     } catch (Exception e) {
                         ClientHelper.showError(getRootPane(), e);
                     }
@@ -300,6 +306,8 @@ public class TypesFrame extends JFrame {
                         if (checkTypeDefinition(type)) {
                             model.getClientSession().getSession().createType(type);
                         }
+                        
+                        loadData();
                     } catch (Exception e) {
                         ClientHelper.showError(getRootPane(), e);
                     }



Mime
View raw message