From 3dba4180d318857b9d0d1998c99ecdcd2cfa5cf6 Mon Sep 17 00:00:00 2001 From: Steffen Holzer Date: Mon, 14 Nov 2016 16:16:56 +0100 Subject: [507594] Provide improved support for controlling the the installer wizard appearance https://bugs.eclipse.org/bugs/show_bug.cgi?id=507594 1 - PROP_SETUP_LAUNCH_AUTOMATICALLY ('oomph.setup.installer.launch'): If set, the 'launch automatically' and the 'Restart automatically if needed' boxes do not appear in the installer. The set value is used instead 2- PROP_SETUP_INSTALLER_P2_POOL ('oomph.setup.installer.p2pool'): If set the 'use p2 bundle pool' check box is removed from the installer and the set value is used instead. Change-Id: I7d71d8ca5a62a0714caa6506514f3837efb10ade Signed-off-by: Steffen Holzer --- .../org/eclipse/oomph/internal/setup/SetupProperties.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'plugins/org.eclipse.oomph.setup/src') diff --git a/plugins/org.eclipse.oomph.setup/src/org/eclipse/oomph/internal/setup/SetupProperties.java b/plugins/org.eclipse.oomph.setup/src/org/eclipse/oomph/internal/setup/SetupProperties.java index aad8db5c3..3b380528f 100644 --- a/plugins/org.eclipse.oomph.setup/src/org/eclipse/oomph/internal/setup/SetupProperties.java +++ b/plugins/org.eclipse.oomph.setup/src/org/eclipse/oomph/internal/setup/SetupProperties.java @@ -35,6 +35,9 @@ public interface SetupProperties public static final String PROP_SETUP_MIRRORS = "eclipse.p2.mirrors"; + /** + * Automatically accepts unsigned content if set to 'true'. + */ public static final String PROP_SETUP_UNSIGNED_POLICY = "eclipse.p2.unsignedPolicy"; public static final String PROP_SETUP_REMOTE_DEBUG = "oomph.setup.remote.debug"; @@ -45,6 +48,10 @@ public interface SetupProperties public static final String PROP_SETUP_SYNC_TIMEOUT = "oomph.setup.sync.timeout"; + /** + * The value 'simple' starts the installer in simple mode, 'advanced' in advanced mode. + * The property is not case sensitive. + */ public static final String PROP_SETUP_INSTALLER_MODE = "oomph.setup.installer.mode"; public static final String PROP_SETUP_PRODUCT_CATALOG_FILTER = "oomph.setup.product.catalog.filter"; @@ -64,4 +71,9 @@ public interface SetupProperties public static final String PROP_INSTALLER_UPDATE_URL = "oomph.installer.update.url"; public static final String PROP_SETUP_USER_AGENT = "oomph.userAgent"; + + /** + * If set, the 'launch automatically' and the 'restart if needed' check boxes are not displayed; instead the property value (true or false) is used directly. + */ + public static final String PROP_SETUP_LAUNCH_AUTOMATICALLY = "oomph.setup.launch.automatically"; } -- cgit v1.2.3