[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Re: remove affixed parent side figure
|
First things first: You were right about having to re-open the diagram.
Sorry for the confusion.
Whatever, many thanks for the code snipplet. It works fine for me, too. No
matter how many more times to see, it's always astonishing what big effect
such a small change in the code can have in GMF. :-)
Regards,
Tobias
Gilles Cannenterre wrote:
> Hi tobias,
>
> I've just found a patch concerning the issue...try this in the parent
> editpart...
>
> @Override
> protected void handleNotificationEvent(Notification notification)
> {
> super.handleNotificationEvent(notification);
> if (notification.getEventType() == Notification.REMOVE)
> {
> handleMajorSemanticChange();
> }
> }
>
> Regards,
>
> Gilles.
>
>
> Gilles Cannenterre a Ãcrit :
>> In fact I have to save close and re-open the editor to see the refresh...
>>
>> Regards,
>>
>> Gilles
>>
>> tobias a Ãcrit :
>>> Gilles Cannenterre wrote:
>>>> Hello,
>>>>
>>>> I'm facing a problem when deleting an affixed parent side figure :
>>>> all the affixed side parent figure added after are also
>>>> deleted...this
>>>> bug has been reported already-
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=202894 - Is there any way
>>>> to fix that problem using custom code?
>>>>
>>>> I'm waiting for your comments...
>>>>
>>>> regards, Gilles.
>>>
>>>
>>> I know this problem, too. I do not know a solution, but I observed
>>> that the
>>> elements are not deleted and the figures reappear as soon as the
>>> diagram is
>>> saved. Maybe you can work with that...
>>>
>>> Regards,
>>> Tobias