Skip to main content



      Home
Home » Eclipse Projects » Eclipse Scout » Adding Outlines to Toolbar
Adding Outlines to Toolbar [message #650793] Wed, 26 January 2011 10:22 Go to next message
Eclipse UserFriend
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 11:33 Go to previous messageGo to next message
Eclipse UserFriend
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] by Moderator

Re: Adding Outlines to Toolbar [message #659701 is a reply to message #650807] Tue, 15 March 2011 06:02 Go to previous message
Eclipse UserFriend
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: Sun Jul 06 11:11:34 EDT 2025

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

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

Back to the top