Permalink
Browse files

cf truncation fixed

  • Loading branch information...
1 parent 13a84d2 commit 9de64767110d83c0d4cfbe5203c9a8da3e6ebec3 tomek committed Jul 19, 2012
@@ -23,12 +23,7 @@ qx.Class.define("helenos.Application",
*/
members :
- {
-
- __getTopComposite : function() {
- return new helenos.components.TopComposite();
- },
-
+ {
main : function()
{
// Call super class
@@ -42,8 +37,10 @@ qx.Class.define("helenos.Application",
// support additional cross-browser console. Press F7 to toggle visibility
qx.log.appender.Console;
}
+
+ qx.locale.Manager.getInstance().setLocale("en");
- this.getRoot().add(this.__getTopComposite(), {
+ this.getRoot().add(new helenos.components.TopComposite(), {
edge : 0
});
}
@@ -11,7 +11,7 @@ Authors:
#asset(qx/icon/${qx.icontheme}/16/actions/edit-delete.png)
#asset(qx/icon/${qx.icontheme}/16/actions/edit-clear.png)
#asset(qx/icon/${qx.icontheme}/16/apps/office-spreadsheet.png)
- */
+*/
qx.Class.define("helenos.components.menu.ColumnFamilyContextMenu",
{
extend : qx.ui.menu.Menu,
@@ -27,6 +27,11 @@ qx.Class.define('helenos.util.RpcActionsProvider', {
describeColumnFamily : function(keyspaceName, columnFamily) {
var rpc = new helenos.util.Rpc('Cluster');
return rpc.callSync('describeColumnFamily', keyspaceName, columnFamily);
+ },
+
+ truncateColumnFamily : function(keyspaceName, columnFamily) {
+ var rpc = new helenos.util.Rpc('Cluster');
+ return rpc.callSync('truncateColumnFamily', keyspaceName, columnFamily);
}
}
@@ -11,6 +11,9 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: helenos/components/menu/ColumnFamilyContextMenu.js:59
+#: helenos/components/menu/KeyspaceContextMenu.js:46
+#: helenos/components/menu/ColumnFamilyContextMenu.js:60
+#: helenos/components/menu/ColumnFamilyContextMenu.js:71
+#: helenos/components/menu/ColumnFamilyContextMenu.js:74
msgid "loss.data.alert"
msgstr "Are you sure ?! You will lose all your data !!!"

0 comments on commit 9de6476

Please sign in to comment.