"This plug-in will make contributions to the UI" option - behavior and explanation

eclipse, eclipse-3.5, eclipse-plugin, eclipse-rcp, java

Solution

As far as I can tell, yes - it is ignored in that circumstance.

The "This plug-in will make contributions to the UI" toggle controls two things:

1) Which class the auto generated Activator class extends (see further explanation below).

2) The list of available templates to choose from on the "Next>" page of the wizard.

But if the first option isn't selected, neither of these are applicable. Almost seems like a bit of a form logic bug. The UI should ideally conditionally enable/disable the second toggle. Oh well...

If set to ON, Activator extends org.eclipse.ui.plugin.AbstractUIPlugin

if set to OFF, Activator extends org.eclipse.core.runtime.Plugin

Problem

Does the option "This plug-in will make contributions to the UI" essentially get ignored if the previous option "Generate an activator, a Java class that controls the plug-in's life cycle" is NOT selected" ? alt text http://img179.imageshack.us/img179/6710/newpluginoptions.png

Original source