Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Create a button on viewer
Create a button on viewer [message #1208645] Mon, 25 November 2013 05:37 Go to next message
no name no name is currently offline no name no nameFriend
Messages: 28
Registered: February 2012
Junior Member
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 09:06 Go to previous message
frank b is currently offline frank bFriend
Messages: 39
Registered: July 2009
Member
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: Wed Nov 26 06:56:13 GMT 2014

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

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