Examples of IKey


Examples of com.beust.jcommander.FuzzyMap.IKey

    //Note: Name clash check is intentionally omitted to resemble the
    //     original behaviour of clashing commands.
    //     Aliases are, however, are strictly checked for name clashes.
    aliasMap.put(new StringKey(name), progName);
    for (String a : aliases) {
      IKey alias = new StringKey(a);
      //omit pointless aliases to avoid name clash exception
      if (!alias.equals(name)) {
        ProgramName mappedName = aliasMap.get(alias);
        if (mappedName != null && !mappedName.equals(progName)) {
          throw new ParameterException("Cannot set alias " + alias
                  + " for " + name
                  + " command because it has already been defined for "
View Full Code Here

Examples of fr.soleil.data.service.IKey

                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())) {
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 (interruptedReconnection) {
                            break;
                        }
                        if (box.connectWidget(widget, key, false, params.isPlugins())) {
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

                        @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())) {
View Full Code Here

Examples of fr.soleil.data.service.IKey

    }

    protected String printDataSource(AbstractDataSource<?> source) {
        StringBuilder result = new StringBuilder();
        result.append(source.getClass().getSimpleName() + "-" + source.hashCode());
        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

                        ConnectionParameters params = iterator.next();

                        @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())) {
View Full Code Here

Examples of fr.soleil.data.service.IKey

                    result.append(targetListener.getClass().getSimpleName() + "-"
                            + targetListener.hashCode());
                }
            }

            IKey key = cometeListenerRelations.get(target);

            if (key != null && !listenableTargetMap.isEmpty()) {

                result.append(", ");
                ListenableTarget<?> sourceListener = listenableTargetMap.get(key);
                if (sourceListener != null) {
                    result.append(sourceListener.getClass().getSimpleName() + "-"
                            + sourceListener.hashCode());
                }

                result.append("\n\tbetween : ");
                result.append(target.getClass().getSimpleName() + "-" + target.hashCode());
                result.append(" <=> ");
                result.append(key.getInformationKey());
            }
            result.append("\n");
        }
        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.