Bug 181570 Cube should be able to copy, paste and cut [1101]
Description: Cube should be able to copy, paste and cut. Build number: 2.2.0.v20070409-0630 Steps to reproduce: 1. New a Cube. 2. Select Cube, Copy, Pase, Cut should be able use. Expected result: Copy, paste and cut can be used. Actual result: Cube can not be copy paste or cut. Error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/actions/CopyAction.java
import org.eclipse.birt.report.model.api.SlotHandle;
import org.eclipse.birt.report.model.api.StyleHandle;
import org.eclipse.birt.report.model.api.TableHandle;
import org.eclipse.birt.report.model.api.TemplateElementHandle;
import org.eclipse.birt.report.model.api.ThemeHandle;
import org.eclipse.core.commands.ExecutionException;
import org.eclipse.core.commands.NotEnabledException;
import org.eclipse.core.commands.NotHandledException;
import org.eclipse.core.commands.common.NotDefinedException;
import org.eclipse.gef.ui.actions.Clipboard;
import org.eclipse.jface.viewers.StructuredSelection;
import org.eclipse.swt.SWT;
import org.eclipse.ui.ISharedImages;
import org.eclipse.ui.PlatformUI;
/**
 * Copy action
 */
public class CopyAction extends AbstractViewAction
{
	private static final String DEFAULT_TEXT = Messages.getString( "CopyAction.text" ); 
	/**
	 * Create a new copy action with given selection and default text
	 * 
	 * @param selectedObject
	 *            the selected object,which cannot be null
	 * 
	 */
	public CopyAction( Object selectedObject )
	{
		this( selectedObject, DEFAULT_TEXT );