| Summary: | Replace Details with a property concept | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Holger Staudacher <holger.staudacher> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 311355 | ||
Changes are in CVS HEAD. |
Currently our messages has many operations. Each operation consist of a type, a target and some details. This looks like this e.g. fpr a create operation: { "target" : "w1", "type" : "CREATE", "details" : { "parentId" : "w1", "type" : "org.eclipse.rap.Button" } } I think we could change this by moving the mandatory properties to the top of the operation and introduce a properties object that can contain free defined properties. This could look something like this: { "target" : "w1", "type" : "CREATE", "nature" : "org.eclipse.rap.Button" "properties" : { "visibility" : true, "styles" : { "PUSH" : true "BORDER" : true }, "parent" : "w1", } } This will clean up the operations and avoids clutter.