Package org.noos.xing.mydoggy

Examples of org.noos.xing.mydoggy.ToolWindowType


                toolWindow.setType(ToolWindowType.DOCKED);
            }
        }

        public void propertyChange(PropertyChangeEvent evt) {
            ToolWindowType type = (ToolWindowType) evt.getNewValue();
            switch (type) {
                case DOCKED:
                    putValue(Action.SMALL_ICON, resourceManager.getIcon(MyDoggyKeySpace.SLIDING));
                    putValue(Action.SHORT_DESCRIPTION, resourceManager.getString("@@tool.tooltip.undock"));
                    setVisible(descriptor.getTypeDescriptor(ToolWindowType.SLIDING).isEnabled());
View Full Code Here


            toolWindow.setActive(true);
            toolWindow.setAutoHide(!toolWindow.isAutoHide());
        }

        public void propertyChange(PropertyChangeEvent evt) {
            ToolWindowType type = (ToolWindowType) evt.getNewValue();
            switch (type) {
                case DOCKED:
                case FLOATING_LIVE:
                    setVisible(true);
                    break;
View Full Code Here

        }

        public void actionPerformed(ActionEvent e) {
            toolWindow.setActive(true);

            ToolWindowType type = toolWindow.getType();
            switch (type) {
                case FLOATING:
                case FLOATING_FREE:
                    toolWindow.setType(oldType != null ? oldType : ToolWindowType.DOCKED);
                    break;
View Full Code Here

                    toolWindow.setType(descriptor.isFloatingWindow() ? ToolWindowType.FLOATING_FREE : ToolWindowType.FLOATING);
            }
        }

        public void propertyChange(PropertyChangeEvent evt) {
            ToolWindowType type = (ToolWindowType) evt.getNewValue();
            switch (type) {
                case DOCKED:
                case FLOATING_LIVE:
                    putValue(Action.SMALL_ICON, resourceManager.getIcon(MyDoggyKeySpace.FLOATING));
                    putValue(Action.SHORT_DESCRIPTION, resourceManager.getString("@@tool.tooltip.float"));
View Full Code Here

        }

        public void actionPerformed(ActionEvent e) {
            toolWindow.setActive(true);

            ToolWindowType type = toolWindow.getType();
            if (type == ToolWindowType.DOCKED) {
                toolWindow.setType(ToolWindowType.SLIDING);
            } else if (type == ToolWindowType.SLIDING || type == ToolWindowType.FLOATING_LIVE) {
                toolWindow.setType(ToolWindowType.DOCKED);
            }
View Full Code Here

                toolWindow.setType(ToolWindowType.DOCKED);
            }
        }

        public void propertyChange(PropertyChangeEvent evt) {
            ToolWindowType type = (ToolWindowType) evt.getNewValue();
            switch (type) {
                case DOCKED:
                    putValue(Action.SMALL_ICON, resourceManager.getIcon(MyDoggyKeySpace.SLIDING));
                    putValue(Action.SHORT_DESCRIPTION, resourceManager.getString("@@tool.tooltip.undock"));
                    setVisible(((SlidingTypeDescriptor) descriptor.getTypeDescriptor(ToolWindowType.SLIDING)).isEnabled());
View Full Code Here

            toolWindow.setActive(true);
            toolWindow.setAutoHide(!toolWindow.isAutoHide());
        }

        public void propertyChange(PropertyChangeEvent evt) {
            ToolWindowType type = (ToolWindowType) evt.getNewValue();
            switch (type) {
                case DOCKED:
                case FLOATING_LIVE:
                    setVisible(true);
                    break;
View Full Code Here

        }

        public void actionPerformed(ActionEvent e) {
            toolWindow.setActive(true);

            ToolWindowType type = toolWindow.getType();
            switch (type) {
                case FLOATING:
                case FLOATING_FREE:
                    toolWindow.setType(oldType != null ? oldType : ToolWindowType.DOCKED);
                    break;
View Full Code Here

                    toolWindow.setType(descriptor.isFloatingWindow() ? ToolWindowType.FLOATING_FREE : ToolWindowType.FLOATING);
            }
        }

        public void propertyChange(PropertyChangeEvent evt) {
            ToolWindowType type = (ToolWindowType) evt.getNewValue();
            switch (type) {
                case DOCKED:
                case FLOATING_LIVE:
                    putValue(Action.SMALL_ICON, resourceManager.getIcon(MyDoggyKeySpace.FLOATING));
                    putValue(Action.SHORT_DESCRIPTION, resourceManager.getString("@@tool.tooltip.float"));
View Full Code Here

            boolean tempVisible = isVisible();
            boolean tempActive = isActive();

            publicEvent = false;

            ToolWindowType oldType;
            try {
                setVisible(false);
                if (tempActive)
                    active = false;
View Full Code Here

TOP

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

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.