blob: 7a5920fa644669b0a3ba856f1781d5d2f6ba750f [file] [log] [blame]
/*********************************************************************
* Copyright (c) 2005, 2019 SAP SE
*
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* Contributors:
* SAP SE - initial API, implementation and documentation
*
* SPDX-License-Identifier: EPL-2.0
**********************************************************************/
package org.eclipse.graphiti.features;
import org.eclipse.graphiti.features.context.IAddBendpointContext;
import org.eclipse.graphiti.features.impl.DefaultAddBendpointFeature;
/**
* The Interface IAddBendpointFeature. Feature, that can add a bendpoint to a
* {@link org.eclipse.graphiti.mm.pictograms.FreeFormConnection}.
*
* @noextend This interface is not intended to be extended by clients.
* @noimplement This interface is not intended to be implemented by clients,
* extend {@link DefaultAddBendpointFeature} instead.
*/
public interface IAddBendpointFeature extends IFeature {
/**
* Checks if bendpoint can be added.
*
* @param context
* the context
*
* @return true, if can add bendpoint
*/
boolean canAddBendpoint(IAddBendpointContext context);
/**
* Adds a bendpoint.
*
* @param context
* the context
*/
void addBendpoint(IAddBendpointContext context);
}