Package org.eclipse.nebula.widgets.nattable.layer.event

Examples of org.eclipse.nebula.widgets.nattable.layer.event.VisualRefreshEvent


                    ILayerEvent layerEvent;
                    if (structuralChangeEventsToProcess) {
                        layerEvent = new RowStructuralRefreshEvent(
                                getUnderlyingLayer());
                    } else {
                        layerEvent = new VisualRefreshEvent(
                                getUnderlyingLayer());
                    }
                    fireEventFromSWTDisplayThread(layerEvent);
                }
                eventsToProcess = false;
View Full Code Here


    public Class<VisualRefreshCommand> getCommandClass() {
        return VisualRefreshCommand.class;
    }

    public boolean doCommand(ILayer targetLayer, VisualRefreshCommand command) {
        targetLayer.fireLayerEvent(new VisualRefreshEvent(targetLayer));
        return true;
    }
View Full Code Here

    @Override
    protected boolean doCommand(UngroupByColumnIndexCommand command) {
        int columnIndex = command.getGroupByColumnIndex();
        if (groupByHeaderLayer.getGroupByModel().removeGroupByColumnIndex(
                columnIndex)) {
            groupByHeaderLayer.fireLayerEvent(new VisualRefreshEvent(
                    groupByHeaderLayer));
        }
        return true;
    }
View Full Code Here

    @Override
    protected boolean doCommand(GroupByColumnIndexCommand command) {
        int columnIndex = command.getGroupByColumnIndex();
        if (groupByHeaderLayer.getGroupByModel().addGroupByColumnIndex(
                columnIndex)) {
            groupByHeaderLayer.fireLayerEvent(new VisualRefreshEvent(
                    groupByHeaderLayer));
        }
        return true;
    }
View Full Code Here

                    .fireLayerEvent(new ColumnVisualUpdateEvent(selectionLayer,
                            selectionLayer.getSelectedColumnPositions()));
        } else {
            applySelectedStyle();
            // fire refresh event
            this.selectionLayer.fireLayerEvent(new VisualRefreshEvent(
                    selectionLayer));
        }

        return true;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.layer.event.VisualRefreshEvent

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.