Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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.java120
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 0b7ee013a4..fae55d139c 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 - 2011 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);
+ }
+}

Back to the top