Package com.vlsolutions.swing.docking

Examples of com.vlsolutions.swing.docking.Dockable

@author Lilian Chamontin, vlsolutions. @version 1.0

     * Save all unsaved buffers in the editor.
     */
    public void saveAll() {
        DockableState[] dockables = workspace.getDockables();
        for (DockableState dockableState : dockables) {
            Dockable dockable = dockableState.getDockable();
            if (dockable instanceof EditorDockable) {
                IEditor editor = ((EditorDockable) dockable).getEditor();
                if (editor.isDirty()) {
                    save(editor);
                }
View Full Code Here


        if (e.isDirty()) {
            suffix = "*";
        }
        String title = "";
        title = e.getData("filename") + suffix;
        Dockable dockable = (Dockable) e.getData("dockable");
        if (dockable != null) {
            DockKey dk = dockable.getDockKey();
            dk.setName(title);
        }
    }
View Full Code Here

            e.addContentChangeListener(contentChangeListener);
            e.addCaretListener(caretListener);
            setAcceleratorKeys(e);
            setMenuItems(e);
            e.setStatusBar(statusPanel);
            Dockable editorDockable = new EditorDockable(e, editorDockGroup, workspace);
            e.setData("dockable", editorDockable);
            return e;
        } catch (IOException e1) {
            e1.printStackTrace();
        }
View Full Code Here

TOP

Related Classes of com.vlsolutions.swing.docking.Dockable

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.