Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ECLIPSE-64
Type: Improvement Improvement
Status: Closed Closed
Resolution: Duplicate
Priority: Major Major
Assignee: Unassigned
Reporter: Claus Ibsen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Fuse IDE

Rider - CBR - You cannot reorder when/otherwise

Created: 27/Jan/11 09:11 AM   Updated: 14/Nov/12 01:10 PM
Component/s: Camel Editor
Affects Version/s: None
Fix Version/s: 7.1.0


 Description  « Hide
How the CBR draws the ordring of the when/otherwise is in the exact other as they where added at design time. So you cannot re-arrange them if that would make sense.
For example if you have
  • choice
  • when A
  • when B
  • otherwise

And then later add an extra when

  • choice
  • when A
  • when B
  • otherwise
  • when C

Then its drawn like that on the GUI. But the source code generated always have otherwise as last.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
James Strachan added a comment - 15/Apr/11 02:03 PM
just made an improvement so that newly added when nodes are added at the end - but before the otherwise.

However it would be nice to support drag and drop reordering of the tree using the outline view


James Strachan added a comment - 15/Apr/11 02:04 PM
Any chance you could take a stab at allowing reordering of the tree (e.g. CBR when clauses) using drag and drop in the outline view?

Luis Valdez added a comment - 05/Jun/12 02:44 PM
This is covered by ECLIPSE-176... I made a note there that we need to be able to reorder the when clauses as part of the fix...