Package fr.soleil.gui.flyscan.gui.custom.tabbedpane

Examples of fr.soleil.gui.flyscan.gui.custom.tabbedpane.CloseSaveButtonTabbedPane


        configDevicePanel.add(scanInfoAndCommandsPanel, scanInfoAndCommandsPanelConstraints);

        this.add(configDevicePanel, devicePanelConstraints);

        tabbedPane = new CloseSaveButtonTabbedPane(expert);

        tabbedPane.addChangeListener(new ChangeListener() {

            @Override
            public void stateChanged(ChangeEvent e) {
View Full Code Here


    @Override
    public boolean quit() {

        if (isExpert) {
            CloseSaveButtonTabbedPane tabbedPane = flyScanTangoBox.getTabbedPane();
            int nbConfigUnsaved = 0;
            for (int i = 0; i < tabbedPane.getTabCount(); i++) {
                if (tabbedPane.getTitleAt(i).trim().endsWith(Utilities.ASTERISK)) {
                    nbConfigUnsaved++;
                }
            }
            if (nbConfigUnsaved > 0) {
                Object[] options = { "Cancel", "Ignore changes and quit" };
View Full Code Here

TOP

Related Classes of fr.soleil.gui.flyscan.gui.custom.tabbedpane.CloseSaveButtonTabbedPane

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.