Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » View related Questions
View related Questions [message #160429] Fri, 21 November 2003 21:50 Go to next message
Eclipse UserFriend
Hi All,

I have a couple questions regarding Eclipse views.

1) How is it possible to open or close a view (Workbench or user-created)
programmatically from another view.

2) Is it possible for a view to act like an output window, to show all the
messages that are written on the output stream? If yes, how?

Thanks in advance,
Andrew.
Re: View related Questions [message #160891 is a reply to message #160429] Mon, 24 November 2003 08:39 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse.dalelane.co.uk

Andrew wrote:

> 1) How is it possible to open or close a view (Workbench or user-created)
> programmatically from another view.

to OPEN a view, i've used the following...

MyCustomPlugin.getDefault().getWorkbench().getActiveWorkbenc hWindow().getActivePage().showView( "the.view.id");

where MyCustomPlugin extends AbstractUIPlugin


hope that gives u a start...

D
Previous Topic:Open a view from within another view
Next Topic:CompareUI, mulitple resources
Goto Forum:
  


Current Time: Mon May 12 14:46:30 EDT 2025

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

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

Back to the top