How do I extend a simple InputDialog in an eclipse plugin to put additional checkboxes, radio buttons, etc?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You need to create your own dialog box. You do that by using SWT, the Eclipse UI framework. If you are a good Java coder, the best thing you can (IMHO) do is look at the SWT code snippets.
Another option, perhaps better one, is using JFace. It is a framework built on top of SWT. JFace makes it easier to build the UI and it works with SWT without hiding it. You can find many code examples of doing dialog boxes with JFace here.