Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Create and show my custom View
Create and show my custom View [message #735587] Wed, 12 October 2011 09:49
Eclipse UserFriend
Hi,

I have a question about programmatically create and display custom
View (DiagnosticView) with custom GUI elements.

1st I have an xml file where are defined by my own GUI elements (type,
location, size, etc.)
2nd programmatically creating multiple instances of the same View
(DiagnosticView) using:

IWorkbenchWindow window =
PlatformUI.getWorkbench().getActiveWorkbenchWindow();
DiagnosticView diagnosticView = (DiagnosticView)
window.getActivePage().showView(DiagnosticView.ID, secondaryID,
IWorkbenchPage.VIEW_ACTIVATE);

3rd after loading the xml elements and displays them in its own View

This works, but I do not always possible to create and show a View and
then to insert elements.
I would like to create a View (instance), load into him the elements and
to show View for some action. So I do not show the View already created,
but only for some action.

Is this possible? And if so, how?

Thanks.

Martin
Previous Topic:Uploading applets to the web with Dreamweaver
Next Topic:How do I link MinGW C/C++ compiler to Eclipse
Goto Forum:
  


Current Time: Thu Apr 25 02:20:24 GMT 2024

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

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

Back to the top