On 11.11.2013 18:50, Felix Dietz wrote:
Hi all,
We want to solve the feature request #101, but first we would like to
get feedback on our possible solutions.
1:
To implement the toolbar button, we want to hook into the
SarosView.addToolbarItems() method and add our own action, which opens
the WhiteboardView via PlattformUI
(PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().showView(view_ID);)
where view_ID references to the de.fu_berlin.inf.dpp.whiteboard.view
package
2:
To implement the saros menu button, we want to change the build.xml
file to create a custom command + handler in accordance to the already
implemented ones.
Are you sure you want to change the BUILD.xml file ? :P
Please tell us, if you're okay with these approaches.
Also we would like you to tell us, where exactly you want these
buttons to be. For our suggestions, check the attachments.
Kind regards
Robert Businski & Felix Dietz
Looks fine, I hope the Menu and Toolbar Entries are disabled if the view
is already opened (although it would not matter I guess because you
cannot open a view twice). Make sure you update the button state if a user
switches perspectives.
BR,
Stefan
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel
------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel