Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 211127 Details for
Bug 371793
@javax.annotation.Nonnull on constructor args causes bad class file / bad signature error when javac tries to use a woven class
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
enum class, SeriesInfo.java
SeriesInfo.java (text/plain), 2.46 KB, created by
Matt McHenry
on 2012-02-16 12:01:36 EST
(
hide
)
Description:
enum class, SeriesInfo.java
Filename:
MIME Type:
Creator:
Matt McHenry
Created:
2012-02-16 12:01:36 EST
Size:
2.46 KB
patch
obsolete
>package cl.ui.settings; > >import java.awt.Color; >import java.awt.Image; > >import javax.annotation.Nonnull; > >import cl.utilities.basic.ResourceLoader; > >/** > * {@code SeriesInfo} provides an enumerated mechanism for color and point information for different > * series within a graph, numberline, or other plotting component. > * > * @author kpetsche > * @author kschaefer > */ >//TODO renamed from SelectionColor; is SeriesInfo an OK name? >public enum SeriesInfo >{ > /** > * Used when the non-interactive items are displayed on the plot. > */ > NON_INTERACTIVE("non-interactive", Color.BLACK, Color.BLACK, null, null), > COLOR1("color-1", Settings.getColor(ColorSettings.NUMBERLINE_SELECTION_ACTIVE), Settings.getColor(ColorSettings.NUMBERLINE_SELECTION_LOCKED), > ResourceLoader.loadImage(Settings.NL_OPEN_PT_ACTIVE_BLUE), ResourceLoader.loadImage(Settings.NL_PT_ACTIVE_BLUE)), > COLOR2("color-2", Settings.getColor(ColorSettings.NUMBERLINE_ACTIVE_GREEN), Settings.getColor(ColorSettings.NUMBERLINE_LOCKED_GREEN), > ResourceLoader.loadImage(Settings.NL_OPEN_PT_ACTIVE_GREEN), ResourceLoader.loadImage(Settings.NL_PT_ACTIVE_GREEN)), > COLOR3("color-3", Settings.getColor(ColorSettings.NUMBERLINE_ACTIVE_GOLD), Settings.getColor(ColorSettings.NUMBERLINE_LOCKED_GOLD), > ResourceLoader.loadImage(Settings.NL_OPEN_PT_ACTIVE_GOLD), ResourceLoader.loadImage(Settings.NL_PT_ACTIVE_GOLD)), > COLOR4("color-4", Settings.getColor(ColorSettings.NUMBERLINE_ACTIVE_MAGENTA), Settings.getColor(ColorSettings.NUMBERLINE_LOCKED_MAGENTA), > ResourceLoader.loadImage(Settings.NL_OPEN_PT_ACTIVE_MAGENTA), ResourceLoader.loadImage(Settings.NL_PT_ACTIVE_MAGENTA)); > > private String name; > > private Color activeColor; > > private Color lockedColor; > > private Image openPointImage; > > private Image closedPointImage; > > > SeriesInfo(@Nonnull String n, @Nonnull Color active, @Nonnull Color locked, Image openPoint, Image closedPoint) > { > name = n; > activeColor = active; > lockedColor = locked; > openPointImage = openPoint; > closedPointImage = closedPoint; > } > > public Color getActiveColor() > { > return activeColor; > } > > public Color getLockedColor() > { > return lockedColor; > } > > public Image getOpenPointImage() > { > return openPointImage; > } > > public Image getClosedPointImage() > { > return closedPointImage; > } > > /** > * {@inheritDoc} > */ > @Override > public String toString() > { > return "Selection Color Type: "+name; > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 371793
: 211127 |
211128