Reputation: 147
I m doing a Eclipse plug-in project to develop an IDE. I want to create a view with a text box and a button inside it. I know to create a view, it can be created using the Eclipse plug-in org.eclipse.ui.views
, but I'm not able to create the textbox and the button inside it.
Can anyone help me in doing this please?
Upvotes: 1
Views: 2596
Reputation: 170815
Every view is a class which implements IViewPart
. It has a method public void createPartControl(Composite parent)
. That's where you create your controls, using SWT. If you don't know SWT, read this tutorial.
Upvotes: 2