Package com.cxy.redisclient.dto

Examples of com.cxy.redisclient.dto.StringInfo


    parseContainer(treeItem, cinfo);

    NewStringDialog dialog = new NewStringDialog(shell, iconImage,
        cinfo.getId(), cinfo.getServerName(), cinfo.getDb(),
        cinfo.getContainerStr());
    StringInfo info = (StringInfo) dialog.open();
    if (info != null) {
      service2.addString(cinfo.getId(), cinfo.getDb(), info.getKey(),
          info.getValue(), info.getTtl());

      treeItem.setData(ITEM_OPENED, false);
      dbContainerTreeItemSelected(treeItem, false);
      gotoDBContainer(cinfo.getId(), cinfo.getDb(), info.getKey(), true,
          false);
    }

  }
View Full Code Here


    };
    okCancel.setOkSelection(okSelection);
    super.createContents();
  }
  private void okSelected(String key, String value) {
    setResult(new StringInfo(key, value, dataContent.getTTL()));
    shell.dispose();
  }
View Full Code Here

TOP

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

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.