Package com.lightcrafts.ui.editor

Examples of com.lightcrafts.ui.editor.RegionManager.unShareShapes()


        cutItem.addActionListener(
            new ActionListener() {
                public void actionPerformed(ActionEvent event) {
                    RegionManager regions = (RegionManager) get("regions");
                    CurveIterator selection = (CurveIterator) get("selection");
                    regions.unShareShapes(selection);
                    put("clipboard", selection);
                    updatePasteEnabled();
                }
            }
        );
View Full Code Here


        deleteItem.addActionListener(
            new ActionListener() {
                public void actionPerformed(ActionEvent event) {
                    RegionManager regions = (RegionManager) get("regions");
                    CurveIterator selection = (CurveIterator) get("selection");
                    regions.unShareShapes(selection);
                }
            }
        );

        // Sync up menu items with the actual settings when the menu shows,
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.