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

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


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

        // this is the status key
        statusKey = new TangoKey();
        TangoKeyTool.registerAttribute(statusKey, getDeviceName(), "Status");
    }
View Full Code Here


    /**
     * init the tango key on attribute (read part). This method can be overriden
     * to register another type of key (ie attribute write part, command, etc.)
     */
    protected void initKey() {
        key = new TangoKey();
        TangoKeyTool.registerAttribute(key, tangoHelper.getDeviceName(), tangoHelper.getEntityName());
    }
View Full Code Here

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

        // this is the status key
        statusKey = new TangoKey();
        TangoKeyTool.registerAttribute(statusKey, getDeviceName(), "Status");
    }
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

    /**
     * init the tango key on attribute (read part). This method can be override to register another
     * type of key(ie attribute write part)
     */
    protected void initKey() {
        key = new TangoKey();
        TangoKeyTool.registerAttribute(key, tangoHelper.getDeviceName(),
                tangoHelper.getEntityName());
    }
View Full Code Here

    /**
     * init the tango key on attribute (read part). This method can be override to register another
     * type of key(ie attribute write part)
     */
    protected void initKey() {
        key = new TangoKey();
        TangoKeyTool.registerAttribute(key, tangoHelper.getDeviceName(),
                tangoHelper.getEntityName());
    }
View Full Code Here

    public static final String DEFAULT_CONFIRMATION_TITLE = "Confirmation";
    public static final String DEFAULT_CONFIRMATION_TEXT = "Voulez-vous ex�cuter la commande ?";

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

    protected void initKey() {
        if (displayReadValue) {
            super.initKey();// display read part
        }
        else {
            key = new TangoKey();
            TangoKeyTool.registerWriteAttribute(key, tangoHelper.getDeviceName(),
                    tangoHelper.getEntityName());
        }
    }
View Full Code Here

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

            boolean connected;
            for (final String element : attributeNameList) {
                final TangoKey aKey = new TangoKey();
                TangoKeyTool.registerAttribute(aKey, element);

                connected = ((ChartViewerBox) mybox).connectWidget(widget, aKey);

                if (!connected) {
View Full Code Here

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

      boolean connected;
      for (int i = 0; i < xAttributeNameList.length; i++) {
        final TangoKey xKey = new TangoKey();
        final TangoKey yKey = new TangoKey();

        TangoKeyTool.registerAttribute(xKey, xAttributeNameList[i]);
        TangoKeyTool.registerAttribute(yKey, yAttributeNameList[i]);
        connected = ((ChartViewerBox) mybox).connectWidgetDual(((IChartViewer)widget),
            xKey, yKey);

        if (this.displayAttributeLabel) {
          // Affichage du label
          String dataViewId = yKey.getInformationKey();
          String displayName = TangoAttributeHelper.getLabel(
              TangoKeyTool.getDeviceName(yKey),
              TangoKeyTool.getAttributeName(yKey));
          ((IChartViewer)widget).setDataViewDisplayName(dataViewId, displayName);
        }
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.