Index: src/org/eclipse/b3/aggregator/presentation/AggregatorEditor.java =================================================================== --- src/org/eclipse/b3/aggregator/presentation/AggregatorEditor.java (revision 1447) +++ src/org/eclipse/b3/aggregator/presentation/AggregatorEditor.java (working copy) @@ -320,6 +320,8 @@ public static final String AGGREGATOR_NONPERSISTENT_PROBLEM_MARKER = "org.eclipse.b3.aggregator.editor.diagnostic.nonpersistent"; + protected static Collection CLIPBOARD = null; + /** * This looks up a string in the plugin's plugin.properties file. * @@ -2103,16 +2105,27 @@ } }); - // Create the editing domain with a special command stack. + // Create the editing domain with a special command stack and a shared clipboard. // editingDomain = new AdapterFactoryEditingDomain(adapterFactory, commandStack, new HashMap()) { @Override + public Collection getClipboard() { + return CLIPBOARD; + } + + @Override public boolean isReadOnly(Resource resource) { if(resource instanceof MetadataRepositoryResourceImpl) return true; return super.isReadOnly(resource); } + + @Override + public void setClipboard(Collection clipboard) { + CLIPBOARD = clipboard; + } + }; }