diff options
author | Christian W. Damus | 2016-03-02 12:30:11 +0000 |
---|---|---|
committer | Christian W. Damus | 2016-03-03 13:10:33 +0000 |
commit | 9e6a1135bc8d0712f9d8f1bedd99a5f4fe00077d (patch) | |
tree | dee2e5e9c5bdc2f20606187aeb41f6c525da8357 /plugins/infra/services/org.eclipse.papyrus.infra.services.decoration/src/org/eclipse/papyrus/infra/services/decoration/util/DecorationImageUtils.java | |
parent | 1e9056acfc0f91ea1c9fd1ea8734de8ff984e1cf (diff) | |
download | org.eclipse.papyrus-9e6a1135bc8d0712f9d8f1bedd99a5f4fe00077d.tar.gz org.eclipse.papyrus-9e6a1135bc8d0712f9d8f1bedd99a5f4fe00077d.tar.xz org.eclipse.papyrus-9e6a1135bc8d0712f9d8f1bedd99a5f4fe00077d.zip |
Bug 485220: [Architecture] Provide a more modular architecture
https://bugs.eclipse.org/bugs/show_bug.cgi?id=485220
Complete the configuration of PDE API Tooling in the Papyrus Main
and Developer Tools projects, including:
* adding the API Analysis nature and builder to .project where it was missing
* adding a new menu action in the dev tools Project Management menu to ensure
that all Oomph version-management projects in the workspace have API analysis also
* fixing API version analysis problems, mostly by upversioning bundles to 2.0
but also applying API filters in some cases where it seems appropriate
* implementing project-level API Analysis preferences for warning severity of
missing @since doc tags (the default is error) and adding it to the Oomph
project preferences management
Change-Id: I3f5fad20ffc7bb66eec0abbb86b5cc52aacb1ff1
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 |