From 45b37ef4e82fd39cc6f57f197235be76898e752c Mon Sep 17 00:00:00 2001 From: Alena Laskavaia Date: Mon, 28 Apr 2008 21:51:51 +0000 Subject: [PATCH] - added interface for breakpoint ui contribution users --- .../ICBreakpointsUIContributionUser.java | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpoints/ICBreakpointsUIContributionUser.java diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpoints/ICBreakpointsUIContributionUser.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpoints/ICBreakpointsUIContributionUser.java new file mode 100644 index 00000000000..77e439613a9 --- /dev/null +++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/ui/breakpoints/ICBreakpointsUIContributionUser.java @@ -0,0 +1,29 @@ +/******************************************************************************* + * Copyright (c) 2008 QNX Software Systems and others. + * 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 + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * QNX Software Systems - Initial API and implementation + *******************************************************************************/ +package org.eclipse.cdt.debug.ui.breakpoints; + +/** + * This interface can be implemented by FieldEditors used in {@extensionPoint org.eclipse.cdt.debug.ui.breakpointContribution} extension. + * This allow to connect field back to parent that creates it {@link ICBreakpointsUIContribution} +*/ +public interface ICBreakpointsUIContributionUser { + /** + * sets the contribution + * @param contribution + */ + void setContribution(ICBreakpointsUIContribution contribution); + + /** + * get the contribution + * @return contribution + */ + ICBreakpointsUIContribution getContribution(); +}