Examples of open()


Examples of com.confluenity.jaylen.forms.AboutDialog.open()

public class AboutAction extends Action {

  @Override
  public void widgetSelected(SelectionEvent selectionEvent) {
    AboutDialog dialog = springContext.getBean("aboutDialog", AboutDialog.class);
    dialog.open();
  }
}
View Full Code Here

Examples of com.cubusmail.mail.IMailFolder.open()

    IMailFolder folder = getMailFolderById( folderId );

    try {
      if ( !folder.isOpen() ) {
        folder.open( Folder.READ_WRITE );
      }

      if ( folder.getMessageCount() > 0 ) {
        Message[] msgs = folder.retrieveMessages( null );
        for (int i = 0; i < folder.getMessageCount(); i++) {
View Full Code Here

Examples of com.cubusmail.server.mail.IMailFolder.open()

    IMailFolder folder = getMailFolderById( folderId );

    try {
      if ( !folder.isOpen() ) {
        folder.open( Folder.READ_WRITE );
      }

      if ( folder.getMessageCount() > 0 ) {
        Message[] msgs = folder.retrieveMessages( null, true, null, null );
        for (int i = 0; i < folder.getMessageCount(); i++) {
View Full Code Here

Examples of com.cxy.redisclient.presentation.WatchDialog.open()

    btnWatch.addSelectionListener(new SelectionAdapter() {
      @Override
      public void widgetSelected(SelectionEvent e) {
        WatchDialog dialog = new WatchDialog(shell.getParent()
            .getShell(), image, currentData.getValue());
        dialog.open();
      }
    });
   
   
   
View Full Code Here

Examples of com.cxy.redisclient.presentation.favorite.AddFavoriteDialog.open()

    parseContainer(treeItem, cinfo);

    AddFavoriteDialog dialog = new AddFavoriteDialog(shell, iconImage,
        fullContainer);
    String name = (String) dialog.open();
    if (name != null)
      service3.add(cinfo.getId(), name, fullContainer);

    removeFavoriteMenuItem();
    addFavoriteMenuItem();
View Full Code Here

Examples of com.cxy.redisclient.presentation.favorite.OrganizeFavoriteDialog.open()

      public void widgetSelected(SelectionEvent e) {
        OrganizeFavoriteDialog dialog = new OrganizeFavoriteDialog(
            shell, iconImage);

        @SuppressWarnings("unchecked")
        List<Favorite> favorites = (List<Favorite>) dialog.open();
        if (favorites != null) {
          service3.updateList(favorites);

          removeFavoriteMenuItem();
          addFavoriteMenuItem();
View Full Code Here

Examples of com.cxy.redisclient.presentation.hash.NewHashDialog.open()

    parseContainer(treeItem, cinfo);

    NewHashDialog dialog = new NewHashDialog(shell, iconImage,
        cinfo.getId(), cinfo.getServerName(), cinfo.getDb(),
        cinfo.getContainerStr());
    HashInfo info = (HashInfo) dialog.open();
    if (info != null) {
      service7.add(cinfo.getId(), cinfo.getDb(), info.getKey(),
          info.getValues(), info.getTtl());
      treeItem.setData(ITEM_OPENED, false);
      dbContainerTreeItemSelected(treeItem, false);
View Full Code Here

Examples of com.cxy.redisclient.presentation.key.DeleteContainerDialog.open()

  }

  private void deleteOneContainer() {
    DeleteContainerDialog dialog = new DeleteContainerDialog(shell,
        iconImage, questionImage, 1);
    Boolean deleteSub = (Boolean) dialog.open();
    if (deleteSub != null) {
      TreeItem treeItem;
      if (itemsSelected[0] instanceof TableItem)
        treeItem = getTreeItemByTableItem((TableItem) itemsSelected[0])
            .getParentItem();
View Full Code Here

Examples of com.cxy.redisclient.presentation.key.FindKeyDialog.open()

    }
  }

  protected void find() {
    FindKeyDialog dialog = new FindKeyDialog(shell, iconImage);
    FindInfo info = (FindInfo) dialog.open();
    if (info != null) {
      TreeItem treeItem;

      ContainerKeyInfo cinfo = new ContainerKeyInfo();
      if (itemsSelected[0] instanceof TreeItem) {
View Full Code Here

Examples of com.cxy.redisclient.presentation.key.RenameKeysDialog.open()

    parseContainer(treeItem, cinfo);

    RenameKeysDialog dialog = new RenameKeysDialog(shell, iconImage,
        cinfo.getServerName(), cinfo.getDb(), cinfo.getContainerStr());
    RenameInfo rinfo = (RenameInfo) dialog.open();

    if (rinfo != null) {
      Set<String> result = service2.renameContainer(cinfo.getId(),
          cinfo.getDb(), cinfo.getContainerStr(),
          rinfo.getNewContainer(), rinfo.isOverwritten(),
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.