In the wizard presented, select Plug-in project as the type of project you want to create.
在显示的向导中,选择plug - inProject作为需要创建的项目类型。
Give your project a name, such as org.my.eclipse.xmleditor, click Next, and accept the default values on the screen Plug-in project Structure.
给项目命名(如org . my . eclipse . xmleditor),单击Next,然后接受屏幕Plug - inProject Structure上的缺省值。
Your transformation extension begins with a new plug-in project.
您的转换扩展从一个新的插件项目开始。
You are going to use this project to test your plug-in project in the next task.
您可以使用这个项目,以在下一个任务中测试您的插件项目。
The first item that we require is a plug-in project where our code and extension will reside.
我们需要的第一个条目是一个插件项目,我们的代码和扩展将放在这个插件项目中。
This creates a standard plug-in project with one transformation provider that is used to define new transformations.
这样就生成了标准的插件项目,并带有用于定义新转换的转换提供者。
The first part of the plug-in development workflow involves creating a plug-in project.
插件开发工作流程的第一部分涉及创建一个插件项目。
You must do this because you want to copy the files to your plug-in project before you do any more work.
您必须这样做,因为需要把文件复制到插件项目中,然后才能执行其他操作。
The next few sections demonstrate how to build this plug-in project.
下几个部分将演示如何构建这个插件项目。
First, we generate a plug-in project following these steps.
首先,按以下步骤,生成一个插件项目。
You will now create a plug-in project to extend the included UML-to-WSDL transformation so that it generates WSDL files.
现在您可以创建一个插件项目,以扩展包含uml到wsdl转换,这样它就能生成WSDL文件。
Doing so requires copying the HTML output from the new help plug-in project, but you don't want to do that manually each time.
因此需要复制新帮助插件项目的HTML输出,但是您不希望每次都手动执行该操作。
The ODA Runtime Driver Plug-in Project is used when developing the run-time portion of your driver.
当开发你自己驱动的运行时部分时,需要利用ODA运行时驱动的插件项目。
The ODA Designer Plug-in Project is used when constructing the GUI, which is called when a report developer USES your driver.
我们构建图形界面时需要使用ODA设计器插件,该插件是报表开发者使用相应的驱动时所需要的。
Creating and configuring a new plug-in project.
创建并配置一个新的插件项目。
Right click on the plug-in project and select Export (Figure 65).
右键单击插件项目并且选择Export(图65)。
Here you select an Eclipse plug-in project.
在这里选择一个Eclipse插件项目。
The transformation extension begins with a new plug-in project
转换扩展以新的插件工程开始
Accept the default plug-in project structure on the following page by selecting Next.
在下一页上,选择Next以接受缺省插件项目结构。
Once you create the plug-in project, edit the ShiroWebXmlPlugin.groovy file, and add the code shown in Listing 7.
创建了这个插件项目后,编辑 ShiroWebXmlPlugin.groovy文件,并添加如 清单 7 所示的代码。
Once you have created the zip file, add it into the examples folder in the plug-in project.
当您建立好了zip文件后,将其添加到插件项目的样例文件夹中。
You can now edit the name of the page in the plugin.properties file in the plug-in project.
您现在可以在项目的插件的plugin . properties文件中编辑页面的名称。
Pluglet execution is taken from the binary files within your plug-in project.
Pluglet通过插件程序项目里的二进制文件来执行。
After these configuration steps are completed, your Eclipse workspace is ready for a plug-in project.
完成这些配置步骤后,插件项目所需的Eclipse工作区即已就绪。
Figure 4. New Plug-in Project wizard final page When the wizard finishes, it creates a new plug-in project and opens the Overview page of the project descriptor (Figure 5).
NewPlug-inProject向导最后一页。当完成向导时,就会创建一个新的插件工程并且打开工程描述符的Overview 页(图5)。
In the newly created Hello project, add the following plug-ins as project dependencies.
在新创建的Hello项目中,添加如下的插件作为项目依赖项。
To let Eclipse know that you are developing a plug-in, you start by creating a plug-in project.
要让Eclipse了解您正在开发插件,首先需要创建一个插件项目。
If the two JAR files are missing, verify that you have imported both files into your Dictionary plug-in project.
如果缺少这两个JAR文件,请确认是否将其导入了Dictionary插件项目中。
I've provided the BBCDT as a plug-in and a plug-in project.
我将BBCDT作为一个插件或插件项目来提供。
Image shows more about creating a new plug-in project.
继续创建这个新插件项目。
应用推荐