• Post Reply Bookmark Topic Watch Topic
  • New Topic

Adding toolbar (Action bars) to Tabbed Properties View in Eclipse

 
Sathish Kumar Subramanian
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to add a toolbar (action bar) in Tabbed Properties View, It should appear only when the particular tab is selected.

Thanks in Advance.
 
Rob Spoor
Sheriff
Posts: 20817
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What have you already tried? We are NotACodeMill.
 
Sathish Kumar Subramanian
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rob,

Apologies !

I have tried the same with normal view extending org.eclipse.ui.part.ViewPart, and it worked :



Now, I want to do the same in Tabbed Properties View, I have a problem when trying to getViewSite(). It doesnt have this method.

I wanted to know the way how the toolbar can be added in tabbed properties view.

Thanks in advance !

 
Rob Spoor
Sheriff
Posts: 20817
68
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please UseCodeTags instead of color tags next time? I've replaced them for you (and added some indentation), and see how much easier your code is to read.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!