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 Korin
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: Sat Oct 25 05:55:12 GMT 2014

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

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