Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » Databinding inside a TableViewer with checkboxes(TableViewer with Checkboxes)
Databinding inside a TableViewer with checkboxes [message #985849] Fri, 16 November 2012 11:41
Drek Korin is currently offline Drek KorinFriend
Messages: 1
Registered: November 2012
Junior Member
I'm new to WindowBuilder in RCP and I'm stuck with what I think a simple task.
I've created an Composite with a TableViewer.
My Model is:
Class member {
private String id;
private String task;
private String descryption;
private List<String> tag;
...
}


List of choices for tag is limited als List<String> and accesible in the view

private List<String> allowedTags;


In the Bindings I added tableViewer->input to List<member>->Collection as WritableList/Properties.selfList() with columns id,task and descryption.


Now I want to make description and tag editable.

How to solve it?

I see 2 approaches to this:
1. making the cell in the table fo comment editable, and a new cell for tags as checkboxes
2. making a new view to change the values.

which is the easiest approach and how to achieve it?
Previous Topic:How to bind a list from an EMF-based model to a tree viewer?
Next Topic:PropertyEditorSupport whit Composite (SWT)
Goto Forum:
  


Current Time: Thu Apr 25 00:34:39 GMT 2024

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

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

Back to the top