Package net.sf.myway.calibrator.ui.dialog

Examples of net.sf.myway.calibrator.ui.dialog.RenameDialog.open()


          .getFirstElement();
        final String oldName = obj instanceof Folder ? ((Folder) obj).getName()
          : obj instanceof ScannedMap ? ((ScannedMap) obj).getName() : ""; //$NON-NLS-1$
        final RenameDialog renameDialog = new RenameDialog(shell, oldName);
        renameDialog.setBlockOnOpen(true);
        renameDialog.open();
        final String newName = renameDialog.getNewName();
        if (newName != null) {
          if (obj instanceof Folder) {
            final Folder f = (Folder) obj;
            getBL().rename(f, newName);
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.