Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 635
Anon Support 2010 Avatar asked May 19 '10 12:05

Anon Support 2010


1 Answers

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

like image 121
Anon Support 2010 Avatar answered Sep 22 '22 13:09

Anon Support 2010