Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -715,36 +715,6 @@ public static int openLaunchConfigurationDialog(Shell shell, ILaunchConfiguratio
return Window.CANCEL;
}

/**
* Saves all dirty editors and builds the workspace according to current
* preference settings, and returns whether a launch should proceed.
* <p>
* The following preferences affect whether dirty editors are saved, and/or if
* the user is prompted to save dirty editors:
* </p>
* <ul>
* <li>PREF_NEVER_SAVE_DIRTY_EDITORS_BEFORE_LAUNCH</li>
* <li>PREF_PROMPT_SAVE_DIRTY_EDITORS_BEFORE_LAUNCH</li>
* <li>PREF_AUTOSAVE_DIRTY_EDITORS_BEFORE_LAUNCH</li>
* </ul>
* The following preference affects whether a build is performed before
* launching (if required):
* <ul>
* <li>PREF_BUILD_BEFORE_LAUNCH</li>
* </ul>
*
* @return whether a launch should proceed
* @since 2.0
* @deprecated Saving has been moved to the launch delegate
* <code>LaunchConfigurationDelegate</code> to allow for scoped
* saving of resources that are only involved in the current launch,
* no longer the entire workspace
*/
@Deprecated(forRemoval = true, since = "2023-12")
public static boolean saveAndBuildBeforeLaunch() {
return DebugUIPlugin.saveAndBuild();
}

/**
* Saves all dirty editors according to current preference settings, and returns
* whether a launch should proceed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.MissingResourceException;
import java.util.Objects;
import java.util.ResourceBundle;
import org.eclipse.core.internal.runtime.AuthorizationHandler;
import org.eclipse.core.internal.runtime.InternalPlatform;
import org.eclipse.core.internal.runtime.Messages;
import org.eclipse.core.internal.runtime.MetaDataKeeper;
Expand Down Expand Up @@ -56,7 +55,7 @@
* exception might be thrown or incorrect result might be returned if a method
* from this class is called while Platform is not running.
* </p>
*/

Check warning on line 58 in runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java

View check run for this annotation

Jenkins - Eclipse Platform / API Tools

REMOVED

ERROR: The method org.eclipse.core.runtime.Platform.addProtectionSpace(URL, String) has been removed

Check warning on line 58 in runtime/bundles/org.eclipse.core.runtime/src/org/eclipse/core/runtime/Platform.java

View check run for this annotation

Jenkins - Eclipse Platform / API Tools

REMOVED

ERROR: The method org.eclipse.core.runtime.Platform.getPlatformAdmin() has been removed
public final class Platform {

/**
Expand Down Expand Up @@ -624,33 +623,6 @@
InternalPlatform.getDefault().addLogListener(listener);
}

/**
* Adds the specified resource to the protection space specified by the
* given realm. All targets at or deeper than the depth of the last
* symbolic element in the path of the given resource URL are assumed to
* be in the same protection space.
*
* @param resourceUrl the URL identifying the resources to be added to
* the specified protection space. For example,
* "http://www.example.com/folder/".
* @param realm the name of the protection space. For example,
* "realm1@example.com"
* @exception CoreException if there are problems setting the
* authorization information. Reasons include:
* <ul>
* <li>The key ring could not be saved.</li>
* </ul>
* @deprecated Authorization database is superseded by the Equinox secure storage.
* Use <code>org.eclipse.equinox.security.storage.SecurePreferencesFactory</code>
* to obtain secure preferences and <code>org.eclipse.equinox.security.storage.ISecurePreferences</code>
* for data access and modifications.
* This API will be deleted in a future release. See bug 370248 for details.
*/
@Deprecated(forRemoval = true, since = "2024-03")
public static void addProtectionSpace(URL resourceUrl, String realm) throws CoreException {
AuthorizationHandler.addProtectionSpace(resourceUrl, realm);
}

/**
* Returns a URL that is the local equivalent of the
* supplied URL. This method is expected to be used with the
Expand Down Expand Up @@ -1200,31 +1172,6 @@
return InternalPlatform.getDefault().getApplicationArgs();
}

/**
* Returns the platform administrator for this running Eclipse.
* <p>
* Note: This is an internal method and <em>must not</em> be used by clients
* which are not part of the Eclipse Platform. This method allows access to
* classes which are not Eclipse Platform API but are part of the OSGi runtime
* that the Eclipse Platform is built on. Even as the Eclipse Platform evolves
* in compatible ways from release to release, the details of the OSGi
* implementation might not.
* </p>
* <p>
* Clients can also acquire the {@link PlatformAdmin} service to retrieve this
* object.
* </p>
*
* @return the platform admin for this instance of Eclipse
* @deprecated only consumer is PDE and this should never be used by other
* clients, see javadoc for details.
* @since 3.0
*/
@Deprecated(forRemoval = true, since = "2024-03") // 2024-03 was added later for information purposes
public static PlatformAdmin getPlatformAdmin() {
return InternalPlatform.getDefault().getPlatformAdmin();
}

/**
* Returns the location of the platform's working directory (also known as the instance data area).
* <code>null</code> is returned if the platform is running without an instance location.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.update.configurator; singleton:=true
Bundle-Version: 3.5.1000.qualifier
Bundle-Version: 3.5.1100.qualifier
Bundle-Activator: org.eclipse.update.internal.configurator.ConfigurationActivator
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down

This file was deleted.

Loading