Package com.tagtraum.perf.gcviewer.action

Examples of com.tagtraum.perf.gcviewer.action.OpenRecent


            public void remove(RecentURLEvent e) {
                RecentURLsMenu.this.remove(e.getPosition());
            }

            public void add(RecentURLEvent e) {
                RecentURLsMenu.this.add(new JMenuItem(new OpenRecent(gcViewer, e.getURLSet().getUrls())), e.getPosition());
            }
        });
        setMnemonic(LocalisationHelper.getString("main_frame_menuitem_mnemonic_recent_files").charAt(0));
        setToolTipText(LocalisationHelper.getString("main_frame_menuitem_hint_recent_files"));
    }
View Full Code Here


        }
       
        // recent files
        List<String> recentFileList = new LinkedList<String>();
        for (Component recentMenuItem : recentURLsMenu.getMenuComponents()) {
            final OpenRecent openRecent = (OpenRecent)((JMenuItem)recentMenuItem).getAction();
            final URL[] urls = openRecent.getURLs();
            final StringBuffer sb = new StringBuffer();
            for (int j=0; j<urls.length; j++) {
                sb.append(urls[j]);
                sb.append(';');
            }
View Full Code Here

TOP

Related Classes of com.tagtraum.perf.gcviewer.action.OpenRecent

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.