Eclipse 4 RCP (aka E4) documentation

后端 未结 6 2099
夕颜
夕颜 2021-02-05 08:49

Is there at least anything other than Vogella\'s tutorials and his book, which is completely based on those tuts? Examples from his repo are often either incomp

相关标签:
6条回答
  • 2021-02-05 09:29

    E4 is alive and many of its components are now encapsulated in the standard Eclipse Platform. So most of Eclipse 3 docs and books are still relevant, as well as the Eclipse 4 ones.

    If you want to understand the theory, you should start searching Eclipse conference slides explaining the Eclipse Platform and plug-ins. Trust me, it might sound old-style, but most of the times I find an EclipseCon Powerpoint or PDF, it is a great presentation, concentrating in 30 minutes the great work of some of the best Eclipse developers. If I had to re-start learning Eclipse, I would start again from some EclipseCon slides talking about Eclipse Plugins and Eclipse E4 Model.

    For Eclipse4 or E4, we mean the Eclipse4 Model, which is now part of the Eclipse Platform. The Eclipse IDE itself supports both 3.x and Eclipse4 programming.

    If you want to start Eclipse4, you should take a good book or a tutorial and follow it step by step. As an example you have these books:

    • Eclipse RCP (Rich Client Platform) 2nd edition
    • Contributing to the Eclipse IDE Project (free ebook)
    • Eclipse 4 Plug-in Development by Example: Beginner's Guide
    • Instant Eclipse 4 RCP Development How-to

    However, there are a lot of sources of information, as many books, web tutorials and blogs. You can find most of them here:

    • https://wiki.eclipse.org/Eclipse_Articles,_Tutorials,_Demos,_Books,_and_More
    • https://wiki.eclipse.org/Eclipse4/Tutorials
    • http://planeteclipse.org/planet/

    In my personal list of who to follow, I could include: Vogella RCP, EclipseSource, Tom Schindl, OpCoach, RCPVision, Kai Toedter, AllBlue, Wim Yongman, and all the E4 Contributors who are writing articles. But it is unfair not to mention all of them.

    If you're not satisfied by docs and tutorials, please file a bug to the Eclipse Platform; mention "missing documents to use E4" and specify what you need. The Platform UI team will take care of this, either by linking the existing documentation to the above wiki page or by creating the missing docs.

    Note: Several of the developers of the Eclipse E4 and Platform team contributed to the success of the technology by fixing bugs, writing code, documents, tutorials, and opening businesses based on this.

    Eclipse committers are writing most of the existing documents, and they usually go to conferences. So, usually, you get their very best at the Eclipse Conferences. If you get their slides, you can get the best of some Eclipse and Java Champions, condensed in 30 slides, or in a video of 30 minutes.

    You can start contributing to open source, by following tutorials, like those written by Eclipse Committers, and then you can give back by writing documents to capture your achievements ;)

    But, keep in mind that a tutorial is not a book. There is a different process behind. Thankfully those great developers found the time to write code and documentation at the same time.

    0 讨论(0)
  • 2021-02-05 09:31

    For anyone who stumbles here looking for an e4 example, here's a simple basic example on using eclipse 4 rcpeclipse 4: rcp getting started

    0 讨论(0)
  • 2021-02-05 09:39

    Lars Vogel's Tutorials are the most complete and up-to-date documentation on Eclipse 4 development. Second to this is asking questions in Eclipse 4 Community Forum. Last option is to google for specific technical problems, which will in most cases lead you to blog posts from the same people that are active on the forums. (Mainly single supporters like Lars, some Eclipse devs and the guys from www.eclipsesource.com)

    I discourage using the wiki, since much of the information may be outdated and may be more confusing than an actual help. Documentation for JFace and SWT can be reused from Eclipse 3.x since there are few to none changes in Eclipse E4.

    0 讨论(0)
  • 2021-02-05 09:44

    After almost 2 years there has been no decent response to this question. So i'm considering the Eclipse E4 platform efectively dead, as there are still people voting for this question and can't find an answer.

    The only answer I have is - move to the NetBeans Platform. There are similar problems there, but at least people do answer in the mailing list and there are books which are quite more recent and are actually providing working source code! Enve the NetBeans website provides free tutorial on a lot of stuff for free!

    I mean it's really hard to believe, but you should try NetBeans platform - it's the only choice.

    0 讨论(0)
  • 2021-02-05 09:44

    Standard Eclipse documentation for version 4.3 (Kepler) contains javadoc for the most part of e4 project:

    http://help.eclipse.org/kepler/topic/org.eclipse.platform.doc.isv/reference/api/overview-summary.html?cp=2_1_0

    0 讨论(0)
  • 2021-02-05 09:45

    i was in the same position for my sparetime RCP-Project and was about to give up

    since Neon the situation has been improved a lot

    my approach

    • take the tycho-Example from vogella for headless-build

    • add your custom parts with 'hello world' and play around to learn

    • for database-access use a declarative Service using jpa

    an example will be

    http://relations-rcp.sourceforge.net/

    for logging and error-view

    https://github.com/buchen/portfolio

    this project eye-opening!

    in general:

    search Application.e4xmi in Github by date descending and you will find excelent examples and full working products

    Forget about e3 and stick to plain e4. Take Advantage of the latest api's

    • make a i18n plugin and use

      @Inject @Translation Messages messages;

    • use ISideEffect as Binding

    for me it becomes fun to code with e4

    0 讨论(0)
提交回复
热议问题