Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] How to rename a view ID on an namespace-restructuring update ?

Hi Tom,

 

Your approach sounds very interesting !

 

But I’m concerned that the migration code registered through the e4 extension point would be _always_ executed regardless of whether it’s needed or not.

That would obviously degrade startup performance which feels like a no-go to me.

 

Or is there any possibility binding execution of such migration code to a condition like “old view ID is being processed” while an old workspace is being opened ?

 

Thanks,

Martin

--

Martin Oberhuber, SMTS / Product Owner – Development Tools, Wind River

direct +43.662.457915.85  fax +43.662.457915.6

 

From: platform-ui-dev-bounces@xxxxxxxxxxx [mailto:platform-ui-dev-bounces@xxxxxxxxxxx] On Behalf Of Tom Schindl
Sent: Thursday, May 07, 2015 7:44 AM
To: Eclipse Platform UI component developers list.
Subject: Re: [platform-ui-dev] How to rename a view ID on an namespace-restructuring update ?

 

You can ship a model processor through the e4 extension point and walk the model removing the references or even adjust the id pointing to the new view id

 

Tom

Von meinem iPhone gesendet


Am 07.05.2015 um 00:14 schrieb Oberhuber, Martin <Martin.Oberhuber@xxxxxxxxxxxxx>:

Hi Platform/UI experts,

 

As part of the TM Terminal restructuring that we’ve done recently, we’ve changed the ID of a view to the new namespace.

 

This causes issues when the view was active in a perspective when the update is applied:
After Eclipse restarts, the now-obsolete view shows up in an error state.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=466644

 

Do you see any way we could avoid this ? For instance, provide plugin.xml markup that would specify the view as “no longer existant thus close on restart”.

We thought about a PerspectiveListener, but we’d like to avoid unnecessary plugin activation if possible.

If you have any thought or idea, we’d really appreciate a comment on the bug !

 

Thanks,

Martin

--

Martin Oberhuber, SMTS / Product Owner – Development Tools, Wind River

direct +43.662.457915.85  fax +43.662.457915.6

 

_______________________________________________
platform-ui-dev mailing list
platform-ui-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev


Back to the top