Package fr.soleil.comete.definition.data.adapter

Examples of fr.soleil.comete.definition.data.adapter.DataArrayAdapter


    /**
     * @return the splitMatrixThroughColumns
     */
    public boolean isSplitMatrixThroughColumns(IKey key) {
        boolean splitMatrixThroughColumns = false;
        DataArrayAdapter adapter = getDataArrayAdapter(key);
        if (adapter != null) {
            splitMatrixThroughColumns = adapter.isSplitMatrixThroughColumns();
        }
        return splitMatrixThroughColumns;
    }
View Full Code Here


    /**
     * @param splitMatrixThroughColumns the splitMatrixThroughColumns to set
     */
    public void setSplitMatrixThroughColumns(IKey key, boolean splitMatrixThroughColumns) {
        DataArrayAdapter adapter = getDataArrayAdapter(key);
        if ((adapter != null)
                && (splitMatrixThroughColumns != adapter.isSplitMatrixThroughColumns())) {
            adapter.setSplitMatrixThroughColumns(splitMatrixThroughColumns);
            AbstractDataSource<Object> source = getSource(key);
            if (source != null) {
                AbstractController<Object> controller = getController(source.getDataType(),
                        getTargetType());
                if (controller != null) {
View Full Code Here

     *
     * @param key The {@link IKey} that identifies the source
     * @return A {@link DataArrayAdapter}
     */
    public DataArrayAdapter getDataArrayAdapter(IKey key) {
        DataArrayAdapter adapter = null;
        if (key != null) {
            AbstractDataSource<Object> source = getSource(key);
            ChartViewerController chartViewerController = getPreparedChartViewerController(source);
            if (chartViewerController != null) {
                DataSourceAdapter<Object, Map<String, Object>> tmp = chartViewerController
View Full Code Here

TOP

Related Classes of fr.soleil.comete.definition.data.adapter.DataArrayAdapter

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.