Package fr.soleil.data.service

Examples of fr.soleil.data.service.CompositeKey


        }
        return result;
    }

    public <TI extends IChartViewer, U> boolean connectWidget(TI widget, IKey keyX, IKey keyY) {
        CompositeKey compKey = new CompositeKey();
        compKey.addKey(CompositeKey.X_INDEX, keyX);
        compKey.addKey(CompositeKey.Y_INDEX, keyY);
        return connectWidget(widget, compKey);
    }
View Full Code Here


            IKey yKey) {
        return connectWidget(widget, createDualKey(xKey, yKey));
    }

    public static IKey createDualKey(IKey xKey, IKey yKey) {
        CompositeKey compKey = new CompositeKey();
        compKey.addKey(CompositeKey.X_INDEX, xKey);
        compKey.addKey(CompositeKey.Y_INDEX, yKey);
        return compKey;
    }
View Full Code Here

     * @param xKey The {@link IKey} that identifies the X data source
     * @param yKey The {@link IKey} that identifies the Y data source
     * @return Whether the widget was successfully connected
     */
    public <TI extends IChartViewer, U> boolean connectWidgetDual(TI widget, IKey xKey, IKey yKey) {
        CompositeKey compKey = new CompositeKey();
        compKey.addKey(CompositeKey.X_INDEX, xKey);
        compKey.addKey(CompositeKey.Y_INDEX, yKey);
        return connectWidget(widget, compKey);
    }
View Full Code Here

     * @param yKey The {@link IKey} that identifies the Y data source
     * @return Whether the widget was successfully connected
     */
    public <TI extends IDataArrayTarget, U> boolean connectWidgetDual(TI widget, IKey xKey,
            IKey yKey) {
        CompositeKey compKey = new CompositeKey();
        compKey.addKey(CompositeKey.X_INDEX, xKey);
        compKey.addKey(CompositeKey.Y_INDEX, yKey);
        return connectWidget(widget, compKey);
    }
View Full Code Here

            IKey yKey) {
        return connectWidget(widget, createDualKey(xKey, yKey));
    }

    public static IKey createDualKey(IKey xKey, IKey yKey) {
        CompositeKey compKey = new CompositeKey();
        compKey.addKey(CompositeKey.X_INDEX, xKey);
        compKey.addKey(CompositeKey.Y_INDEX, yKey);
        return compKey;
    }
View Full Code Here

        return controller;
    }

  public <TI extends IChartViewer, U> boolean connectWidget(TI widget, IKey keyX, IKey keyY) {
    CompositeKey compKey = new CompositeKey();
    compKey.addKey(CompositeKey.X_INDEX, keyX);
    compKey.addKey(CompositeKey.Y_INDEX, keyY);
    return connectWidget(widget, compKey);
  }
View Full Code Here

                TangoKeyTool.registerAttribute(keyX, xAttr);

                TangoKey keyY = new TangoKey();
                TangoKeyTool.registerAttribute(keyY, yAttr);

                CompositeKey compKey = new CompositeKey();
                compKey.addKey(CompositeKey.X_INDEX, keyX);
                compKey.addKey(CompositeKey.Y_INDEX, keyY);

                result.add(compKey);
            }
        }
View Full Code Here

        return controller;
    }

  public <TI extends IChartViewer, U> boolean connectWidget(TI widget, IKey keyX, IKey keyY) {
    CompositeKey compKey = new CompositeKey();
    compKey.addKey(CompositeKey.X_INDEX, keyX);
    compKey.addKey(CompositeKey.Y_INDEX, keyY);
    return connectWidget(widget, compKey);
  }
View Full Code Here

    public <TI extends IDataArrayTarget, U> boolean connectWidgetDual(TI widget, IKey xKey, IKey yKey) {
        return connectWidget(widget, createDualKey(xKey, yKey));
    }

    public static IKey createDualKey(IKey xKey, IKey yKey) {
        CompositeKey compKey = new CompositeKey();
        compKey.addKey(CompositeKey.X_INDEX, xKey);
        compKey.addKey(CompositeKey.Y_INDEX, yKey);
        return compKey;
    }
View Full Code Here

                TangoKeyTool.registerAttribute(keyX, xAttr);

                TangoKey keyY = new TangoKey();
                TangoKeyTool.registerAttribute(keyY, yAttr);

                CompositeKey compKey = new CompositeKey();
                compKey.addKey(CompositeKey.X_INDEX, keyX);
                compKey.addKey(CompositeKey.Y_INDEX, keyY);

                result.add(compKey);
            }
        }
View Full Code Here

TOP

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

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.