Package org.eclipse.nebula.widgets.nattable.command

Examples of org.eclipse.nebula.widgets.nattable.command.VisualRefreshCommand


     *            The ThemeConfiguration that contains the style configurations
     *            to apply.
     */
    public void setTheme(ThemeConfiguration themeConfiguration) {
        this.themeManager.applyTheme(themeConfiguration);
        doCommand(new VisualRefreshCommand());
    }
View Full Code Here


                                    SummaryRowConfigAttributes.SUMMARY_PROVIDER,
                                    _809_GroupBySummarySummaryRowExample.this.avgMoneySummaryProvider,
                                    DisplayMode.NORMAL,
                                    SummaryRowLayer.DEFAULT_SUMMARY_COLUMN_CONFIG_LABEL_PREFIX + 3);
                }
                natTable.doCommand(new VisualRefreshCommand());
            }
        });

        Button toggleThemeButton = new Button(buttonPanel, SWT.PUSH);
        toggleThemeButton.setText("Toggle Theme");
View Full Code Here

                // repaint the table, as setting the default height is not
                // triggering a refresh automatically
                // this is because setting the default usually should be done
                // prior rendering
                natTable.doCommand(new VisualRefreshCommand());
            }
        });

        return natTable;
    }
View Full Code Here

                    configRegistry.registerConfigAttribute(
                            GroupByConfigAttributes.GROUP_BY_SUMMARY_PROVIDER,
                            avgMoneySummaryProvider, DisplayMode.NORMAL,
                            GroupByDataLayer.GROUP_BY_COLUMN_PREFIX + 3);
                }
                natTable.doCommand(new VisualRefreshCommand());
            }
        });

        return container;
    }
View Full Code Here

                }

                // refresh both tables to update the active rendering in the
                // column header
                // this is not necessary for updating the selection provider
                firstNatTable.doCommand(new VisualRefreshCommand());
                secondNatTable.doCommand(new VisualRefreshCommand());
            }
        });

        // add a log area to the example to show the log entries
        Text output = setupTextArea(panel);
View Full Code Here

                    configRegistry.registerConfigAttribute(
                            GroupByConfigAttributes.GROUP_BY_SUMMARY_PROVIDER,
                            avgMoneySummaryProvider, DisplayMode.NORMAL,
                            GroupByDataLayer.GROUP_BY_COLUMN_PREFIX + 3);
                }
                natTable.doCommand(new VisualRefreshCommand());
            }
        });

        // this button adds data to the grid
        // try to group by last name, sort by last name desc and then add
View Full Code Here

                                    } else if (dataProvider.isAutoRowSpan()) {
                                        dataProvider.setAutoRowSpan(false);
                                    } else {
                                        dataProvider.setAutoColumnSpan(true);
                                    }
                                    natTable.doCommand(new VisualRefreshCommand());
                                }
                            });
                        }
                    }).withStateManagerMenuItemProvider();
        }
View Full Code Here

                    configRegistry.registerConfigAttribute(
                            GroupByConfigAttributes.GROUP_BY_SUMMARY_PROVIDER,
                            avgMoneySummaryProvider, DisplayMode.NORMAL,
                            GroupByDataLayer.GROUP_BY_COLUMN_PREFIX + 3);
                }
                natTable.doCommand(new VisualRefreshCommand());
            }
        });

        // this button adds data to the grid
        // try to group by last name, sort by last name desc and then add
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.command.VisualRefreshCommand

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.