Community
Participate
Working Groups
public static final String AGGREGATOR_NONPERSISTENT_PROBLEM_MARKER = "org.eclipse.b3.aggregator.editor.diagnostic.nonpersistent";
protected static Collection<Object> CLIPBOARD = null;
/**
* This looks up a string in the plugin's plugin.properties file.
* <!-- begin-user-doc --> <!-- end-user-doc -->
}
});
// 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<Resource, Boolean>()) {
@Override
public Collection<Object> getClipboard() {
return CLIPBOARD;
public boolean isReadOnly(Resource resource) {
if(resource instanceof MetadataRepositoryResourceImpl)
return true;
return super.isReadOnly(resource);
public void setClipboard(Collection<Object> clipboard) {
CLIPBOARD = clipboard;
};