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 00:37 Go to next message
no name no name is currently offline no name no name
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 04:06 Go to previous message
frank b is currently offline frank b
Messages: 36
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: Sat Apr 19 12:03:28 EDT 2014

Powered by FUDForum. Page generated in 0.01975 seconds