Package com.cburch.logisim.tools

Examples of com.cburch.logisim.tools.Tool


        @Override
        public void doubleClicked(ProjectExplorerEvent event) {
            Object target = event.getTarget();
            if (target instanceof ProjectExplorerToolNode) {
                Tool tool = ((ProjectExplorerToolNode) target).getValue();
                doAddTool(tool);
            }
        }
View Full Code Here


        public Component getListCellRendererComponent(JList list, Object value,
                int index, boolean isSelected, boolean cellHasFocus) {
            Component ret;
            Icon icon;
            if (value instanceof Tool) {
                Tool t = (Tool) value;
                ret = super.getListCellRendererComponent(list, t.getDisplayName(),
                        index, isSelected, cellHasFocus);
                icon = new ToolIcon(t);
            } else if (value == null) {
                ret = super.getListCellRendererComponent(list, "---",
                        index, isSelected, cellHasFocus);
View Full Code Here

TOP

Related Classes of com.cburch.logisim.tools.Tool

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.