updated java doc
diff --git a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/ColorConstant.java b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/ColorConstant.java
index 1bdcc63..b2e3e38 100644
--- a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/ColorConstant.java
+++ b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/ColorConstant.java
@@ -27,8 +27,9 @@
private int blue;
/**
- * Constructs a new instance of this class given the desired red, green and blue values expressed as ints in the range 0 to 255 (where 0
- * is black and 255 is full brightness).
+ * Constructs a new instance of this class given the desired red, green and
+ * blue values expressed as ints in the range 0 to 255 (where 0 is black and
+ * 255 is full brightness).
*
* @param red
* the amount of red in the color
@@ -43,29 +44,14 @@
this.blue = blue;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.graphiti.util.IColorConstant#getRed()
- */
public int getRed() {
return red;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.graphiti.util.IColorConstant#getGreen()
- */
public int getGreen() {
return green;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.graphiti.util.IColorConstant#getBlue()
- */
public int getBlue() {
return blue;
}
diff --git a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/IGradientType.java b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/IGradientType.java
index 36786ad..caf290a 100644
--- a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/IGradientType.java
+++ b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/IGradientType.java
@@ -15,10 +15,18 @@
*******************************************************************************/
package org.eclipse.graphiti.util;
+import org.eclipse.graphiti.mm.algorithms.styles.AdaptedGradientColoredAreas;
+
+/**
+ * The constants provided by this interface can be used with
+ * {@link AdaptedGradientColoredAreas}. If <i>VERTICAL</i> is set, the gradient
+ * will go from top to bottom. If <i>HORIZONTAL</i>, it will go from left to
+ * right.
+ */
public interface IGradientType {
-
+
public final Integer VERTICAL = 0;
-
+
public final Integer HORIZONTAL = 1;
}
diff --git a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/LocationInfo.java b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/LocationInfo.java
index 9973601..f6b4984 100644
--- a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/LocationInfo.java
+++ b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/util/LocationInfo.java
@@ -28,7 +28,7 @@
private GraphicsAlgorithm graphicsAlgorithm;
/**
- * Constructs a new instance of this class with given shape and graphics
+ * Constructs a new instance of LocationInfo with given shape and graphics
* algorithm.
*
* @param shape
@@ -41,20 +41,10 @@
this.graphicsAlgorithm = graphicsAlgorithm;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.graphiti.util.ILocationInfo#getShape()
- */
public Shape getShape() {
return shape;
}
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.graphiti.util.ILocationInfo#getGraphicsAlgorithm()
- */
public GraphicsAlgorithm getGraphicsAlgorithm() {
return graphicsAlgorithm;
}