Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Create a button on viewer
Create a button on viewer [message #1208645] Mon, 25 November 2013 00:37 Go to next message
Eclipse UserFriend
Greetings all,
There is one scenario on which i need to add buttons on eclipse view(IVIEWPART)(Viewer) like treviewer/tableviewer/listviewer..
Can any one please tell me how to add buttons on such view?

Any help would appreciate. Smile





Re: Create a button on viewer [message #1213501 is a reply to message #1208645] Wed, 27 November 2013 04:06 Go to previous message
Eclipse UserFriend
Le 25/11/13 06:37, no name no name a écrit :
> Greetings all,
> There is one scenario on which i need to add buttons on eclipse
> view(IVIEWPART)(Viewer) like treviewer/tableviewer/listviewer..
> Can any one please tell me how to add buttons on such view?
>
> Any help would appreciate. :)
>

Hello,

you should be able to subclass ViewPart (use the XML plugin way) and
then override createPartControl(...) method. This is in the body of this
method that you can create your own GUI.

Hope I have porperly understood your question.
Previous Topic:OS X Mavericks: Vertical Scale renders wrong
Next Topic:Clear Cache in Safari
Goto Forum:
  


Current Time: Tue Jul 22 18:43:30 EDT 2025

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

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

Back to the top