Package com.cxy.redisclient.dto

Examples of com.cxy.redisclient.dto.SetInfo


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


    parseContainer(treeItem, cinfo);

    NewSetDialog dialog = new NewSetDialog(shell, iconImage, cinfo.getId(),
        cinfo.getServerName(), cinfo.getDb(), cinfo.getContainerStr());
    SetInfo info = (SetInfo) dialog.open();
    if (info != null) {
      service5.add(cinfo.getId(), cinfo.getDb(), info.getKey(),
          info.getValues(), 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.SetInfo

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.