diff --git a/org.eclipse.wb.core/src-gef/org/eclipse/wb/gef/core/policies/EditPolicy.java b/org.eclipse.wb.core/src-gef/org/eclipse/wb/gef/core/policies/EditPolicy.java
index b2de41aba..9143a2dee 100644
--- a/org.eclipse.wb.core/src-gef/org/eclipse/wb/gef/core/policies/EditPolicy.java
+++ b/org.eclipse.wb.core/src-gef/org/eclipse/wb/gef/core/policies/EditPolicy.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2011, 2025 Google, Inc. and others.
+ * Copyright (c) 2011, 2026 Google, Inc. and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
@@ -17,7 +17,6 @@
import org.eclipse.draw2d.EventListenerList;
import org.eclipse.gef.EditPart;
import org.eclipse.gef.Request;
-import org.eclipse.gef.commands.Command;
import java.util.Iterator;
@@ -76,36 +75,6 @@ public boolean isActive() {
// Request/Command
//
////////////////////////////////////////////////////////////////////////////
- /**
- * Returns the {@link Command} contribution for the given
- * {@link Request}, or null. null is treated as a no-op by
- * the caller, or an empty contribution.
- */
- public Command getCommand(Request request) {
- return null;
- }
-
- /**
- * Returns null or the appropriate {@link EditPart} for the specified
- * {@link Request}. In general, this {@link EditPolicy} will return its host
- * {@link EditPart} if it understands the {@link Request}. Otherwise, it will return
- * null.
- *
- * This method is declared on {@link EditPart#getTargetEditPart(Request) EditPart}, and is
- * redeclared here so that {@link EditPart} can delegate its implementation to each of its
- * EditPolicies. The first non- null result returned by an {@link EditPolicy} is
- * returned by the {@link EditPart}.
- */
- public EditPart getTargetEditPart(Request request) {
- return null;
- }
-
- /**
- * Returns true if this {@link EditPolicy} understand the specified request.
- */
- public boolean understandsRequest(Request request) {
- return false;
- }
/**
* Performs the specified Request. This method can be used to send a generic message to an
@@ -115,65 +84,6 @@ public boolean understandsRequest(Request request) {
public void performRequest(Request request) {
}
- ////////////////////////////////////////////////////////////////////////////
- //
- // Source Feedback
- //
- ////////////////////////////////////////////////////////////////////////////
- /**
- * Shows or updates source feedback for the specified {@link Request}. This
- * method may be called repeatedly for the purpose of updating feedback based on changes to the
- * {@link Request}.
- *
- * Does nothing if the EditPolicy does not recognize the given {@link Request}. - *
- * This method is declared on {@link EditPart#showSourceFeedback(Request) EditPart}, and is
- * redeclared here so that EditPart can delegate its implementation to each of its EditPolicies.
- */
- public void showSourceFeedback(Request request) {
- }
-
- /**
- * Erases source feedback based on the given {@link Request}. Does nothing if the
- * {@link EditPolicy} does not apply to the given {@link Request}.
- *
- * This method is declared on {@link EditPart#eraseSourceFeedback(Request) EditPart}, and is
- * redeclared here so that {@link EditPart} can delegate its implementation to each of its
- * EditPolicies.
- */
- public void eraseSourceFeedback(Request request) {
- }
-
- ////////////////////////////////////////////////////////////////////////////
- //
- // Target Feedback
- //
- ////////////////////////////////////////////////////////////////////////////
- /**
- * Shows or updates target feedback for the specified {@link Request}. This
- * method may be called repeatedly for the purpose of updating feedback based on changes to the
- * {@link Request}.
- *
- * Does nothing if the EditPolicy does not recognize the given request. - *
- * This method is declared on {@link EditPart#showTargetFeedback(Request) EditPart}, and is
- * redeclared here so that {@link EditPart} can delegate its implementation to each of its
- * EditPolicies.
- */
- public void showTargetFeedback(Request request) {
- }
-
- /**
- * Erases target feedback based on the given {@link Request}. Does nothing if the
- * {@link EditPolicy} does not apply to the given {@link Request}.
- *
- * This method is declared on {@link EditPart#eraseTargetFeedback(Request) EditPart}, and is - * redeclared here so that {@link EditPart} can delegate its implementation to each of its - * EditPolicies. - */ - public void eraseTargetFeedback(Request request) { - } - //////////////////////////////////////////////////////////////////////////// // // Events