| Summary: | ImpliedElementProperty ignores @Label annotation and <label> within <with> | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Shenxue Zhou <shenxue.zhou> |
| Component: | Sapphire | Assignee: | Project Inbox <sapphire.ui-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | konstantin |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
The label property of the with directive is only used under narrow set of circumstances and never for ImpliedElementProperty. Use other Sapphire constructs (such as label, separator, group or section) to label content. |
I have the following section in my sdef: <with> <path>Initializer</path> <label>Initializer</label> <panel> <key>IMethodExpression</key> <content> <property-editor> <property>Expression</property> <hint> <name>show.label</name> <value>false</value> </hint> </property-editor> </content> </panel> </with> Here "Initializer" property is an ImpliedElementProperty: // *** Initializer *** @Type( base = IMethodExpression.class ) @Label(standard = "initializer") @XmlBinding( path = "initializer" ) ImpliedElementProperty PROP_INITIALIZER = new ImpliedElementProperty( TYPE, "Initializer" ); IMethodExpression getInitializer(); I don't get any label for the "Initializer" property. Both the @Label annotation on the Implied element property and the <label> within the "with" directive are ignored.