|
|
|
Re: Volatile Modification Figure [message #178665 is a reply to message #178637] |
Fri, 21 March 2008 14:29 |
Boris Blajer Messages: 217 Registered: July 2009 |
Senior Member |
|
|
Hi Hugues,
Oops, I meant
((FillStyle)view.getStyle(NotationPackage.eINSTANCE.getFillS tyle())).setFillColor(...).
Best regards,
Boris
Hugues Rérolle wrote:
> Thanks Boris,
>
>
> I try your solution, but I didn't found the method "setFillColor" in
> org.eclipse.gmf.runtime.notation.Style Class...
>
> Did I miss something ?
>
> Thanks again
>
> Hugues
>
>
> Boris Blajer a écrit :
>> Hi Hugues,
>>
>> Instead of changing the color of the IFigure directly, you should
>> execute
>> view.getStyle(NotationPackage.eINSTANCE.getFillStyle()).setF illColor(...);
>>
>>
>> Best regards,
>> Boris.
>>
>> Hugues Rérolle wrote:
>>> Hi all,
>>>
>>> I modify programaticaly figures of a diagram by changing background
>>> colors, this works fine.
>>>
>>> But I need that my program has the follows behaviour:
>>> 1. these changes are not saved when the diagram is saved
>>> 2. these changes don't ask for save
>>>
>>> Someone knows how to solve my problems?
>>>
>>>
>>> Hugues Rérolle
>>>
>>>
|
|
|
Re: Volatile Modification Figure [message #178688 is a reply to message #178665] |
Fri, 21 March 2008 22:16 |
Hugues Rérolle Messages: 60 Registered: July 2009 |
Member |
|
|
Thanks! It's work very well!!!
Regards,
Hugues
Boris Blajer a écrit :
> Hi Hugues,
>
> Oops, I meant
> ((FillStyle)view.getStyle(NotationPackage.eINSTANCE.getFillS tyle())).setFillColor(...).
>
>
>
> Best regards,
> Boris
>
> Hugues Rérolle wrote:
>> Thanks Boris,
>>
>>
>> I try your solution, but I didn't found the method "setFillColor" in
>> org.eclipse.gmf.runtime.notation.Style Class...
>>
>> Did I miss something ?
>>
>> Thanks again
>>
>> Hugues
>>
>>
>> Boris Blajer a écrit :
>>> Hi Hugues,
>>>
>>> Instead of changing the color of the IFigure directly, you should
>>> execute
>>> view.getStyle(NotationPackage.eINSTANCE.getFillStyle()).setF illColor(...);
>>>
>>>
>>> Best regards,
>>> Boris.
>>>
>>> Hugues Rérolle wrote:
>>>> Hi all,
>>>>
>>>> I modify programaticaly figures of a diagram by changing background
>>>> colors, this works fine.
>>>>
>>>> But I need that my program has the follows behaviour:
>>>> 1. these changes are not saved when the diagram is saved
>>>> 2. these changes don't ask for save
>>>>
>>>> Someone knows how to solve my problems?
>>>>
>>>>
>>>> Hugues Rérolle
>>>>
>>>>
|
|
|
Powered by
FUDForum. Page generated in 0.02787 seconds