图5展示了所生成的插件编辑器。
修复风格故障插件编辑器。
使用插件插件编辑器子面板,你可以修改你的所有插件的源代码。
Using the WordPress:Plugins Plugin Editor SubPanel, you can modify the source code of all your plugins.
要指定依赖关系,需要在插件编辑器的 Dependencies页面中完成。
To specify dependencies, you have to be on the Dependencies page of the plug-in editor.
此操作完成后,可以转至插件编辑器的Extensions选项卡,然后开始创建模板。
Once this is done, we can go to the Extensions TAB of the plug-in editor and begin creating our template.
打开UI项目的插件编辑器(双击plugin . xml)并切换至extensions项。
Open the plug-in editor of the UI project (double-click the plugin.xml) and go to the Extensions TAB.
打开插件编辑器的dependencies项,并向RequiredPlug - ins部分添加以下的插件。
Open the Dependencies TAB of the plug-in editor and add the following plug-ins to the Required plug-ins section.
正如您所见,插件编辑器将引导您执行创建插件定义和插件扩展定义的步骤,自动更新plugin . xml文件。
As you can see, the plug-in editor guides you through the steps of creating your plug-in definition and plug-in extension definitions, automatically updating the plugin.xml file.
在插件编辑器右边的ExtensionElementDetails之中,现在您可以选择一个已存在的确认器类,或者创建一个新的确认器类(如该案例所示)。
In the Extension Element Details form on the right side of the plug-in editor, you can now select an existing validator class or create a new validator class (as in this case).
现在让我们回顾一下整个过程是如何实现的,我们从插件编辑器的角度入手,创建插件,并将com . tools . logging添加到从属类型列表中,然后创建一个Log4j配置文件。
Let's review how to do this, starting from the plug-in writer's point of view. Just create your plug-in, add com.tools.logging to its dependency list, and create a Log4j configuration file.
对于需要手动编辑此文件源代码的高级用户,PDE提供了一个源代码编辑器,其中提供了针对插件清单定义中的各种文件头的代码完成功能。
For advanced users wishing to edit the source of this file by hand, PDE offers a source editor with code completion for the various headers found in a plug-in manifest definition.
选择基本的建模插件和两个编辑器插件。
Select the principal modeling plug-in and the two editor plug-ins.
因为我们没有构建文件编辑的插件所以代码也禁用编辑器区域。
The code also disables the editor area since we are not building a plug-in to edit files.
现在有一个编辑器(参见图5)可帮助处理这个新插件。
We're now presented with an editor (see Figure 5) to help us work with the fresh plug-in.
切换至附件标签(在编辑器的底部可以找到它),并添加作为附件的如下插件。
Switch to the dependencies TAB (found at the bottom of this editor) and add the following plug-ins as a dependency.
很多编辑器都包括了对各种浏览器的插件支持,这样一来,就可以从编辑器中启动浏览器来对页面进行测试。
Many editors include add-on support for various browsers making it possible to test the page by launching the browser from the editor.
简单地双击这个plugin . xml文件,这个编辑器就会启动,提供插件的详细资料,如图10所示。
Simply double-click the plugin.xml file and the editor will launch, providing plug-in details, as shown in Figure 10.
打包的选项有很多,但通常,可以将这个Web应用程序放入一个Eclipse插件以便编辑器类可以访问它。
There are many package options, but typically, you would place the Web application into an Eclipse plug-in so your editor class can access it.
注,插件清单编辑器中的Overview页面提供了一个用于启动向导的简单超级链接。
Note that the Overview page in the plug-in manifest editor provides an easy hyperlink to launch the wizard.
本文将在Eclipse编辑器插件的环境中展示内容助理的实现,并给出关于如何通过“裸”SourceViewers使用内容助理的技巧。
This article demonstrates the implementation of content assistants in the context of an Eclipse editor plug-in, and gives some hints on how to use content assistants with "naked" SourceViewers.
拓扑编辑器所使用的插件
现在我们已经准备好启动编辑器插件了,创建一个新项目来保存我们的具体模型(我们的模型命名为Test2)。
Now we are ready to launch the editor plug-in by creating a new project to hold our concrete model (ours will be named Test2).
定制EMF编辑器插件使用资源工厂。
报表编辑器 :使用EclipseBIRT插件创建报表,展示关键性能指标。
Report editor: Uses the Eclipse BIRT (Business Intelligence Reporting Tool) plugin to create reports that show the key performance indicators.
切换到Dependencies选项卡(在该编辑器的底部),并将以下插件作为依赖性添加。
Switch to the dependencies TAB (at the bottom of this editor), and add the following plug-ins as dependencies.
真正妙的是您可以双击Metrics列表中的方法,该插件会在Eclipse编辑器中为此方法打开源代码。
What's really nice is that you can double-click the method from the Metrics list and the plugin opens the source code for this method in the Eclipse editor.
它们拥有自己的XML语言,但是,使用Eclipse插件能够为这些契约提供更直观的编辑器。
These have their own XML language, but once again, the use of an Eclipse plug-in makes it possible to get a more intuitive editor for these contracts.
选择框架顶部的sample. buddynote附签,从而显示之前使用过的插件清单编辑器的Extensions附签。
Select the sample.buddynote TAB at the top of the frame to display the Extensions TAB of the plug-in manifest editor you were working with earlier.
插件实现编辑器的大部分(即您在屏幕上看到的大部分),这意味着。
Plug-ins implement most of the editor (that is, most of what you see on-screen), which means that.
安装插件之后,我使用SwingExplorer启动了HTML编辑器主类,如图2所示。
After installing the plug-in, I launch the HTML editor main class using Swing Explorer, as shown in Figure 2.
应用推荐