blob: 70f2d1080456c0d546f10123b52048f03af4271c [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2009 IBM Corporation 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:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.equinox.p2.ui;
import org.eclipse.swt.widgets.Control;
/**
* ICopyable defines an interface for elements that provide
* copy support in a UI. The active control in the UI determines
* what should be copied.
*
* @since 2.0
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface ICopyable {
/**
* Copy text related to the active control to the clipboard.
*
* @param activeControl the active control
*/
public void copyToClipboard(Control activeControl);
}