Clipboard Support

Identifier:
org.eclipse.gmf.runtime.emf.clipboard.core.clipboardSupport

Since:
7.0

Description:
Providers of EMF meta-models can implement extensions on this point to provide support for copying EMF objects to and pasting them from the system clipboard. The clipboard support allows extensions to implement fairly complex metamodel-specific semantics for copy/paste operations, where some relationships between model elements need special treatment.

Configuration Markup:

<!ELEMENT extension (factory+)>

<!ATTLIST extension

point CDATA #REQUIRED

id    CDATA #IMPLIED

name  CDATA #IMPLIED>


<!ELEMENT factory EMPTY>

<!ATTLIST factory

nsURI    CDATA #REQUIRED

class    CDATA #REQUIRED

priority (lowest|low|medium|high|highest) "medium">

Registers an implementation of the IClipboardSupportFactory interface that can create objects that provide metamodel-specific copy/paste semantics for EMF objects.



Examples:
To register a clipboard support factory for the EMF Library example model:

   <extension
         point="org.eclipse.gmf.runtime.emf.clipboard.core.clipboardSupport">
      <factory
            nsURI="http:///org/eclipse/emf/examples/library.ecore"
            class="com.example.emf.library.clipboard.LibraryClipboardSupportFactory">
      </factory>
   </extension>


Copyright (c) 2005 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