Using the Eclipse Wizard for rapid development

Source: Internet
Author: User

Entry

This article demonstrates how to use the wizard to add a new file to an existing Eclipse project. The Eclipse Wizard is an excellent way to define a repeatable file type template when the built-in templates are not functional. After reading this article, you should be able to implement your own wizards in Eclipse to create a new file.

To get the most out of this article, you must be familiar with how to build Java™ programming language classes, and you should also be familiar with inheriting and using interfaces. You should be able to start eclipse, but this article assumes that you are not proficient in eclipse.

Eclipse Wizard Overview

I love the many features of the Eclipse IDE. One of them is scalability. You can easily customize the IDE by adding plug-ins that provide functionality, including wizards that automatically create classes, interfaces, projects, and other resources. This feature is important for large organizations where plug-ins can be streamlined and distributed based on the Eclipse IDE, enabling many people to automatically take advantage of functionality.

In any enterprise, having a team build an application in the same style can provide many advantages. If the application is built in a consistent style, the application will be easier to maintain. Consistency can help reduce errors. In addition, because applications are built in the same style, team members can more easily complete one project after another.

The ability to create custom wizards for the Eclipse framework enables organizations to build enterprise-specific wizards that provide the opportunity for the team to create applications that use consistent best practices.

Create a new wizard

The custom wizards built in this article are located in the Eclipse's plug-in project. It's easy to start creating a custom wizard, thanks to other wizards that give you early help in writing code. In the next step, you will use the Plug-in Project Wizard to create the beginning of the plug-in.

To build a new plug-in project, follow these steps:

Select File > New > Project to select the Projects Wizard.

Under Plug-in Development, select Plug-in Project as follows:

Click Next to advance to the next step.

Figure 1. Select Plug-in Project

Add project name (in this article, the name is Examplewizard (not so creative), as shown in Figure 2. If there are no special reasons, use the default location. Click Next.

Figure 2. New Plug-in Project

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.