Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » Styling Labels
Styling Labels [message #1729321] Wed, 13 April 2016 03:10 Go to next message
Jason Pell is currently offline Jason PellFriend
Messages: 55
Registered: February 2011
Member
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: Wed, 13 April 2016 03:13]

Report message to a moderator

Re: how to make uml editor in eclipse plugin [message #1729326 is a reply to message #1729321] Wed, 13 April 2016 05:33 Go to previous messageGo to next message
Zeba Rizvi is currently offline Zeba RizviFriend
Messages: 2
Registered: March 2016
Junior Member
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 17:45 Go to previous message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
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: Wed Apr 24 22:56:35 GMT 2024

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

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

Back to the top