Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » Adding Outlines to Toolbar
Adding Outlines to Toolbar [message #650793] Wed, 26 January 2011 15:22 Go to next message
Rob Egan is currently offline Rob EganFriend
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?

Thanks,
Rob
Re: Adding Outlines to Toolbar [message #650807 is a reply to message #650793] Wed, 26 January 2011 16:33 Go to previous messageGo to next message
Arthur vD is currently offline Arthur vDFriend
Messages: 52
Registered: March 2010
Member
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 19:42]

Report message to a moderator

Re: Adding Outlines to Toolbar [message #659701 is a reply to message #650807] Tue, 15 March 2011 10:02 Go to previous message
Adrian MoserFriend
Messages: 67
Registered: March 2011
Member
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);
    }
}


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


Current Time: Fri Mar 29 13:54:43 GMT 2024

Powered by FUDForum. Page generated in 0.02137 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top