Package org.rssowl.ui.internal.dialogs.properties

Examples of org.rssowl.ui.internal.dialogs.properties.EntityPropertyDialog


      /* Pages are present */
      if (!pages.isEmpty()) {

        /* Create & Open the Property-Dialog */
        EntityPropertyDialog dialog = new EntityPropertyDialog(fShellProvider.getShell(), selectedEntities);
        dialog.setTitle(getTitle(selectedEntities));

        /* Add contributed pages */
        for (EntityPropertyPageWrapper page : pages) {
          page.createPage();
          dialog.addPage(page);
        }

        dialog.open();
      }
    }
  }
View Full Code Here


      /* Pages are present */
      if (!pages.isEmpty()) {

        /* Create & Open the Property-Dialog */
        EntityPropertyDialog dialog = new EntityPropertyDialog(fShellProvider.getShell(), selectedEntities);
        dialog.setTitle(getTitle(selectedEntities));

        /* Add contributed pages */
        for (EntityPropertyPageWrapper page : pages) {
          page.createPage();
          dialog.addPage(page);
        }

        /* Re-Sort if sorting by name is enabled */
        if (dialog.open() == IDialogConstants.OK_ID) {
          if (dialog.entitiesUpdated() && selectedEntities.size() == 1) { // Name can only be changed on single entity
            IEntity entity = selectedEntities.get(0);
            if (entity instanceof IFolderChild && ((IFolderChild) entity).getParent() != null) {
              IFolder parent = ((IFolderChild) entity).getParent();
              BookMarkExplorer explorer = OwlUI.getOpenedBookMarkExplorer();
              if (explorer != null && explorer.isSortByNameEnabled())
View Full Code Here

TOP

Related Classes of org.rssowl.ui.internal.dialogs.properties.EntityPropertyDialog

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.