diff options
Diffstat (limited to 'plugins/infra/services/org.eclipse.papyrus.infra.services.decoration/src/org/eclipse/papyrus/infra/services/decoration/util/DecorationImageUtils.java')
-rw-r--r-- | plugins/infra/services/org.eclipse.papyrus.infra.services.decoration/src/org/eclipse/papyrus/infra/services/decoration/util/DecorationImageUtils.java | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/plugins/infra/services/org.eclipse.papyrus.infra.services.decoration/src/org/eclipse/papyrus/infra/services/decoration/util/DecorationImageUtils.java b/plugins/infra/services/org.eclipse.papyrus.infra.services.decoration/src/org/eclipse/papyrus/infra/services/decoration/util/DecorationImageUtils.java index 0108e8cd795..28866a4e3a2 100644 --- a/plugins/infra/services/org.eclipse.papyrus.infra.services.decoration/src/org/eclipse/papyrus/infra/services/decoration/util/DecorationImageUtils.java +++ b/plugins/infra/services/org.eclipse.papyrus.infra.services.decoration/src/org/eclipse/papyrus/infra/services/decoration/util/DecorationImageUtils.java @@ -22,24 +22,25 @@ import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Point; /** - * This class provides methods utils to add decoration (overlay) to an existing image. - * + * This class provides methods utils to add decoration (overlay) to an existing image. + * + * @since 1.2 */ public class DecorationImageUtils { /** point corresponding to the size 16x16. */ public final static Point SIZE_16_16 = new Point(16, 16); - + /** * The number of decoration is 5 (number of possible decoration position as enumerated by constants in IDecoration from JFace * (TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, UNDERLAY)fro mTOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT, UNDERLAY) */ public final static int NB_DECORATIONS = 5; - - private DecorationImageUtils(){ - //to prevent instanciation + + private DecorationImageUtils() { + // to prevent instanciation } - + /** * * @param decoratorTarget |