Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Some questions about databinding and control-decorations
Some questions about databinding and control-decorations [message #15238] Wed, 17 June 2009 20:26
Eclipse UserFriend
Originally posted by: TheRealHawk.Freenet.de

Hi @all,

I've created a simple project to test some databinding- and jface-features.
e.g. master-detail, celleditors, databinding, validation, conversion and so
on.

But now I have some problems in my project:

1. If i change the selection (master) the observerd detail has the wrong
validation status.
I observe the selection of a TableViewer and display the properties of the
selected element in Text-Fields, the selection also enables/disables the
input-controls - it seems, that one observable overrides the
validationstatus of the other. How can I fix this?

2. I use an ObservableMapLabelProvider for the Table - is there something
like a POJOLabelProvider or BeanLabelProvider, that I can set to a
TableViewerColumn?

3. How can I put a calculated Value to the TableViewer?
e.g remove age form Person and calculate it.

4. How can I be shure, that the master (WritableList) is valid?
Currently I added an validator to my targetToModelUpdateValueStrategy - but
If I change the selection, the error-status will be overwritten with the new
status - sometimes the last ok-status will be shown, even if the current
selected element isn't valid.

5. Is it possible to decorate TableItems according to the ValidationStatus?

These are my questions for now. :-)

For better understanding I attached my project and put some FIXME into the
code.
--> You can also write, what you would change on the code.

Thanks

Markus


Previous Topic:Re: create TreeItem in TreeViewer
Next Topic:Re: TableViewer Selectiona nd Focus out of synch
Goto Forum:
  


Current Time: Thu Mar 28 08:22:26 GMT 2024

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

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

Back to the top