Package com.cburch.logisim.tools

Examples of com.cburch.logisim.tools.Library


    @Override
    public void deleteRequested(ProjectExplorerEvent event) {
        Object request = event.getTarget();
        if (request instanceof ProjectExplorerLibraryNode) {
            Library lib = ((ProjectExplorerLibraryNode) request).getValue();
            ProjectLibraryActions.doUnloadLibrary(proj, lib);
        } else if (request instanceof ProjectExplorerToolNode) {
            Tool tool = ((ProjectExplorerToolNode) request).getValue();
            if (tool instanceof AddTool) {
                ComponentFactory factory = ((AddTool) tool).getFactory();
View Full Code Here


                }
            } else {
                return null;
            }
        } else if (clicked instanceof ProjectExplorerLibraryNode) {
            Library lib = ((ProjectExplorerLibraryNode) clicked).getValue();
            if (lib == proj.getLogisimFile()) {
                return Popups.forProject(proj);
            } else {
                boolean is_top = event.getTreePath().getPathCount() <= 2;
                return Popups.forLibrary(proj, lib, is_top);
View Full Code Here

TOP

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

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.