From a3a57124c4affad82e88c27246bf5e486966bacf Mon Sep 17 00:00:00 2001 From: Anvi <107345013+anviik@users.noreply.github.com> Date: Sun, 10 Nov 2024 13:39:41 -0800 Subject: [PATCH] Expand 'Extra Classpath Entries' section in Manifest editor by default Part of https://github.com/eclipse-pde/eclipse.pde/issues/1407 --- .../pde/internal/ui/editor/build/BuildClasspathSection.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/build/BuildClasspathSection.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/build/BuildClasspathSection.java index 704668feed..10b191b1a3 100644 --- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/build/BuildClasspathSection.java +++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/build/BuildClasspathSection.java @@ -171,8 +171,7 @@ private IBuildModel getBuildModel() { public void initialize() { getBuildModel().addModelChangedListener(this); - IBuildEntry entry = getBuildModel().getBuild().getEntry(IBuildPropertiesConstants.PROPERTY_JAR_EXTRA_CLASSPATH); - getSection().setExpanded(entry != null && entry.getTokens().length > 0); + getSection().setExpanded(true); } @Override