简体   繁体   English

eclipse中的“已安装软件”与“功能”对比“插件”

[英]The “Installed Software” vs “Features” vs “Plug-ins” in eclipse

When I click the Installation Details in eclipse, 当我在eclipse中单击Installation Details时, 在此输入图像描述

I got this tab for Installed software 我得到了Installed software这个标签

在此输入图像描述

and a tab for Features Features选项卡

在此输入图像描述

and a tab for plug-ins . plug-ins的选项卡。

在此输入图像描述

What are the relationships between eclipse software, eclipse features, and eclipse plugin as is shown in this window? eclipse软件,eclipse功能和eclipse插件之间的关系如此窗口所示?

I guess Help -> Install New Software ... to install software, and software is comprised of a bunch of related plugins. 我猜Help -> Install New Software ...安装软件,软件由一堆相关的插件组成。 Those two tabs are just the same contents (software names/plugin names) that is installed from Install New Software ... menu? 这两个选项卡是从Install New Software ...菜单Install New Software ...的相同内容(软件名称/插件名称)?

In his answer https://stackoverflow.com/a/12863077/260127 , Bananeweizen says Eclipse "features" are the smallest installable pieces of Eclipse applications for users (eg the Java development toolkit). They consist of multiple plugins, where plugins are the smallest pieces that make sense from the developers point of view (eg org.eclipse.jdt.core, org.eclipse.jdt.ui, org.eclipse.jdt.somethingelse). Bananeweizen在他的回答https://stackoverflow.com/a/12863077/260127中说, Eclipse "features" are the smallest installable pieces of Eclipse applications for users (eg the Java development toolkit). They consist of multiple plugins, where plugins are the smallest pieces that make sense from the developers point of view (eg org.eclipse.jdt.core, org.eclipse.jdt.ui, org.eclipse.jdt.somethingelse). Eclipse "features" are the smallest installable pieces of Eclipse applications for users (eg the Java development toolkit). They consist of multiple plugins, where plugins are the smallest pieces that make sense from the developers point of view (eg org.eclipse.jdt.core, org.eclipse.jdt.ui, org.eclipse.jdt.somethingelse). , but to me it seems like eclipse feature is almost the same as eclipse software, and eclipse application is a set of eclipse software(feature) on top of eclipse platform. ,但对我来说,似乎eclipse功能与eclipse软件几乎相同,而eclipse应用程序是eclipse平台上的一组eclipse软件(功能)。

"Installed software" is that subset of features, which you as a user actively choose to install in this Eclipse instance. “已安装的软件”是作为用户主动选择在此Eclipse实例中安装的功能子集。

The features list on the other hand contains all features installed in this Eclipse instance. 另一方面,功能列表包含此Eclipse实例中安装的所有功能。 It includes all items from "installed software" and it contains the dependencies of the items from "installed software". 它包括“已安装软件”中的所有项目,它包含“已安装软件”中项目的依赖项。 Those are the features which you did not choose to install by yourself, but the Eclipse P2 update manager decided that, to be able to satisfy your installation request. 这些是您自己没有选择安装的功能,但Eclipse P2更新管理器决定,以便能够满足您的安装请求。

So again, an Eclipse installation process installs features, some of them on request of the user, some of them on request of the system to be able to install those from the user. 因此,Eclipse安装过程再次安装功能,其中一些应用户的请求,其中一些应系统的请求,以便能够从用户安装这些功能。

To make this all more complicated, Eclipse features are often referred to as "plugins" by Eclipse users, although that is not correct. 为了使这一切变得更加复杂,Eclipse用户通常将Eclipse功能称为“插件”,尽管这不正确。 So if you read about something like "installing the PHP plugin", that really refers to installing the PHP feature, which again consists of multiple plugins (but you don't see those as an Eclipse user, only as an Eclipse developer). 因此,如果您阅读类似“安装PHP插件”的内容,那么实际上是指安装PHP功能,该功能同样包含多个插件(但您不会将其视为Eclipse用户,仅作为Eclipse开发人员)。

You can double click one of the features in that dialog to see the list of plugins it contains. 您可以双击该对话框中的某个功能以查看其包含的插件列表。

A plugin is that adds specific abilities to a larger software application. 插件可以为更大的软件应用程序添加特定功能。

Each plug-in 1)Contributes to 1 or more extension points(Means it can increase his property by just connecting it to any extension point) 2.)Small set of prog which generally require JRE and add some small feature to your Eclipse SDK.. 每个插件1)贡献一个或多个扩展点(意味着它可以通过将其连接到任何扩展点来增加其属性)2。)一小部分prog,通常需要JRE并为Eclipse SDK添加一些小功能。 。

While eclipse software is a set of plugins(Generally called RCP-Rich Client Platform )which provide a complete functionality to eclipse SDK. 虽然eclipse软件是一组插件(通常称为RCP-Rich Client Platform),它为eclipse SDK提供了完整的功能。

Yep, software may consists of multiple plugins. 是的,软件可能包含多个插件。 "Installed" not only means that you have installed them via update site, but also this software were included in that package of eclipse. “已安装”不仅意味着您已通过更新站点安装它们,而且此软件也包含在该eclipse包中。

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

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