Package org.openide.windows

Examples of org.openide.windows.WindowManager


    public static final String SODBEANS_IS_RELEASE = "true";
    public static final String UI_LOGGER_NAME = "org.netbeans.ui.sodbeansVersion";
   
    @Override
    public void restored() {
        WindowManager manager = WindowManager.getDefault();
        manager.invokeWhenUIReady(this);
    }
View Full Code Here


    private boolean loadOnStartup = false;

    @Override
    public void restored() {
        loadOnStartup = NbPreferences.forModule(MainWindow.class).getBoolean(MainWindow.LOAD_AT_STARTUP, false);
        WindowManager manager = WindowManager.getDefault();
        manager.invokeWhenUIReady(this);
    }
View Full Code Here

    public Starter() {
    }

    public void start() {
        WindowManager manager = WindowManager.getDefault();
        manager.invokeWhenUIReady(this);
        displayer = StatusDisplayer.getDefault();
        displayer.addChangeListener(this);
    }
View Full Code Here

     * Note: The DataContent Top Component must be closed before the Directory Tree
     * and Favorites Top Components. Otherwise a NullPointerException will be thrown
     * from JFXPanel.
     */
    public static void closeCoreWindows() {
        WindowManager wm = WindowManager.getDefault();
        Set<? extends Mode> modes = wm.getModes();
        Iterator<? extends Mode> iter = wm.getModes().iterator();


        TopComponent directoryTree = null;
        TopComponent favorites = null;
        String tcName = "";
View Full Code Here

    /**
     * Obtain the DirectoryTreeTopComponent instance. Never call
     * {@link #getDefault} directly!
     */
    public static synchronized DirectoryTreeTopComponent findInstance() {
        WindowManager winManager = WindowManager.getDefault();
        TopComponent win = winManager.findTopComponent(PREFERRED_ID);
        if (win == null) {
            logger.warning(
                    "Cannot find " + PREFERRED_ID + " component. It will not be located properly in the window system."); //NON-NLS
            return getDefault();
        }
View Full Code Here

TOP

Related Classes of org.openide.windows.WindowManager

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.