Eclipse Spring preferences re-organization
This commit is contained in:
@@ -47,6 +47,7 @@ Export-Package: org.springframework.ide.eclipse.boot.core,
|
||||
org.springframework.ide.eclipse.boot.core.initializr,
|
||||
org.springframework.ide.eclipse.boot.core.internal,
|
||||
org.springframework.ide.eclipse.boot.ui,
|
||||
org.springframework.ide.eclipse.boot.ui.preferences,
|
||||
org.springframework.ide.eclipse.boot.util,
|
||||
org.springframework.ide.eclipse.boot.util.version
|
||||
Import-Package: org.apache.commons.lang;version="2.6.0",
|
||||
|
||||
@@ -30,25 +30,23 @@
|
||||
category="org.springsource.ide.eclipse.commons.preferencePage"
|
||||
class="org.springframework.ide.eclipse.boot.ui.preferences.BootPreferencePage"
|
||||
id="org.springframework.ide.eclipse.boot.ui.preferences.BootPreferencePage"
|
||||
name="Boot">
|
||||
</page>
|
||||
</extension>
|
||||
|
||||
<extension point="org.eclipse.ui.preferencePages">
|
||||
<page
|
||||
category="org.springframework.ide.eclipse.boot.ui.preferences.BootPreferencePage"
|
||||
class="org.springframework.ide.eclipse.boot.ui.preferences.BootInstallPreferencePage"
|
||||
id="org.springframework.ide.eclipse.boot.ui.preferences.BootInstallPreferencePage"
|
||||
name="CLI">
|
||||
name="Boot Launch Support">
|
||||
</page>
|
||||
<page
|
||||
category="org.springframework.ide.eclipse.boot.ui.preferences.BootPreferencePage"
|
||||
category="org.springsource.ide.eclipse.commons.preferencePage"
|
||||
class="org.springframework.ide.eclipse.boot.ui.preferences.InitializrPreferencePage"
|
||||
id="org.springframework.ide.eclipse.boot.ui.preferences.InitializrPreferencePage"
|
||||
name="Initializr">
|
||||
name="Initializr Integration - start.spring.io">
|
||||
</page>
|
||||
<page
|
||||
category="org.springframework.ide.eclipse.boot.dash.prefs.BootDashPrefsPage"
|
||||
class="org.springframework.ide.eclipse.boot.ui.preferences.BootInstallPreferencePage"
|
||||
id="org.springframework.ide.eclipse.boot.ui.preferences.BootInstallPreferencePage"
|
||||
name="Boot CLI Integration">
|
||||
</page>
|
||||
</extension>
|
||||
|
||||
|
||||
<extension point="org.eclipse.ui.decorators">
|
||||
<decorator
|
||||
id="org.springframework.ide.eclipse.boot.ui.DevtoolsProjectDecorator"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2015, 2017 Pivotal, Inc.
|
||||
* Copyright (c) 2015, 2023 Pivotal, Inc.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
@@ -10,10 +10,10 @@
|
||||
*******************************************************************************/
|
||||
package org.springframework.ide.eclipse.boot.ui.preferences;
|
||||
|
||||
import static org.springframework.ide.eclipse.boot.core.BootPreferences.*;
|
||||
import static org.springframework.ide.eclipse.boot.core.BootPreferences.PREF_BOOT_FAST_STARTUP_DEFAULT;
|
||||
import static org.springframework.ide.eclipse.boot.core.BootPreferences.PREF_BOOT_FAST_STARTUP_JVM_ARGS;
|
||||
import static org.springframework.ide.eclipse.boot.core.BootPreferences.PREF_BOOT_FAST_STARTUP_REMIND_MESSAGE;
|
||||
import static org.springframework.ide.eclipse.boot.core.BootPreferences.PREF_BOOT_PROJECT_EXCLUDE;
|
||||
import static org.springframework.ide.eclipse.boot.core.BootPreferences.PREF_BOOT_THIN_WRAPPER;
|
||||
import static org.springframework.ide.eclipse.boot.core.BootPreferences.PREF_IGNORE_SILENT_EXIT;
|
||||
|
||||
import org.eclipse.debug.internal.ui.preferences.BooleanFieldEditor2;
|
||||
@@ -48,17 +48,8 @@ public class BootPreferencePage extends FieldEditorPreferencePage implements IWo
|
||||
protected void createFieldEditors() {
|
||||
Composite parent = getFieldEditorParent();
|
||||
|
||||
Group generalGroup = new Group(parent, SWT.NONE);
|
||||
generalGroup.setText("General");
|
||||
generalGroup.setLayoutData(GridDataFactory.fillDefaults().grab(true, false).create());
|
||||
generalGroup.setLayout(GridLayoutFactory.fillDefaults().create());
|
||||
|
||||
StringFieldEditor projectExclude = new RegExpFieldEditor(PREF_BOOT_PROJECT_EXCLUDE, "Exclude Projects", generalGroup);
|
||||
setTooltip(generalGroup, projectExclude, "Any project who's name matches this regexp will NOT be treated as a Spring Boot App");
|
||||
addField(projectExclude);
|
||||
|
||||
BooleanFieldEditor2 ignoreSilentExit = new BooleanFieldEditor2(PREF_IGNORE_SILENT_EXIT, "Ignore Silent Exit", SWT.CHECK, generalGroup);
|
||||
setTooltip(generalGroup, ignoreSilentExit, "When debugging a Boot App, do not suspend when 'SilentExitException' is raised. "
|
||||
BooleanFieldEditor2 ignoreSilentExit = new BooleanFieldEditor2(PREF_IGNORE_SILENT_EXIT, "Ignore Silent Exit", SWT.CHECK, parent);
|
||||
setTooltip(parent, ignoreSilentExit, "When debugging a Boot App, do not suspend when 'SilentExitException' is raised. "
|
||||
+ "(This exception is raised by spring-boot-devtools as part of its normal operation)");
|
||||
addField(ignoreSilentExit);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user