Package net.sourceforge.processdash.tool.export.mgr

Examples of net.sourceforge.processdash.tool.export.mgr.AbstractInstruction


    public void add() {
        wizard.goForward(getAddPanel());
    }

    public void edit(int row) {
        AbstractInstruction instr = manager.getInstruction(row);
        if (instr != null)
            wizard.goForward(getEditPanel(instr));
    }
View Full Code Here


        if (instr != null)
            wizard.goForward(getEditPanel(instr));
    }

    public void delete(int row) {
        AbstractInstruction instr = manager.getInstruction(row);
        if (instr == null)
            return;

        if (JOptionPane.YES_OPTION != JOptionPane.showConfirmDialog(this,
                getString("Confirm_Delete.Message"),
View Full Code Here

        manager.deleteInstruction(instr);
    }

    public void toggleEnabled(int row) {
        AbstractInstruction instr = manager.getInstruction(row);
        if (instr == null)
            return;

        if (instr.isEnabled()) {
            if (JOptionPane.YES_OPTION != JOptionPane.showConfirmDialog(this,
                    getString("Confirm_Disable.Message"),
                    getString("Confirm_Disable.Title"),
                    JOptionPane.YES_NO_OPTION))
                return;
        }

        AbstractInstruction newInstr = (AbstractInstruction) instr.clone();
        newInstr.setEnabled(!instr.isEnabled());
        manager.changeInstruction(instr, newInstr);
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.processdash.tool.export.mgr.AbstractInstruction

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.