简体   繁体   English

Eclipse示例项目“多页编辑器”应该如何运行?

[英]How is the Eclipse sample project “Multipage Editor” supposed to run?

I installed Eclipse Luna in XP yesterday and opened the sample project "Mutlipage Editor". 我昨天在XP中安装了Eclipse Luna,并打开了示例项目“ Mutlipage Editor”。 When I click "Run" all that happens is another copy of Eclipse opens looking like the first copy but all the workspace boxes are empty. 当我单击“运行”时,所发生的是另一个Eclipse副本打开,看起来像第一个副本,但所有工作区框均为空。

I guess I was expecting either an emulator to start or the ability to run it on my Android phone. 我想我期待模拟器启动或能够在我的Android手机上运行它。 Can anyone get me started please? 有人可以让我开始吗?

When you run an Eclipse plugin it has to run in an instance of Eclipse so that all the other plugins that the plugin depends on are available. 当您运行Eclipse插件时,它必须在Eclipse实例中运行,以便该插件依赖的所有其他插件可用。

The default 'Multipage Editor' is associated with a file type (.mpe I think). 默认的“多页编辑器”与文件类型(我认为是.mpe)相关联。 So create a file with that type and open it to see the editor. 因此,创建具有该类型的文件并打开它以查看编辑器。

You can also write an Eclipse Rich Client Program (RCP) where you can select the available plugins and the look of the UI, but this requires additional code. 您还可以编写Eclipse胖客户端程序(RCP),在其中可以选择可用的插件和UI的外观,但这需要其他代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM