Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Adding Outlines to Toolbar
Adding Outlines to Toolbar [message #650793] Wed, 26 January 2011 10:22 Go to next message
Rob Egan is currently offline Rob Egan
Messages: 1
Registered: January 2011
Junior Member
I was glancing at the slides from from EclipseCon. It one screen-shot it shows that Outlines can be activated from a toolbar. How does one go about adding an outline to the toolbar?

Re: Adding Outlines to Toolbar [message #650807 is a reply to message #650793] Wed, 26 January 2011 11:33 Go to previous messageGo to next message
Arthur vD is currently offline Arthur vD
Messages: 50
Registered: March 2010
Hi Rob

In the class AbstractDesktop you can overwrite the method getConfiguredOutlines() to add your Outlines. If you want the creation and adding of an Outline in one go you can use the Scout Perspective:
In the Scout Explorer navigate to your client package which has a child called "Desktop". On its child node "Outlines" is a context menu "New Outline..." which guides you through the process.

Have fun.

Regards, Arthur.

(Correction: Changed getConfiguredDesktops() to getConfiguredOutlines()...)

[Updated on: Wed, 26 January 2011 14:42]

Report message to a moderator

Re: Adding Outlines to Toolbar [message #659701 is a reply to message #650807] Tue, 15 March 2011 06:02 Go to previous message
Adrian Moser
Messages: 67
Registered: March 2011
Maybe you want to add a button for your outline as well - you can do this by adding an AbstractOutlineViewButton in your Desktop, e.g.:

public class SettingsOutlineViewButton extends AbstractOutlineViewButton {
    public SettingsOutlineViewButton() {
      super(Desktop.this, SettingsOutline.class);

Previous Topic:Scout and Data Tools
Next Topic:Proposal Feedback
Goto Forum:

Current Time: Fri Aug 22 03:57:13 EDT 2014

Powered by FUDForum. Page generated in 0.07259 seconds