Home » Modeling » EMF » reusing EditingDomainActionBarContributor for a View
() 1 Vote
| |
Re: reusing EditingDomainActionBarContributor for a View [message #826805 is a reply to message #826497] |
Thu, 22 March 2012 14:23 |
|
Hi Ed
I'm doing some experiments (and refactorings) on that class (by the way,
the doc of that class says
/**
* This is a contributor for an editor, multi-page or otherwise,
* that implements {@link IEditingDomainProvider}.
but actually it does not :)
and it inherits from MultiPageEditorActionBarContributor though it
basically does not use specific features of the field IEditorPart:
switching to a generic IWorkbenchPart seems to work as well...
I hope I can give more feedback soon
cheers
Lorenzo
On 03/22/2012 07:13 AM, Ed Merks wrote:
> Lorenzo,
>
> I think the fact that it inherits from
> MultiPageEditorActionBarContributor doesn't bode well for just using it
> in a view.
>
> On 21/03/2012 5:08 PM, Lorenzo Bettini wrote:
>> Hi
>>
>> I would need to reuse EditingDomainActionBarContributor for a View,
>> would it be possible? The class has a deprecated setActiveView so I
>> was wondering whether it might be feasible in principle or it is wrong?
>>
>> thanks in advance
>> Lorenzo
>>
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
HOME: http://www.lorenzobettini.it
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
|
|
|
Goto Forum:
Current Time: Thu Apr 25 04:04:12 GMT 2024
Powered by FUDForum. Page generated in 0.03000 seconds
|