Examples of switchDAOFactory()


Examples of fr.soleil.comete.widget.ChartViewer.switchDAOFactory()

            case SPECTRUM:
              icon = ICONS.getIcon("NodeSpectrum");

              ChartViewer chart = new ChartViewer();
              chart.switchDAOFactory(DummyDAOFactory.class.getName());
              try {
                IArray data = di.getData();

                if (data.getElementType().equals(double.class)
                    || data.getElementType().equals(float.class)) {
View Full Code Here

Examples of fr.soleil.comete.widget.ImageViewer.switchDAOFactory()

            case IMAGE:
              icon = ICONS.getIcon("NodeImage");

              ImageViewer imageViewer = new ImageViewer();
              imageViewer.switchDAOFactory(DummyDAOFactory.class.getName());
              try {
                IArray data = di.getData();

                // int length = (int) data.getSize();
                int[] shape = data.getShape();
View Full Code Here

Examples of fr.soleil.comete.widget.ImageViewer.switchDAOFactory()

        synchronized (imageViewerMap) {
            while (imageViewerIterator.hasNext()) {
                imageViewer = imageViewerIterator.next();
                if (imageViewer != null) {
                    imageViewer.switchDAOFactory(CurrentScanDataModel.TANGO_FACTORY_CLASS);
                }
            }
        }

    }
View Full Code Here

Examples of fr.soleil.comete.widget.ImageViewer.switchDAOFactory()

        synchronized (imageViewerMap) {
            while (imageViewerIterator.hasNext()) {
                imageViewer = imageViewerIterator.next();
                if (imageViewer != null) {
                    imageViewer.switchDAOFactory(CurrentScanDataModel.TANGO_FACTORY_CLASS);
                }
            }
        }

    }
View Full Code Here

Examples of fr.soleil.comete.widget.ImageViewer.switchDAOFactory()

        synchronized (imageViewerMap) {
            while (imageViewerIterator.hasNext()) {
                imageViewer = imageViewerIterator.next();
                if (imageViewer != null) {
                    imageViewer.switchDAOFactory(CurrentScanDataModel.TANGO_FACTORY_CLASS);
                }
            }
        }

    }
View Full Code Here

Examples of fr.soleil.comete.widget.Label.switchDAOFactory()

          switch (nodeDataType) {
            case SCALAR:
              icon = ICONS.getIcon("NodeScalar");

              Label textLabel = new Label();
              textLabel.switchDAOFactory(DummyDAOFactory.class.getName());
              try {
                IArray data = di.getData();
                // instead we could use getIndexIterator and get the first value
                // Index index = data.getIndex();
                // index.set(0);
View Full Code Here

Examples of fr.soleil.comete.widget.Label.switchDAOFactory()

        Collection<Label> labelCollection = labelMap.values();
        Iterator<Label> labelIterator = labelCollection.iterator();

        while (labelIterator.hasNext()) {
            Label label = labelIterator.next();
            label.switchDAOFactory(TangoDAOFactory.class.getName());
        }

        scanDeadTime.switchDAOFactory(TangoDAOFactory.class.getName());
        scanCompletion.switchDAOFactory(TangoDAOFactory.class.getName());
    }
View Full Code Here

Examples of fr.soleil.comete.widget.Label.switchDAOFactory()

        Collection<Label> labelCollection = labelMap.values();
        Iterator<Label> labelIterator = labelCollection.iterator();

        while (labelIterator.hasNext()) {
            Label label = labelIterator.next();
            label.switchDAOFactory(TangoDAOFactory.class.getName());
        }

        scanProgress.switchDAOFactory(TangoDAOFactory.class.getName());
    }
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.