Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] UIEvents.buildTopics() deprecated

Hi,

The new structure makes a lot more sense but might I suggest to allow
future evolving possible that we disallow the compiler to inline the
strings which could be done using a trick we also used in the
Databinding-API already.

> 	public static final String MYKEY = notInlined("Test");
> 			
> 	static String notInlined(String s) {
> 		return s;
> 	}


Tom

Am 02.12.11 23:09, schrieb Dean Roberts:
> Hi folks,
> 
> As was discussed on this email list a few months ago, and in
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=363961, we have made some
> changes to the way we manage and subscribe to UIEvents in Eclipse 4.
> 
> These changes make the code used to subscribe to UI Events much simpler.
>  Although the code we changed was never API, there may have been people
> using the methods.  For this reason we have deprecated the methods and
> constants in M4 and will delete them shortly before building M5.
> 
> If you are using UIEvents.buildTopic() methods or any of the UIEvents
> TOPIC constants, these changes will effect. you.
> 
> A new description of the Eclipse 4 Event model can be found here:
> http://wiki.eclipse.org/Eclipse4/RCP/Event_Model
> A description of what has changed and what you might need to fix in your
> code for M5 is here: http://wiki.eclipse.org/Eclipse4/UI/Event/Migration
> 
> As always we are happy to discuss this topic (or any other topic) on the
> mailing list if people have any questions, concerns or ideas.
> 
> Thanks.
> 
> Dean_Roberts@xxxxxxxxxx
> 
> 
> 
> _______________________________________________
> 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                 geschäftsführer/CEO
------------------------------------------------------------------------
eduard-bodem-gasse 5-7/1   A-6020 innsbruck     fax      ++43 512 935833
http://www.BestSolution.at                      phone    ++43 512 935834


Back to the top