Package open.dolphin.order

Examples of open.dolphin.order.StampEditorDialog


        //
        logger.debug("launch stampEditor = " + entity);
        ModuleModel stamp = new ModuleModel();
        stamp.setModuleInfo(stampInfo);

        StampEditorDialog stampEditor = new StampEditorDialog(entity, stamp);
        stampEditor.addPropertyChangeListener(StampEditorDialog.VALUE_PROP, this);
        stampEditor.start();
        logger.debug("stampEditor started");
    }
View Full Code Here


    @Override
    public void edit() {
       
        if (kartePane.getTextPane().isEditable() && this.isEditable()) {
            String category = stamp.getModuleInfo().getEntity();
            StampEditorDialog stampEditor = new StampEditorDialog(category, stamp);
            stampEditor.addPropertyChangeListener(StampEditorDialog.VALUE_PROP, this);
            stampEditor.start();
            // 二重起動の禁止 - エディタから戻ったら propertyChange で解除する
            //kartePane.getTextPane().setEditable(false); // こうすると,なぜか focus が次の component にうつってしまう
            this.setEditable(false);
        } else {
            Toolkit.getDefaultToolkit().beep();
View Full Code Here

        // editor 起動後,なぜかすぐに diagTable にフォーカス取られてしまう不具合の workaround
        diagTable.setFocusable(false);
        // editor が立ち上がっている間は ウインドウを閉じられないようにする
        getContext().enabledAction(GUIConst.ACTION_CLOSE, false);

        StampEditorDialog stampEditor = new StampEditorDialog("diagnosis", rd);

        // 編集終了、値の受け取りにこのオブジェクトを設定する
        stampEditor.addPropertyChangeListener(StampEditorDialog.VALUE_PROP, this);
        stampEditor.start();
    }
View Full Code Here

TOP

Related Classes of open.dolphin.order.StampEditorDialog

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.