Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » TableViewer refresh does not work in a ViewPart
TableViewer refresh does not work in a ViewPart [message #1220001] Sun, 08 December 2013 23:26
boby pietri is currently offline boby pietriFriend
Messages: 27
Registered: October 2013
Junior Member

I want to add a row (Person) in a TableViewer on button click but it does not display even after calling tableviewer.refresh().
However this work in an ApplicationWindow, not in ViewPart.

Do you know how to do that ?

// Add a new person when the user clicks button
    newPerson.addSelectionListener(new SelectionAdapter() {
      public void widgetSelected(SelectionEvent event) {
        Person p = new Person();

Thank you.
Previous Topic:How Program.launch(mailto) can find email client is not set?
Next Topic:Juno crashes on Ubuntu 13.10
Goto Forum:

Current Time: Tue Jun 19 22:23:08 GMT 2018

Powered by FUDForum. Page generated in 0.01900 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top