Initially we will just use a Text control; gradually working up to PropertyName, Integer and Color Expressions. In each case the Expression may be retrieved by simple get/set methods and we will provide some kind of consistent change notification.
Choosing which widgets to use will be based on constants; much like MapViewer switches implementations. If there is something specific we need to handle (like say restrictions based on FeatureType we may need to break out different ExpressionViewers kind of like how Tree and TreeTable viewers work.
Remember that although Viewers are a wrapper around some SWT Control or Composite you still have direct access using the getControl() method so that you can do your layout data thing.
Future directions from Mark:
|
|