Package slash.navigation.converter.gui.actions

Examples of slash.navigation.converter.gui.actions.ReopenAction


        reopenMenu.setEnabled(urls.size() > 0);

        for (URL url : urls) {
            File file = toFile(url);
            JMenuItem menuItem = new JMenuItem();
            menuItem.setAction(new ReopenAction(convertPanel, url));
            String text = file != null ? file.getAbsolutePath() : url.toExternalForm();
            menuItem.setText(shortenPath(text, preferences.getInt(MAXIMUM_REOPEN_URL_MENU_TEXT_LENGTH_PREFERENCE, 80)));
            menuItem.setToolTipText(text);
            reopenMenu.add(menuItem);
        }
View Full Code Here

TOP

Related Classes of slash.navigation.converter.gui.actions.ReopenAction

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.