Package jsky.interop

Examples of jsky.interop.PlasticHelper$HubWatchAction


     * Create the Interop menu.
     * @return the new menu
     */
    protected JMenu createInteropMenu() {
        SampHelper sh = SampHelper.getInstance();
        PlasticHelper ph = PlasticHelper.getInstance();
        if (sh == null && ph == null) {
            return null; // no interop services
        }

        JMenu menu = new JMenu(_I18N.getString("interop"));

        if (sh != null && ph != null) {
            JMenu sampMenu = new JMenu("SAMP");
            menu.add(sampMenu);
            sh.initTableMenu(sampMenu);

            JMenu plasticMenu = new JMenu("PLASTIC");
            menu.add(plasticMenu);
            ph.initTableMenu(plasticMenu);
        } else {
            if (sh != null) {
                sh.initTableMenu(menu);
            }
            if (ph != null) {
                ph.initTableMenu(menu);
            }
        }
        return menu;
    }
View Full Code Here


     *
     * @return the new or updated menu
     */
    protected JMenu createInteropMenu() {
        SampHelper sh = SampHelper.getInstance();
        PlasticHelper ph = PlasticHelper.getInstance();
        if (sh == null && ph == null) {
            return null; // no interop services
        }

        JMenu menu = new JMenu(_I18N.getString("interop"));

        if (sh != null && ph != null) {
            JMenu sampMenu = new JMenu("SAMP");
            menu.add(sampMenu);
            sh.initImageMenu(sampMenu);

            JMenu plasticMenu = new JMenu("PLASTIC");
            menu.add(plasticMenu);
            ph.initImageMenu(plasticMenu);
        } else {
            if (sh != null) {
                sh.initImageMenu(menu);
            }
            if (ph != null) {
                ph.initImageMenu(menu);
            }
        }
        return menu;
    }
View Full Code Here

TOP

Related Classes of jsky.interop.PlasticHelper$HubWatchAction

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.