Examples of connectWidget()


Examples of fr.soleil.comete.box.matrixbox.NumberMatrixBox.connectWidget()

        NumberMatrixBox numberMBox = new NumberMatrixBox();

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

        numberMBox.connectWidget(table, key);

        return table;
    }

    // private static AbstractTable<?> createStringMatrix() {
View Full Code Here

Examples of fr.soleil.comete.box.matrixbox.NumberMatrixBox.connectWidget()

        if (simpleCase) {
            //CometeBox construction
            NumberMatrixBox numberMatrixBox = new NumberMatrixBox();

            numberMatrixBox.connectWidget(imageViewer, imageKey);
        } else {
            //Application id
            imageViewer.setApplicationId("ImageViewerBox_Viewer_" + applicationIdNumber);
            applicationIdNumber++;
View Full Code Here

Examples of fr.soleil.comete.box.matrixbox.NumberMatrixBox.connectWidget()

        NumberMatrixBox imageBox = new NumberMatrixBox();

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

        imageBox.connectWidget(viewer, key);

        return viewer;
    }

    // private static IImageViewer createImagePlayer() {
View Full Code Here

Examples of fr.soleil.comete.box.matrixbox.NumberMatrixBox.connectWidget()

        viewer.setAlwaysFitMaxSize(true);
        NumberMatrixBox imageBox = new NumberMatrixBox();

        TangoKey imagekey = new TangoKey();
        TangoKeyTool.registerAttribute(imagekey, deviceName, imageName);
        imageBox.connectWidget(viewer, imagekey);

        // IMAGE ON X
        ArrayPositionConvertor xConvertor = new ArrayPositionConvertor();
        TangoKey xkey = new TangoKey();
        TangoKeyTool.registerAttribute(xkey, deviceName, xAttributeName);
View Full Code Here

Examples of fr.soleil.comete.box.matrixbox.NumberMatrixBox.connectWidget()

        // IMAGE ON X
        ArrayPositionConvertor xConvertor = new ArrayPositionConvertor();
        TangoKey xkey = new TangoKey();
        TangoKeyTool.registerAttribute(xkey, deviceName, xAttributeName);
        imageBox.connectWidget(xConvertor, xkey);

        // SPECTRUM ON Y
        ArrayPositionConvertor yConvertor = new ArrayPositionConvertor();
        TangoKey ykey = new TangoKey();
        TangoKeyTool.registerAttribute(ykey, deviceName, yAttributeName);
View Full Code Here

Examples of fr.soleil.comete.box.matrixbox.NumberMatrixBox.connectWidget()

        // SPECTRUM ON Y
        ArrayPositionConvertor yConvertor = new ArrayPositionConvertor();
        TangoKey ykey = new TangoKey();
        TangoKeyTool.registerAttribute(ykey, deviceName, yAttributeName);
        imageBox.connectWidget(yConvertor, ykey);

        viewer.setXAxisConvertor(xConvertor);
        viewer.setYAxisConvertor(yConvertor);

        return viewer;
View Full Code Here

Examples of fr.soleil.comete.box.matrixbox.StringMatrixBox.connectWidget()

            CDMAKey key = factory.generateKeyGroupList(fileURL.toURI(), new String[] {});

            ITextMatrixTarget target = new BasicStringMatrixTarget();
            StringMatrixBox stringMatrixBox = new StringMatrixBox();

            stringMatrixBox.connectWidget(target, key);

            String[] result = target.getFlatStringMatrix();
            System.out.println("--------------------");
            if (result != null) {
                for (String elem : result) {
View Full Code Here

Examples of fr.soleil.comete.box.matrixbox.StringMatrixBox.connectWidget()

        stringBox.connectWidget(stringCombo, stringScalarWriteKey);
        stringBox.connectWidget(numberLabel, numberScalarKey);
        numberScalarBox.connectWidget(numberCombo, numberScalarWriteKey);
        booleanScalarBox.connectWidget(booleanCombo, booleanScalarWriteKey);
        stringBox.connectWidget(booleanLabel, booleanScalarWriteKey);
        stringMatrixBox.connectWidget(matrixCombo, stringMatrixKey);
        TangoDataSourceFactory factory = (TangoDataSourceFactory) DataSourceProducerProvider
                .getProducerByClassName(TangoDataSourceFactory.class.getName());
        factory.setRefreshingStrategy(stringMatrixKey, null);

        panel.add(stringLabel);
View Full Code Here

Examples of fr.soleil.comete.box.scalarbox.BooleanScalarBox.connectWidget()

        TangoKey booleanScalarROKey = new TangoKey();
        TangoKeyTool.registerAttribute(booleanScalarROKey, "storage/recorder/datarecorder.1", "nxentrypostrecording");

        CheckBox checkboxRW = new CheckBox();
        booleanScalarBox.connectWidget(checkboxRW, booleanScalarRWKey);

        CheckBox checkboxRO = new CheckBox();
        booleanScalarBox.connectWidget(checkboxRO, booleanScalarROKey);

        CheckBox disableCB = new CheckBox();
View Full Code Here

Examples of fr.soleil.comete.box.scalarbox.BooleanScalarBox.connectWidget()

        CheckBox checkboxRW = new CheckBox();
        booleanScalarBox.connectWidget(checkboxRW, booleanScalarRWKey);

        CheckBox checkboxRO = new CheckBox();
        booleanScalarBox.connectWidget(checkboxRO, booleanScalarROKey);

        CheckBox disableCB = new CheckBox();
        booleanScalarBox.connectWidget(disableCB, booleanScalarROKey);
        disableCB.setEnabled(false);
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.