diff options
author | Martin Fluegge | 2010-06-06 15:00:24 +0000 |
---|---|---|
committer | Martin Fluegge | 2010-06-06 15:00:24 +0000 |
commit | e52abdb6fb99792ea153401cef4bd85bb7d8777e (patch) | |
tree | e1305665431c45ec2e9192eb185428e4e5684b66 /plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/editors/impl/DawnAbstractEditorSupport.java | |
parent | da36bd46832db377b9f670735ec3265ec15f3410 (diff) | |
download | cdo-e52abdb6fb99792ea153401cef4bd85bb7d8777e.tar.gz cdo-e52abdb6fb99792ea153401cef4bd85bb7d8777e.tar.xz cdo-e52abdb6fb99792ea153401cef4bd85bb7d8777e.zip |
[308232] [Dawn] Develop collaborative support for GMF on CDO
https://bugs.eclipse.org/bugs/show_bug.cgi?id=308232
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/editors/impl/DawnAbstractEditorSupport.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/editors/impl/DawnAbstractEditorSupport.java | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/editors/impl/DawnAbstractEditorSupport.java b/plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/editors/impl/DawnAbstractEditorSupport.java new file mode 100644 index 0000000000..afc9a66eb5 --- /dev/null +++ b/plugins/org.eclipse.emf.cdo.dawn/src/org/eclipse/emf/cdo/dawn/editors/impl/DawnAbstractEditorSupport.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) 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: + * Martin Fluegge - initial API and implementation + */ +package org.eclipse.emf.cdo.dawn.editors.impl; + +import org.eclipse.emf.cdo.dawn.editors.IDawnEditor; +import org.eclipse.emf.cdo.dawn.editors.IDawnEditorSupport; +import org.eclipse.emf.cdo.view.CDOView; + +/** + * @author Martin Fluegge + */ +public abstract class DawnAbstractEditorSupport implements IDawnEditorSupport +{ + private final IDawnEditor editor; + + private CDOView view; + + private boolean dirty; + + public CDOView getView() + { + return view; + } + + public void setView(CDOView view) + { + this.view = view; + } + + public DawnAbstractEditorSupport(IDawnEditor editor) + { + this.editor = editor; + } + + public void setDirty(boolean dirty) + { + this.dirty = dirty; + } + + public boolean isDirty() + { + return dirty; + } + + public IDawnEditor getEditor() + { + return editor; + } +} |