Examples of fireLayerEvent()


Examples of org.eclipse.nebula.widgets.nattable.layer.AbstractLayer.fireLayerEvent()

        }

        private void fireColumnCountChangeEvent(ILayer layer) {
            if (layer instanceof AbstractLayer) {
                AbstractLayer alay = (AbstractLayer) layer;
                alay.fireLayerEvent(new MultiColumnStructuralChangeEventExtension(
                        layer));
            }
        }

        private final class MultiColumnStructuralChangeEventExtension extends
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.layer.DataLayer.fireLayerEvent()

                if (columnPosition == 0) {
                    Datum datum = (Datum) bodyDataLayer.getDataProvider()
                            .getDataValue(columnPosition, rowPosition);
                    datum.setOn((Boolean) command.getNewValue());

                    bodyDataLayer.fireLayerEvent(new CellVisualChangeEvent(
                            bodyDataLayer, columnPosition, rowPosition));
                    return true;
                } else {
                    return super.doCommand(command);
                }
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.layer.DataLayer.fireLayerEvent()

                    String prefix = value.get("Column_0");
                    prefix = prefix.substring(0, prefix.indexOf("_"));
                    value.put(newColumn, prefix + "_" + (columns.size() - 1));
                }

                bodyDataLayer.fireLayerEvent(new ColumnInsertEvent(
                        bodyDataLayer, columns.size() - 1));
            }
        });

        return panel;
View Full Code Here

Examples of org.eclipse.nebula.widgets.nattable.layer.ILayer.fireLayerEvent()

                    // bounds to it
                    // because of the strange behaviour on Mac OS where a
                    // control loses focus
                    // if its bounds are set
                    cellEditor.addEditorControlListeners();
                    layer.fireLayerEvent(new CellEditorCreatedEvent(cellEditor));
                }
            } else {
                List<ILayerCell> cells = new ArrayList<ILayerCell>();
                cells.add(cell);
                editCells(cells, parent, initialCanonicalValue, configRegistry);
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.