Skip to content

Commit

Permalink
Added a check for Equinox when switching from bnd to standard Equinox
Browse files Browse the repository at this point in the history
  • Loading branch information
Neha Burnwal committed Jan 3, 2025
1 parent 2c1860a commit ca40a1b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
import org.eclipse.jface.viewers.ViewerFilter;
import org.eclipse.jface.wizard.IWizardNode;
import org.eclipse.pde.bnd.ui.templating.RepoTemplateLabelProvider;
import org.eclipse.pde.internal.core.ICoreConstants;
import org.eclipse.pde.internal.ui.IHelpContextIds;
import org.eclipse.pde.internal.ui.PDEUIMessages;
import org.eclipse.pde.internal.ui.elements.ElementList;
Expand Down Expand Up @@ -67,7 +68,8 @@ public boolean select(Viewer viewer, Object parentElement, Object element) {
boolean ui = data.isUIPlugin();
boolean rcp = data.isRCPApplicationPlugin();
boolean osgi = data.getOSGiFramework() != null;
boolean automatic = osgi && data.isAutomaticMetadataGeneration();
boolean automatic = osgi && data.isAutomaticMetadataGeneration()
&& !data.getOSGiFramework().equals(ICoreConstants.EQUINOX);
WizardElement welement = (WizardElement) element;
boolean active = TemplateWizardHelper.isActive(welement);
boolean uiFlag = welement.getFlag(TemplateWizardHelper.FLAG_UI, true);
Expand Down

0 comments on commit ca40a1b

Please sign in to comment.