Permalink
Browse files

action 'View data' renamed to 'Browse'

  • Loading branch information...
1 parent 7868e15 commit b6a92f08944361a7e25258886e29ae70ddbaaf0d tomek committed Jul 30, 2012
@@ -26,11 +26,11 @@ qx.Class.define("helenos.components.menu.ColumnFamilyContextMenu",
propsButton.addListener("execute", this.__showProperties);
this.add(propsButton);
- var viewDataButton = new qx.ui.menu.Button("View data", "icon/16/apps/office-spreadsheet.png");
- viewDataButton.setUserData('KSNAME', ksName);
- viewDataButton.setUserData('CFNAME', cfName);
- viewDataButton.addListener("execute", this.__showDataPane);
- this.add(viewDataButton);
+ var browserButton = new qx.ui.menu.Button("Browse", "icon/16/apps/office-spreadsheet.png");
+ browserButton.setUserData('KSNAME', ksName);
+ browserButton.setUserData('CFNAME', cfName);
+ browserButton.addListener("execute", this.__showBrowserPane);
+ this.add(browserButton);
this.add(new qx.ui.menu.Separator());
@@ -66,10 +66,10 @@ qx.Class.define("helenos.components.menu.ColumnFamilyContextMenu",
}, this);
},
- __showDataPane : function(e) {
+ __showBrowserPane : function(e) {
var ksName = e.getTarget().getUserData('KSNAME');
var cfName = e.getTarget().getUserData('CFNAME');
- helenos.util.GuiObserver.showViewDataTab(ksName, cfName);
+ helenos.util.GuiObserver.showBrowserTab(ksName, cfName);
},
__dropColumnFamily : function(e) {
@@ -7,7 +7,7 @@ Authors:
Tomek Kuprowski (tomekkuprowski at gmail dot com)
************************************************************************ */
-qx.Class.define("helenos.components.tab.ViewDataPage",
+qx.Class.define("helenos.components.tab.BrowserPage",
{
extend : helenos.components.tab.AbstractCloseablePage,
@@ -29,9 +29,9 @@ qx.Class.define("helenos.util.GuiObserver",
this.__tabbedPane.setSelection([ksPage]);
},
- showViewDataTab : function(keyspaceName, columnFamily) {
+ showBrowserTab : function(keyspaceName, columnFamily) {
qx.core.Assert.assertNotNull(this.__tabbedPane,'tabbed pane not registered yet');
- var dataPage = new helenos.components.tab.ViewDataPage(keyspaceName, columnFamily);
+ var dataPage = new helenos.components.tab.BrowserPage(keyspaceName, columnFamily);
this.__tabbedPane.add(dataPage);
this.__tabbedPane.setSelection([dataPage]);
},

0 comments on commit b6a92f0

Please sign in to comment.