In a recent post:
[size=13]NewBie question[/size] I mentioned setting the object state using the context menu dialog
[Ctrl+Shift+S]. On that dialog is a check-box:
[ ] Merge State with Instance name.
If the name of the Instance is empty, the Classifier is Order, the state is Paid and the checkbox is unset then the rendering is:
: Order
[Paid]if you set the check-box, then the rendering is:
: [Paid] : Order]if you add a name for the instance say "Order", you get:
Order[Paid] : Orderwhere the state is postfixed to the name.
In the other post, I manually set the name to:
PaidOrder and UnpaidOrder
But it seems to me a more general rule that says
when constructing a name for the instance. the most common renderings would be:
[State]Classififer or
Classifier[State]Example:
[Paid]Order or
Order[Unpaid]I think it would be a time saver (and increase consistency) if the
[ ] Merge State with Instance name were enhanced with:
[ ] Prefix (else Postfix) and
[ ] Use Classifier NameIf both were set, in the above example we'd get:
[Paid]Order: OrderLastly, a checkbox
[ ] Suppress State markers would suppress the enclosing "[" and "]" for the state giving:
PaidOrder: Order.
Thoughts?
Paolo
[size=0]©2006 Paolo Cantoni, -Semantica-[/size]