| 
| Questions about Sections and Forms and how to delegate actions to them [message #326834] | Tue, 01 April 2008 14:23  |  | 
| Eclipse User  |  |  |  |  | Hello, 
 I've to deal with Section at the moment and have some questions regarding
 them.
 
 1. I the screenshot below and at various places in the plug-in manifest
 editor you can see actions at the right side of a sections header.
 http://www.eclipse.org/articles/Article-Forms33/images/secti on-aligned.png
 
 How can I add the actions to this position?
 Can there be delegated from extension points?
 
 2. Within a FormEditors header a toolbar and a menu can be defined:
 http://www.eclipse.org/articles/Article-Forms33/images/form- menu.png
 
 Is it possible to delegate actions and menus to this places using
 extension points? Until now I delegated every action within my plug-in
 using org.eclipse.menus and it would be sad to break this paradigm here.
 
 3. I'm using ColumnLayout in my Section. Inside one of my sections is e
 tree viewer that grows while using the editor (adding items). Sadly the
 section does not grow with it. It keeps its size it took after
 initializing and grows only in width, not in height. Even calling
 form.reflow(true) and tree.layout(true) after adding a item to the tree
 didnt helped. All I want is the section to grab all place available
 vertically until the bottom end of the editor region. A good example is
 the 'Required Plug-ins' section in the plug-in manifest editors
 'Dependencies' tab.
 
 How can this be done?
 
 I could probably answer all the question myself I knew how to get the
 plug-in manifest editors sources. So If you know that answer, please let
 me know :)
 
 Thank you!
 |  |  |  | 
|  | 
|  | 
Powered by 
FUDForum. Page generated in 0.03679 seconds