Package org.noos.xing.mydoggy

Examples of org.noos.xing.mydoggy.ToolWindowTypeDescriptor


        containerLayout.setColumn(new double[]{0,0});

        // add actions for the current type...
        focusable = null;
       
        ToolWindowTypeDescriptor typeDescriptor = descriptor.getTypeDescriptor(toolWindowType);

        addToolWindowAction(typeDescriptor.getToolWindowAction(ToolWindowAction.HIDE_ACTION_ID));
        addToolWindowAction(typeDescriptor.getToolWindowAction(ToolWindowAction.MAXIMIZE_ACTION_ID));
        addToolWindowAction(typeDescriptor.getToolWindowAction(ToolWindowAction.PIN_ACTION_ID));
        addToolWindowAction(typeDescriptor.getToolWindowAction(ToolWindowAction.FLOATING_ACTION_ID));
        addToolWindowAction(typeDescriptor.getToolWindowAction(ToolWindowAction.DOCK_ACTION_ID));

        // Add custom actions...
        for (ToolWindowAction toolWindowAction : typeDescriptor.getToolWindowActions()) {
            if (!(toolWindowAction instanceof PlafToolWindowAction))  {
                int index = (Integer) toolWindowAction.getValue("constraint");
                addToolWindowAction(toolWindowAction, index);
            }
        }
View Full Code Here

TOP

Related Classes of org.noos.xing.mydoggy.ToolWindowTypeDescriptor

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.