Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » dynamic generation of contents inside view
dynamic generation of contents inside view [message #242734] Thu, 20 May 2004 08:57
Eclipse UserFriend
Originally posted by: aditya.louisiana.edu

Hi all,

I am trying to generate contents inside a view dynamically. i.e I want
whenever i press a action button on my workbench page, view gets
poupulated with the swt widgets, "labels" in particular, having some
strings gererated at runtime. I am able to do it statically by adding
widgets in createPartControl.

To make it more clear i have a blank view when the perspective opens but i
need it to get populated after i press some button.

I have tried to add selectionListener in createPartControl method but
don't know what to write in public void run(IAction action) of my
Actionset class that implements IWorkbenchWindowActionDelegate. Also i
doubt that i can use any viewer (that has the refresh method) since it is
a customized view (please correct me if i am wrong). That is i think i
can't use ListViewer etc.

It also says that user should not call createPartControl method.

Please help!

Regards
Aditya
Previous Topic:Use an Ant file from code.
Next Topic:Eclipse Concepts
Goto Forum:
  


Current Time: Wed Jul 17 13:54:35 GMT 2024

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

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

Back to the top