| Summary: | New Article Proposal: Eclipse Command Framework | ||
|---|---|---|---|
| Product: | Community | Reporter: | Marc R. Hoffmann <hoffmann> |
| Component: | Articles | Assignee: | community.articles-inbox <community.articles-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | annamalai.chockalingam, carlo.salinari, giachelini, heath.borders, martin, mober.at+eclipse, pwebster, remy.suen, tonny.madsen, wayne.beaton, wim.jongman |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Marc R. Hoffmann
+1 As discussed at EclipseCon, I'd like to help with this. I will see what I can do. It will partly be based on a training module I have as part of my RCP training and partly on a blog entry I made: http://blog.rcp-company.com/2007/06/working-with-menus-extension-point.html Here are the standard set of references that I start with: http://wiki.eclipse.org/Platform_Command_Framework http://wiki.eclipse.org/Command_Core_Expressions http://wiki.eclipse.org/Menu_Contributions http://wiki.eclipse.org/Menus_Extension_Mapping This is the help that matches the org.eclipse.ui.examples.contributions plugin for 3.3: http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/workbench.htm In 3.4, the contributions plugin was updated with more examples to match the eclipsecon talk, http://www.eclipsecon.org/2008/?page=sub/&id=221 Before the end of 3.4, I hope to smooth it out a little more, and would be happy to include more programmatic examples. PW To get things started I created an project at assembla.com (free SVN hosting) and prepared an rough outline based on the article template: SVN Project URL: http://svn2.assembla.com/svn/eclipsecommands/trunk/EclipseCommands) Direct Access to article (sorry, might render as html source): http://svn2.assembla.com/svn/eclipsecommands/trunk/EclipseCommands/contents/article.html Paul, I already added your references (thanks!). You probably have tons of bullet points to add... I appreciate any input. Wayne and Tonny, if you get an free account on assembla.com we could collaborate directly on the article html file, if this is ok for you? cheers, marc hi ... i just went through this ... what i miss the most in terms of Command Framework is you know a proper article just on ActionSets, ViewAction and EditorAction ... Like one of my blogs recently was how to place your menu on the menubar http://eclipseo.blogspot.com/2007/12/placing-menu-on-menubar.html I would also want to write a small stuff on importance of Group and MenuID which i would compose with a diagrammatic representation and probably include it in the attachment ... :) What i mean is placing SubMenus using Plugin.xml ... Providing info that actions can be placed only on Groups if they hav to be sub menu items etc ... Also definitely there are many missing gaps on Key Binding ... there is a lot of request in my training to know how to write there on scheme if its possible and how to define contexts apart from window ... And what are so many options that are available in binding and command extension point for ... Do let me kno if these points seem valid enough or am i missing the stuff though available ... And if required i could write something as a contribution then i would be really happy. regards Malai (In reply to comment #4) > Wayne and Tonny, if you get an free account on assembla.com we could collaborate > directly on the article html file, if this is ok for you? This seems like a worthwhile experiment. Wayne FYI, I've added a note to Prakash's blog asking if he'd like to contribute to this article. http://blog.eclipse-tips.com/2009/01/commands-part-1-actions-vs-commands.html http://blog.eclipse-tips.com/2009/01/commands-part-2-selection-and.html http://blog.eclipse-tips.com/2008/12/commands-part-3-parameters-for-commands.html Hi, I want this completed and I can help. Is the current status of the article what is currently on this link: http://svn2.assembla.com/svn/eclipsecommands/trunk/EclipseCommands/contents/article.html Wim, yes this my current working copy. If you want to contribute to the missing chapters please let me know, so I can give you write access to this SVN repository. Marc, Great, I assume you are the lead for this project? You can send the credentials to my e-mail. Is there an agile kind of approach to this project, most notably a back log, assigned work, iterations and a finish date? If not then I propose to set this up. If you want I can work on this as well. The only purpose of the assembla project was to quickly get a SVN repository for potential collaboration. If you want to facilitate the project management tools to push the finalization of the article, I will try to give you all the required access rights to the assembla project. Wayne asked me in Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=278526 to give my input on this article. I believe I you want to boost the usage of commands you should update the RCP nad plug-in examples, e.g. like proposed https://bugs.eclipse.org/bugs/show_bug.cgi?id=265231 I believe if the templates would be updated the newcomers would start with commands instead of actions. I forgot about his completely. any status changes? Closing as there are many good tutorials out there. |