Examples of IKey


Examples of fr.soleil.data.service.IKey

    protected HistoryKey getKey() {
        HistoryKey key = null;
        String producerId = (String) sourceProducerList.getSelectedValue();
        IKeyGenerator keyGen = keyGeneratorMap.get(producerId);
        if (keyGen != null) {
            IKey tmp;
            switch (dataTypeList.getSelectedIndex()) {
                case 0:
                    tmp = keyGen.getNumberScalarKey();
                    break;
                case 1:
View Full Code Here

Examples of fr.soleil.data.service.IKey

                   
            @SuppressWarnings("unchecked")
            AbstractCometeBox<ITarget> box = (AbstractCometeBox<ITarget>) params
                .getBox();
            ITarget widget = params.getWidget();
            IKey key = params.getKey();

            if (box.connectWidget(widget, key, false)) {
              if (widget instanceof IComponent){
                IComponent iComponent = (IComponent) widget;
                iComponent.setEnabled(params.isEnabled())
View Full Code Here

Examples of fr.soleil.data.service.IKey

        //
        // chartBox.connectWidgetDual(viewer, keyX, keyY3);
        // chartBox.connectWidget(viewer, keyY3);
        // chartBox.connectWidget(viewer, keyY4);

        IKey dualKey = ChartViewerBox.createDualKey(keyY4, keyY5);
        chartBox.connectWidget(viewer, dualKey);
        chartBox.setSplitMatrixThroughColumns(dualKey, true);
        viewer.setDataViewMarkerStyle(keyY5.getInformationKey(), IChartViewer.MARKER_BOX);

    }
View Full Code Here

Examples of fr.soleil.data.service.IKey

        final JPanel panel = new JPanel(new BorderLayout());

        SimulatedKeyGenerator generator = new SimulatedKeyGenerator();

        for (int i = 0; i < 7; ++i) {
            IKey key = null;
            if (i == 0) {
                key = generator.getBooleanMatrixKey();
            }
            if (i == 1) {
                key = generator.getBooleanScalarKey();
View Full Code Here

Examples of fr.soleil.data.service.IKey

     * Initializes the {@link IKey} to access Tango data with expected result type
     *
     * @return A {@link IKey}
     */
    public IKey initKey() {
        IKey key = new TangoKey();
        prepareTangoTarget(key);
        return key;
    }
View Full Code Here

Examples of fr.soleil.data.service.IKey

    }

    protected void initQualityLink(IKey key) {
        if (qualityController != null && key != null) {

            IKey qualityKey = null;
            ColorationLevel colorationLevel = getColorationLevelType();
            if (colorationLevel != null) {
                switch (colorationLevel) {
                    case ATTRIBUTE_QUALITY:
                        qualityKey = new TangoKey();
View Full Code Here

Examples of fr.soleil.data.service.IKey

            setSource(null);
        }
    }

    protected void doInit() {
        IKey key = initKey();
        initSource(key);
        initQualityLink(key);
        setRefreshingStrategy(RefreshingStrategy.GROUPED_BY_REFRESHING_PERIOD);
        updateRefreshingStrategy();
        updateToolTip(key);
View Full Code Here

Examples of fr.soleil.data.service.IKey

    }

    protected String printDataSource(final AbstractDataSource<?> source) {
        final StringBuilder result = new StringBuilder();
        result.append(source.getClass().getSimpleName() + "-" + source.hashCode());
        final IKey key = source.getOriginDescriptor();
        if (key != null) {
            result.append("(");
            result.append(key.getInformationKey());
            result.append(")");
            result.append("\n\t");
        }
        return result.toString();
    }
View Full Code Here

Examples of fr.soleil.data.service.IKey

    }

    protected String printDataSource(final AbstractDataSource<?> source) {
        final StringBuilder result = new StringBuilder();
        result.append(source.getClass().getSimpleName() + "-" + source.hashCode());
        final IKey key = source.getOriginDescriptor();
        if (key != null) {
            result.append("(");
            result.append(key.getInformationKey());
            result.append(")");
            result.append("\n\t");
        }
        return result.toString();
    }
View Full Code Here

Examples of fr.soleil.data.service.IKey

    }

    protected String printDataSource(final AbstractDataSource<?> source) {
        final StringBuilder result = new StringBuilder();
        result.append(source.getClass().getSimpleName() + "-" + source.hashCode());
        final IKey key = source.getOriginDescriptor();
        if (key != null) {
            result.append("(");
            result.append(key.getInformationKey());
            result.append(")");
            result.append("\n\t");
        }
        return result.toString();
    }
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.