Package fr.soleil.data.service

Examples of fr.soleil.data.service.IKey


        return result;
    }

    private void initConnections() {

        IKey currentKey = currentKeyGenerator.getBooleanScalarKey();

        booleanBox.reconnectWidget(checkBox, currentKey);
        booleanBox.reconnectWidget(booleanIconButton, currentKey);
        stringBox.reconnectWidget(booleanComboBox, currentKey);
View Full Code Here


    }

    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

                List<ConnectionParameters> toRemove = new ArrayList<ConnectionParameters>();
                for (ConnectionParameters params : badConnectionParameters) {
                    @SuppressWarnings("unchecked")
                    AbstractCometeBox<ITarget> box = (AbstractCometeBox<ITarget>) params.getBox();
                    ITarget widget = params.getWidget();
                    IKey key = params.getKey();
                    if (interruptedReconnection) {
                        break;
                    }
                    if (box.connectWidget(widget, key, false, params.isPlugins())) {
                        toRemove.add(params);
View Full Code Here

    }

    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

    }

    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

    }

    @Override
    protected void refreshGUI() {
        if (model != null && !model.isEmpty()) {
            IKey currentConfig = generateAttributeKey("currentConfig");
            stringBox.connectWidget(currentConfigViewer, currentConfig);

            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(getModel());
            if (proxy != null) {
                try {
View Full Code Here

    }

    @Override
    protected void refreshGUI() {
        if (model != null && !model.isEmpty()) {
            IKey currentConfig = generateAttributeKey("currentConfig");
            stringBox.connectWidget(currentConfigViewer, currentConfig);

            DeviceProxy proxy = TangoDeviceHelper.getDeviceProxy(getModel());
            if (proxy != null) {
                try {
View Full Code Here

        projectDirectoryDialogModel.setDefaultModel(generateCommandKey(getModel(), SET_DEFAULT_ROOT_DIRECTORY_CMD));
    }

    public void updateFileNameDialogModel(FileNameDialogModel fileNameDialogModel) {

        IKey fileNameKey = generateAttributeKey(getModel(), FILE_NAME_ATTR);
        fileNameDialogModel.setApplyModel(fileNameKey);
        fileNameDialogModel.setValueModel(fileNameKey);
        fileNameKey = null;
        fileNameDialogModel.setWriteValueModel(generateWriteAttributeKey(getModel(), FILE_NAME_ATTR));
        fileNameDialogModel.setDefaultModel(generateCommandKey(getModel(), SET_DEFAULT_FILE_NAME_CMD));
View Full Code Here

        fileNameDialogModel.setSymbolListModel(symbols);
    }

    public void updateSubDirectoryDialogModel(SubDirectoryDialogModel subDirectoryDialogModel) {

        IKey subDirectoryKey = generateAttributeKey(getModel(), SUB_DIRECTORY_ATTR);
        subDirectoryDialogModel.setApplyModel(subDirectoryKey);
        subDirectoryDialogModel.setValueModel(subDirectoryKey);
        subDirectoryKey = null;
        subDirectoryDialogModel.setWriteValueModel(generateWriteAttributeKey(getModel(), SUB_DIRECTORY_ATTR));
        subDirectoryDialogModel.setDefaultModel(generateCommandKey(getModel(), SET_DEFAULT_SUB_DIRECTORY_CMD));
View Full Code Here

    }

    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

Related Classes of fr.soleil.data.service.IKey

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.