Package simtools.diagram.undo

Examples of simtools.diagram.undo.UndoHandler


   
    doc=new PlainDocument();
    createTextArea();
    port.add(ui);
   
    undoHandler = new UndoHandler(new UndoManager());
    doc.addUndoableEditListener(undoHandler);
    ui.addCaretListener(this);
    setupActions();

    JMenuBar mb = new JMenuBar();
View Full Code Here


        _popup=null;
        _action=null;

        _listenerList = new EventListenerList();
        _undoManager = new UndoManager();
        _undoHandler = new UndoHandler(_undoManager);
        _compoundEdit = new CompoundEdit();

        setDiagramSize(_param.width, _param.height);

        addKeyListener(this);
View Full Code Here

    public Tree(UniversePool pool,Java3dPlugin plugin) {
        _pool = pool;
        _plugin=plugin;
        _clipBoard=new ClipBoard();
        _undoManager = new UndoManager();
        _undoHandler = new UndoHandler(_undoManager);

        _rootNode = new RootNode(this, null, false);
        _treeModel = new DefaultTreeModel(_rootNode);
        setModel(_treeModel);
        setCellRenderer(new TreeCellRenderer());
View Full Code Here

TOP

Related Classes of simtools.diagram.undo.UndoHandler

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.