Skip to main content



      Home
Home » Archived » Sapphire » Styling Labels
Styling Labels [message #1729321] Tue, 12 April 2016 23:10 Go to next message
Eclipse UserFriend
Is there a way to provide hints to style labels? I would especially like to be able to style the labels as bold in the summary section under certain conditions. I have a section that looks like this:

<root-node>
			<node>
				<label>Operations</label>
				<node-factory>
					<property>OperationConfigs</property>
					<case>
						<label>${ignored != true ? "*" : ""}${OperationName}</label>
						
						<section>
							<label>Operation</label>
							<content>
								<include>OperationConfigForm</include>
							</content>
						</section>
					</case>
				</node-factory>
			</node>


I would prefer to be able to do something like:

<root-node>
			<node>
				<label>Operations</label>
				<node-factory>
					<property>OperationConfigs</property>
					<case>
						<label>${ignored != true ? "<b>" : ""}${OperationName}${ignored != true ? "</b>" : ""}</label>
						
						<section>
							<label>Operation</label>
							<content>
								<include>OperationConfigForm</include>
							</content>
						</section>
					</case>
				</node-factory>
			</node>

[Updated on: Tue, 12 April 2016 23:13] by Moderator

Re: how to make uml editor in eclipse plugin [message #1729326 is a reply to message #1729321] Wed, 13 April 2016 01:33 Go to previous messageGo to next message
Eclipse UserFriend
sir, i wanted to know how to make uml editor programmatically using papyrus API's.
Re: how to make uml editor in eclipse plugin [message #1729762 is a reply to message #1729326] Mon, 18 April 2016 13:45 Go to previous message
Eclipse UserFriend
There is currently no support for styling labels, but if you need to display a block of styled text, you can use the HTML control.
Previous Topic:xml single tags <asdf/>
Next Topic:Is there a way to configure the font of a label in an sdef file
Goto Forum:
  


Current Time: Thu Jun 19 05:25:06 EDT 2025

Powered by FUDForum. Page generated in 0.04645 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top