8384858687888990919293
ILayerEvent layerEvent; if (structuralChangeEventsToProcess) { layerEvent = new RowStructuralRefreshEvent( getUnderlyingLayer()); } else { layerEvent = new VisualRefreshEvent( getUnderlyingLayer()); } fireEventFromSWTDisplayThread(layerEvent); } eventsToProcess = false;
3132333435363738
public Class<VisualRefreshCommand> getCommandClass() { return VisualRefreshCommand.class; } public boolean doCommand(ILayer targetLayer, VisualRefreshCommand command) { targetLayer.fireLayerEvent(new VisualRefreshEvent(targetLayer)); return true; }
38394041424344454647
@Override protected boolean doCommand(UngroupByColumnIndexCommand command) { int columnIndex = command.getGroupByColumnIndex(); if (groupByHeaderLayer.getGroupByModel().removeGroupByColumnIndex( columnIndex)) { groupByHeaderLayer.fireLayerEvent(new VisualRefreshEvent( groupByHeaderLayer)); } return true; }
@Override protected boolean doCommand(GroupByColumnIndexCommand command) { int columnIndex = command.getGroupByColumnIndex(); if (groupByHeaderLayer.getGroupByModel().addGroupByColumnIndex( columnIndex)) { groupByHeaderLayer.fireLayerEvent(new VisualRefreshEvent( groupByHeaderLayer)); } return true; }
9293949596979899100101102
.fireLayerEvent(new ColumnVisualUpdateEvent(selectionLayer, selectionLayer.getSelectedColumnPositions())); } else { applySelectedStyle(); // fire refresh event this.selectionLayer.fireLayerEvent(new VisualRefreshEvent( selectionLayer)); } return true; }