Package com.cxy.redisclient.dto

Examples of com.cxy.redisclient.dto.ListInfo


      String key, List<String> values) {
    for (TableItem item : items) {
      if(item.getText().length() > 0)
        values.add(item.getText());
    }
    setResult(new ListInfo(key, values, ((NewListContent)dataContent).isHeadTail(), ((NewListContent)dataContent).isExist(), dataContent.getTTL()));
    shell.dispose();
  }
View Full Code Here


    parseContainer(treeItem, cinfo);

    NewListDialog dialog = new NewListDialog(shell, iconImage,
        cinfo.getId(), cinfo.getServerName(), cinfo.getDb(),
        cinfo.getContainerStr());
    ListInfo info = (ListInfo) dialog.open();
    if (info != null) {
      service4.add(cinfo.getId(), cinfo.getDb(), info.getKey(),
          info.getValues(), info.isHeadTail(), info.isExist(),
          info.getTtl());
      treeItem.setData(ITEM_OPENED, false);
      dbContainerTreeItemSelected(treeItem, false);
      gotoDBContainer(cinfo.getId(), cinfo.getDb(), info.getKey(), true,
          false);
    }
  }
View Full Code Here

TOP

Related Classes of com.cxy.redisclient.dto.ListInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.