diff options
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.gmf/src/org/eclipse/emf/cdo/dawn/gmf/appearance/DawnEditPartStylizer.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo.dawn.gmf/src/org/eclipse/emf/cdo/dawn/gmf/appearance/DawnEditPartStylizer.java | 120 |
1 files changed, 60 insertions, 60 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.gmf/src/org/eclipse/emf/cdo/dawn/gmf/appearance/DawnEditPartStylizer.java b/plugins/org.eclipse.emf.cdo.dawn.gmf/src/org/eclipse/emf/cdo/dawn/gmf/appearance/DawnEditPartStylizer.java index fae55d139c..e614c3b0e4 100644 --- a/plugins/org.eclipse.emf.cdo.dawn.gmf/src/org/eclipse/emf/cdo/dawn/gmf/appearance/DawnEditPartStylizer.java +++ b/plugins/org.eclipse.emf.cdo.dawn.gmf/src/org/eclipse/emf/cdo/dawn/gmf/appearance/DawnEditPartStylizer.java @@ -1,60 +1,60 @@ -/*
- * Copyright (c) 2004 - 2012 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.gmf.appearance;
-
-import org.eclipse.emf.cdo.dawn.ui.stylizer.DawnDefaultElementStylizer;
-
-import org.eclipse.gef.EditPart;
-
-/**
- * An EditPartStylizer can influence the visual representation of the models state. Dawn knows three states - default,
- * conflicted and locked. By implementing an own DawnStylizer you can influence the appearance of the three states for
- * your EditPart and it's related models. New stylizer can be registered to Dawn using the
- * <b>org.eclipse.emf.cdo.dawn.editpartstylizers</b> extension point.
- *
- * @author Martin Fluegge
- * @since 2.0
- */
-public abstract class DawnEditPartStylizer extends DawnDefaultElementStylizer
-{
- /**
- * @since 2.0
- */
- public abstract void setDefault(EditPart editPart);
-
- /**
- * @since 2.0
- */
- public abstract void setConflicted(EditPart editPart, int type);
-
- /**
- * @since 2.0
- */
- public abstract void setLocked(EditPart editPart, int type);
-
- @Override
- public void setDefault(Object element)
- {
- setDefault((EditPart)element);
- }
-
- @Override
- public void setConflicted(Object element, int type)
- {
- setConflicted((EditPart)element, type);
- }
-
- @Override
- public void setLocked(Object element, int type)
- {
- setLocked((EditPart)element, type);
- }
-}
+/* + * Copyright (c) 2004 - 2012 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.gmf.appearance; + +import org.eclipse.emf.cdo.dawn.ui.stylizer.DawnDefaultElementStylizer; + +import org.eclipse.gef.EditPart; + +/** + * An EditPartStylizer can influence the visual representation of the models state. Dawn knows three states - default, + * conflicted and locked. By implementing an own DawnStylizer you can influence the appearance of the three states for + * your EditPart and it's related models. New stylizer can be registered to Dawn using the + * <b>org.eclipse.emf.cdo.dawn.editpartstylizers</b> extension point. + * + * @author Martin Fluegge + * @since 2.0 + */ +public abstract class DawnEditPartStylizer extends DawnDefaultElementStylizer +{ + /** + * @since 2.0 + */ + public abstract void setDefault(EditPart editPart); + + /** + * @since 2.0 + */ + public abstract void setConflicted(EditPart editPart, int type); + + /** + * @since 2.0 + */ + public abstract void setLocked(EditPart editPart, int type); + + @Override + public void setDefault(Object element) + { + setDefault((EditPart)element); + } + + @Override + public void setConflicted(Object element, int type) + { + setConflicted((EditPart)element, type); + } + + @Override + public void setLocked(Object element, int type) + { + setLocked((EditPart)element, type); + } +} |