Skip to content

Commit

Permalink
warn user about collision in prop description
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeschamps committed Mar 31, 2020
1 parent 3b0acb8 commit fa60533
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ protected void initializeParameters() {
@Override
protected void initializeProperties() {
// Description of the UIProperty
String description = "Filter wheel position property.";
String description = "Filter wheel position property. Note: the property actually receives "
+ "the state number and not the state values. To avoid collisions, if you need to use a "
+ "state value that is an integer smaller than the number of states, place it in the state"
+ "with a number equal to the value (e.g.: \"state 1\" with value \"1\"). Alternatively, you"
+ "can use the label mechanism available in Micro-Manager or define a configuration preset group.";

// We create a MultiStateUIProperty with 6 states.
addUIProperty(new MultiStateUIProperty(this, FW_POSITION, description, NUM_POS));
Expand Down

0 comments on commit fa60533

Please sign in to comment.