Package fr.soleil.comete.tango.data.service

Examples of fr.soleil.comete.tango.data.service.TangoKey


    }

    @Override
    protected void initKey() {

        keyRead = new TangoKey();
        TangoKeyTool.registerAttribute(keyRead, getDeviceName(), getAttributeName());
        TangoKeyTool.registerSettable(keyRead, false);

        keyWrite = new TangoKey();
        TangoKeyTool.registerWriteAttribute(keyWrite, getDeviceName(), getAttributeName());
        if (!setterEnabled) {
            TangoKeyTool.registerSettable(keyWrite, false);
        }
View Full Code Here


    protected void initKey() {
        // init commandStart key
        super.initKey();

        // init commandStop key
        keyStop = new TangoKey();
        TangoKeyTool.registerCommand(keyStop, tangoHelper.getDeviceName(), commandNameStop);
    }
View Full Code Here

        }
    }

    private void connectNewTangoAttribute(String tangoName) {

        TangoKey key = new TangoKey();
        TangoKeyTool.registerAttribute(key, tangoName);

        connectToSelectedPane(key);
    }
View Full Code Here

        IImageViewer viewer = new ImageViewer();

        ImageViewerBox imageBox = new ImageViewerBox();

        TangoKey key = new TangoKey();
        TangoKeyTool.registerAttribute(key, "tango/tangotest/titan", "double_image_ro");

        imageBox.connectWidget(viewer, key);

        return viewer;
View Full Code Here

    @Override
    protected void initKey() {
        super.initKey();

        // init attribute quality key
        qualityKey = new TangoKey();
        TangoKeyTool.registerAttributeQuality(qualityKey, getDeviceName(), getAttributeName());
    }
View Full Code Here

    protected void initKey() {
        // init commandStart key
        super.initKey();

        // init commandStop key
        keyStop = new TangoKey();
        TangoKeyTool.registerCommand(keyStop, getDeviceName(), commandNameStop);
    }
View Full Code Here

    @Override
    protected void initKey() {
        super.initKey();

        // init attribute quality key
        qualityKey = new TangoKey();
        TangoKeyTool.registerAttributeQuality(qualityKey, getDeviceName(), getAttributeName());
    }
View Full Code Here

        return new StringMatrixBox();
    }

    @Override
    protected void initKey() {
        key = new TangoKey();
        TangoKeyTool.registerCommandDeviceList(key, tangoHelper.getDeviceName());
    }
View Full Code Here

        if ((canInitDAO() && (widget != null))) {

            clearDAO();

            key = new TangoKey();
            TangoKeyTool.registerAttribute(key, tangoHelper.getDeviceName(), tangoHelper
                    .getEntityName());
            mybox.connectWidget(widget, key);
        }
    }
View Full Code Here

    private static JPanel initPanel() {
        final JPanel panel = new JPanel(new BorderLayout());

        StringScalarBox stringBox = new StringScalarBox();

        TangoKey key = new TangoKey();
        TangoKeyTool.registerAttribute(key, "tango/tangotest/titan", "string_scalar");

        TangoKey otherKey = new TangoKey();
        TangoKeyTool.registerSettable(otherKey, false);
        TangoKeyTool.registerAttribute(otherKey, "tango/tangotest/titan", "string_scalar");

        TextField textfield = stringBox.createAdvancedWidget(TextField.class, key);
        TextArea textArea = stringBox.createAdvancedWidget(TextArea.class, otherKey);
View Full Code Here

TOP

Related Classes of fr.soleil.comete.tango.data.service.TangoKey

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.