Examples of ModelPreferences


Examples of fr.soleil.salsa.client.view.util.ModelPreferences

        try {
            Perspective newCurrentPerspective = perspectivesManager
                    .getPerspectiveByName(((javax.swing.JRadioButtonMenuItem) source).getText());
            setWindowLayout(newCurrentPerspective.getWindowLayout());
            this.perspectivesManager.setCurrentPerspective(newCurrentPerspective);
            ModelPreferences mp = ModelPreferences.getInstance();
            mp.setLastPerspectiveName(newCurrentPerspective.getName());
        }
        catch (IOException e) {
            e.printStackTrace();
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.client.view.util.ModelPreferences

        try {
            Perspective newCurrentPerspective = perspectivesManager
                    .getPerspectiveByName(perspectiveName);
            setWindowLayout(newCurrentPerspective.getWindowLayout());
            this.perspectivesManager.setCurrentPerspective(newCurrentPerspective);
            ModelPreferences mp = ModelPreferences.getInstance();
            mp.setLastPerspectiveName(newCurrentPerspective.getName());
        }
        catch (IOException e) {
            e.printStackTrace();
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.client.view.util.ModelPreferences

            this.perspectivesManager.getMenuBarViewTool().getMenuPerspective().getItem(
                    this.perspectivesManager.getMenuBarViewTool().getMenuPerspective()
                            .getItemCount() - 4).setSelected(true);

            perspectivesManager.setCurrentPerspective(newPerspective);
            ModelPreferences mp = ModelPreferences.getInstance();
            mp.setLastPerspectiveName(newPerspective.getName());
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.client.view.util.ModelPreferences

        try {
            Perspective newCurrentPerspective = perspectivesManager
                    .getPerspectiveByName(((javax.swing.JRadioButtonMenuItem) source).getText());
            setWindowLayout(newCurrentPerspective.getWindowLayout());
            this.perspectivesManager.setCurrentPerspective(newCurrentPerspective);
            ModelPreferences mp = ModelPreferences.getInstance();
            mp.setLastPerspectiveName(newCurrentPerspective.getName());
        }
        catch (IOException e) {
            e.printStackTrace();
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.client.view.util.ModelPreferences

        try {
            Perspective newCurrentPerspective = perspectivesManager
                    .getPerspectiveByName(perspectiveName);
            setWindowLayout(newCurrentPerspective.getWindowLayout());
            this.perspectivesManager.setCurrentPerspective(newCurrentPerspective);
            ModelPreferences mp = ModelPreferences.getInstance();
            mp.setLastPerspectiveName(newCurrentPerspective.getName());
        }
        catch (IOException e) {
            e.printStackTrace();
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.client.view.util.ModelPreferences

            this.perspectivesManager.getMenuBarViewTool().getMenuPerspective().getItem(
                    this.perspectivesManager.getMenuBarViewTool().getMenuPerspective()
                            .getItemCount() - 4).setSelected(true);

            perspectivesManager.setCurrentPerspective(newPerspective);
            ModelPreferences mp = ModelPreferences.getInstance();
            mp.setLastPerspectiveName(newPerspective.getName());
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.client.view.util.ModelPreferences

        try {
            Perspective newCurrentPerspective = perspectivesManager
                    .getPerspectiveByName(((javax.swing.JRadioButtonMenuItem) source).getText());
            setWindowLayout(newCurrentPerspective.getWindowLayout());
            this.perspectivesManager.setCurrentPerspective(newCurrentPerspective);
            ModelPreferences mp = ModelPreferences.getInstance();
            mp.setLastPerspectiveName(newCurrentPerspective.getName());
        }
        catch (IOException e) {
            e.printStackTrace();
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.client.view.util.ModelPreferences

        try {
            Perspective newCurrentPerspective = perspectivesManager
                    .getPerspectiveByName(perspectiveName);
            setWindowLayout(newCurrentPerspective.getWindowLayout());
            this.perspectivesManager.setCurrentPerspective(newCurrentPerspective);
            ModelPreferences mp = ModelPreferences.getInstance();
            mp.setLastPerspectiveName(newCurrentPerspective.getName());
        }
        catch (IOException e) {
            e.printStackTrace();
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.client.view.util.ModelPreferences

            this.perspectivesManager.getMenuBarViewTool().getMenuPerspective().getItem(
                    this.perspectivesManager.getMenuBarViewTool().getMenuPerspective()
                            .getItemCount() - 4).setSelected(true);

            perspectivesManager.setCurrentPerspective(newPerspective);
            ModelPreferences mp = ModelPreferences.getInstance();
            mp.setLastPerspectiveName(newPerspective.getName());
        }
    }
View Full Code Here

Examples of fr.soleil.salsa.client.view.util.ModelPreferences

        try {
            Perspective newCurrentPerspective = perspectivesManager
                    .getPerspectiveByName(((javax.swing.JRadioButtonMenuItem) source).getText());
            setWindowLayout(newCurrentPerspective.getWindowLayout());
            this.perspectivesManager.setCurrentPerspective(newCurrentPerspective);
            ModelPreferences mp = ModelPreferences.getInstance();
            mp.setLastPerspectiveName(newCurrentPerspective.getName());
        }
        catch (IOException e) {
            e.printStackTrace();
        }
    }
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.