incubator-ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r900161 - in /incubator/ace/trunk/webui/src/org/apache/ace/client: AddBundleDialog.java GroupTable.java LicenseTable.java Main.java
Date Sun, 17 Jan 2010 16:45:02 GMT
Author: marrs
Date: Sun Jan 17 16:45:02 2010
New Revision: 900161

URL: http://svn.apache.org/viewvc?rev=900161&view=rev
Log:
ACE-63 changed the terminology in the web UI, for now only in the Ant based build

Modified:
    incubator/ace/trunk/webui/src/org/apache/ace/client/AddBundleDialog.java
    incubator/ace/trunk/webui/src/org/apache/ace/client/GroupTable.java
    incubator/ace/trunk/webui/src/org/apache/ace/client/LicenseTable.java
    incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java

Modified: incubator/ace/trunk/webui/src/org/apache/ace/client/AddBundleDialog.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/webui/src/org/apache/ace/client/AddBundleDialog.java?rev=900161&r1=900160&r2=900161&view=diff
==============================================================================
--- incubator/ace/trunk/webui/src/org/apache/ace/client/AddBundleDialog.java (original)
+++ incubator/ace/trunk/webui/src/org/apache/ace/client/AddBundleDialog.java Sun Jan 17 16:45:02
2010
@@ -50,7 +50,7 @@
     OBRServiceAsync m_obrService = GWT.create(OBRService.class);
 
     AddBundleDialog(final Main main) {
-        setText("Add bundle");
+        setText("Add artifact");
         
         final ObjectListBox<OBRBundleDescriptor> obrFiles = new ObjectListBox<OBRBundleDescriptor>();
         obrFiles.setVisibleItemCount(8);
@@ -74,12 +74,12 @@
         
         // Create the button panel
         HorizontalPanel buttonPanel = new HorizontalPanel();
-        Button saveButton = new Button("Save");
+        Button saveButton = new Button("Add");
         saveButton.addClickHandler(new ClickHandler() {
             public void onClick(ClickEvent event) {
                 m_obrService.importBundle(obrFiles.getSelectedObject(), new AsyncCallback<Void>()
{
                     public void onFailure(Throwable caught) {
-                        Window.alert("Error importing bundle " + obrFiles.getSelectedObject());
+                        Window.alert("Error importing artifact " + obrFiles.getSelectedObject());
                     }
                     public void onSuccess(Void result) {
                         main.updateUI();
@@ -100,7 +100,7 @@
         
         // Put the dialog together
         VerticalPanel content = new VerticalPanel();
-        content.add(new Label("Where is your bundle?"));
+        content.add(new Label("Where is your artifact?"));
         content.add(stackPanel);
         
         buttonPanel.add(cancelButton);

Modified: incubator/ace/trunk/webui/src/org/apache/ace/client/GroupTable.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/webui/src/org/apache/ace/client/GroupTable.java?rev=900161&r1=900160&r2=900161&view=diff
==============================================================================
--- incubator/ace/trunk/webui/src/org/apache/ace/client/GroupTable.java (original)
+++ incubator/ace/trunk/webui/src/org/apache/ace/client/GroupTable.java Sun Jan 17 16:45:02
2010
@@ -55,11 +55,11 @@
     }
     
     void addNew() {
-        String result = Window.prompt("Add group", "New group");
+        String result = Window.prompt("Add feature", "New feature");
         if (result != null) {
             m_groupService.addGroup(result, new AsyncCallback<Void>() {
                 public void onFailure(Throwable caught) {
-                    Window.alert("Error adding group.");
+                    Window.alert("Error adding feature.");
                 }
                 public void onSuccess(Void result) {
                     // Hurrah!

Modified: incubator/ace/trunk/webui/src/org/apache/ace/client/LicenseTable.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/webui/src/org/apache/ace/client/LicenseTable.java?rev=900161&r1=900160&r2=900161&view=diff
==============================================================================
--- incubator/ace/trunk/webui/src/org/apache/ace/client/LicenseTable.java (original)
+++ incubator/ace/trunk/webui/src/org/apache/ace/client/LicenseTable.java Sun Jan 17 16:45:02
2010
@@ -55,11 +55,11 @@
     }
 
     void addNew() {
-        String result = Window.prompt("Add license", "New license");
+        String result = Window.prompt("Add distribution", "New distribution");
         if (result != null) {
             m_licenseService.addLicense(result, new AsyncCallback<Void>() {
                 public void onFailure(Throwable caught) {
-                    Window.alert("Error adding license.");
+                    Window.alert("Error adding distribution.");
                 }
                 public void onSuccess(Void result) {
                     // Hurrah!

Modified: incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java?rev=900161&r1=900160&r2=900161&view=diff
==============================================================================
--- incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java (original)
+++ incubator/ace/trunk/webui/src/org/apache/ace/client/Main.java Sun Jan 17 16:45:02 2010
@@ -182,16 +182,16 @@
         FlexCellFormatter formatter = rootPanel.getFlexCellFormatter();
         rootPanel.setWidth("100%");
         rootPanel.setHeight("100%");
-        rootPanel.setHTML(1, 0, "Bundle");
+        rootPanel.setHTML(1, 0, "Artifact");
         formatter.setWidth(1, 0, "25%");
         rootPanel.setWidget(2, 0, addBundleButton);
         rootPanel.setWidget(3, 0, bundleScrollPanel);
         formatter.setHeight(3, 0, "90%");
-        rootPanel.setHTML(1, 1, "Group");
+        rootPanel.setHTML(1, 1, "Feature");
         formatter.setWidth(1, 1, "25%");
         rootPanel.setWidget(2, 1, addGroupButton);
         rootPanel.setWidget(3, 1, groupScrollPanel);
-        rootPanel.setHTML(1, 2, "License");
+        rootPanel.setHTML(1, 2, "Distribution");
         formatter.setWidth(1, 2, "25%");
         rootPanel.setWidget(2, 2, addLicenseButton);
         rootPanel.setWidget(3, 2, licenseScrollPanel);
@@ -293,7 +293,7 @@
         private static final boolean VERBOSE = true;
         
         public StatusLabel() {
-            setText("checking server status...");
+            setText("Checking server status...");
         }
 
         public void handleFail(String table) {
@@ -314,12 +314,12 @@
             }
             
             if (allOk) {
-                setText("Server connection all happy.");
+                setText("Connected to server.");
                 setStyleName("serverStatusGood");
             }
             else {
                 StringBuilderImpl sb = new StringBuilderImpl();
-                sb.append("Error communicating with server.");
+                sb.append("Not connected to server.");
                 if (VERBOSE) {
                     for (Map.Entry<String, Boolean> entry : m_statuses.entrySet())
{
                         if (!entry.getValue()) {



Mime
View raw message