RuleName as Link [message #1731589] |
Sat, 07 May 2016 10:41 |
Parisa Moosavi Messages: 81 Registered: June 2015 |
Member |
|
|
Hi,
I have defined a Rule as follows for defining rgbcolor
RGBColor returns RGBColor:
{RGBColor}
'RGBColor'
name=EString
'(' ( red=EInt)? ',' ( green=EInt)? ',' ( blue=EInt)? ')'
;
and its dsl looks like this
fontColor BLACK backColor WHITE rgbColors {
RGBColor BLACK ( ,, ),
RGBColor LIGHTBLUE ( 255,51,153 ),
RGBColor WHITE ( 255,255,255 )
}
now I want the name of the color for example LIGHTBLUE to be a link and when I click on it a color panel get open for choosing a color. How can I do it ? I will be appreciated for any link to any refedrence to help me.
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02127 seconds