Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Working with modeled UI and HEAD


I agree, the 'best practice' for addons should be that the same bundle that contains the code for the addon should also contain either a fragment or processor that 'installs' the addon into whatever base model it's applied to (I think it's Lars or Tom that came up with this one but I like it...;-).

That way somebody that wants the MinMax addon could simply declare it as a required plugin and immediately see the effect. Note that the MinMax addon in its current state could also have the 'Cleanup' addon as a required bundle. It would be better if the requirement wasn't quite that tight so we could allow folks to use the MinMax addon and supply their own Cleanup addon but then folks wanting the MinMax would have to 'know' that they also need something to manage stacks going empty...

Can we do it this way Paul ?

Eric


From: Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx>
To: E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>
Date: 11/30/2010 09:31 AM
Subject: Re: [e4-dev] Working with modeled UI and HEAD
Sent by: e4-dev-bounces@xxxxxxxxxxx





I did not say that you should install any model listeners in there but
contribute the Addon-Elements to the model instead of requireing the
user to add those addons to their core model.

Tom

Am 30.11.10 13:00, schrieb Paul Webster:
> On Mon, Nov 29, 2010 at 11:15 AM, Tom Schindl
> <tom.schindl@xxxxxxxxxxxxxxx <
mailto:tom.schindl@xxxxxxxxxxxxxxx>> wrote:
>
>     That's not completely true in the our ModelAssembler we do a sorting by
>     evaluating the dependencies between the contributing bundles.
>
>
> Model processor is to early in the lifecycle.  The addons need a Context
> to work.
>
> --
> Paul Webster
> Hi floor.  Make me a sammich! - GIR
>
>
>
> _______________________________________________
> e4-dev mailing list
> e4-dev@xxxxxxxxxxx
>
https://dev.eclipse.org/mailman/listinfo/e4-dev


--
B e s t S o l u t i o n . a t                        EDV Systemhaus GmbH
------------------------------------------------------------------------
tom schindl                                        geschaeftsfuehrer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5/1    A-6020 innsbruck      phone    ++43 512 935834
_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev



Back to the top