Package org.eclipse.nebula.widgets.nattable.hideshow

Examples of org.eclipse.nebula.widgets.nattable.hideshow.ColumnHideShowLayer


            columnReorderLayer = new ColumnReorderLayer(glazedListsEventLayer);
            columnGroupReorderLayer = new ColumnGroupReorderLayer(
                    columnReorderLayer,
                    columnGroupModel[columnGroupModel.length - 1]);
            columnHideShowLayer = new ColumnHideShowLayer(
                    columnGroupReorderLayer);
            columnGroupExpandCollapseLayer = new ColumnGroupExpandCollapseLayer(
                    columnHideShowLayer, columnGroupModel);
            selectionLayer = new SelectionLayer(columnGroupExpandCollapseLayer);
            viewportLayer = new ViewportLayer(selectionLayer);
View Full Code Here


                getStaticPersonList(), propertyNames);
        DataLayer bodyDataLayer = new DataLayer(bodyDataProvider);

        ColumnReorderLayer columnReorderLayer = new ColumnReorderLayer(
                bodyDataLayer);
        ColumnHideShowLayer columnHideShowLayer = new ColumnHideShowLayer(
                columnReorderLayer);

        RowHideShowLayer rowHideShowLayer = new RowHideShowLayer(
                columnHideShowLayer);
        RowGroupModel<Person> rowGroupModel = new RowGroupModel<Person>();
View Full Code Here

    private final SelectionLayer selectionLayer;
    private final ViewportLayer viewportLayer;

    public SelectionExampleBodyLayerStack(IUniqueIndexLayer underlyingLayer) {
        columnReorderLayer = new ColumnReorderLayer(underlyingLayer);
        columnHideShowLayer = new ColumnHideShowLayer(columnReorderLayer);

        // No autoconfig on selection layer
        selectionLayer = new SelectionLayer(columnHideShowLayer, false);

        viewportLayer = new ViewportLayer(selectionLayer);
View Full Code Here

            GlazedListsEventLayer<T> glazedListsEventLayer = new GlazedListsEventLayer<T>(
                    bodyDataLayer, filterList);

            ColumnReorderLayer columnReorderLayer = new ColumnReorderLayer(
                    glazedListsEventLayer);
            ColumnHideShowLayer columnHideShowLayer = new ColumnHideShowLayer(
                    columnReorderLayer);
            this.selectionLayer = new SelectionLayer(columnHideShowLayer);

            // add a tree layer to visualise the grouping
            TreeLayer treeLayer = new TreeLayer(selectionLayer,
View Full Code Here

                    configRegistry, false);
            summaryRowLayer
                    .addConfiguration(new CalculatingSummaryRowConfiguration(
                            bodyDataLayer.getDataProvider()));
            columnReorderLayer = new ColumnReorderLayer(summaryRowLayer);
            columnHideShowLayer = new ColumnHideShowLayer(columnReorderLayer);
            selectionLayer = new SelectionLayer(columnHideShowLayer);
            viewportLayer = new ViewportLayer(selectionLayer);
            setUnderlyingLayer(viewportLayer);

            registerCommandHandler(new CopyDataCommandHandler(selectionLayer));
View Full Code Here

        dataLayer = new DataLayer(dataProvider);
        summaryRowLayer = new SummaryRowLayer(dataLayer, configRegistry);
        IUniqueIndexLayer columnReorderLayer = new ColumnReorderLayer(
                summaryRowLayer);
        IUniqueIndexLayer columnHideShowLayer = new ColumnHideShowLayer(
                columnReorderLayer);
        IUniqueIndexLayer selectionLayer = new SelectionLayer(
                columnHideShowLayer);
        layerStackWithSummary = new ViewportLayer(selectionLayer);
View Full Code Here

                false);
        summaryRowLayer
                .addConfiguration(new ExampleSummaryRowGridConfiguration(
                        bodyDataLayer.getDataProvider()));
        columnReorderLayer = new ColumnReorderLayer(summaryRowLayer);
        columnHideShowLayer = new ColumnHideShowLayer(columnReorderLayer);
        selectionLayer = new SelectionLayer(columnHideShowLayer);
        viewportLayer = new ViewportLayer(selectionLayer);
        setUnderlyingLayer(viewportLayer);

        registerCommandHandler(new CopyDataCommandHandler(selectionLayer));
View Full Code Here

                "0:0;100 | 1:1;100 | 2:2;100 | 3:3;100",
                "0:0;40  | 1:1;40  | 2:2;40  | 3:3;40", "A0 | B0 | C0 | D0 \n"
                        + "A1 | B1 | C1 | D1 \n" + "A2 | B2 | C2 | D2 \n"
                        + "A3 | B3 | C3 | D3 \n");

        hideShowLayer = new ColumnHideShowLayer(dataLayer);
    }
View Full Code Here

                "0:0;40  | 1:1;40  | 2:2;40  | 3:3;40", "A0 | B0 | C0 | D0 \n"
                        + "A1 | B1 | C1 | D1 \n" + "A2 | B2 | C2 | D2 \n"
                        + "A3 | B3 | C3 | D3 \n");

        reorderLayer = new ColumnReorderLayer(dataLayer);
        hideShowLayer = new ColumnHideShowLayer(reorderLayer);
        selectionLayer = new SelectionLayer(hideShowLayer);
        viewportLayer = new ViewportLayer(selectionLayer);
        freezeLayer = new FreezeLayer(selectionLayer);

        compositeFreezeLayer = new CompositeFreezeLayer(freezeLayer,
View Full Code Here

        public SummaryRowBodyLayerStack(
                IDataProvider dataProvider, ConfigRegistry configRegistry, boolean summaryRowOnTop) {
            this.bodyDataLayer = new DataLayer(dataProvider);

            this.columnReorderLayer = new ColumnReorderLayer(this.bodyDataLayer);
            this.columnHideShowLayer = new ColumnHideShowLayer(this.columnReorderLayer);
            this.selectionLayer = new SelectionLayer(this.columnHideShowLayer);
            this.viewportLayer = new ViewportLayer(this.selectionLayer);

            if (summaryRowOnTop) {
                // create a standalone SummaryRowLayer
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.hideshow.ColumnHideShowLayer

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.