Event resizeable

23 views
Skip to first unread message

Michael Witting

unread,
Aug 1, 2016, 12:37:47 PM8/1/16
to Glimpse
Hi,
I am adding Events to an EventPlotInfo on a CollapsibleTimeplot2D and setting them as not resizeable. But the user is still able to click and resize the Event. I would like them to be able to move the Event, but not change it's duration. I would have thought setting the Event not resizeable would be the way to do that, but it does not seem to work. Is there a way to do this?
Thanks.

Geoffrey Ulman

unread,
Aug 1, 2016, 1:32:44 PM8/1/16
to Glimpse
I took a look and it looks like all the event constraints (setEditable, setEndTimeMoveable, setStartTimeMoveable, setResizable, setMaxTimeSpan, and setMinTimeSpan) aren't getting applied in the latest version due to a bug introduced by some refactoring. I should be able to release a patched version later today.

Thanks for the catch,

Geoff

Geoffrey Ulman

unread,
Aug 1, 2016, 3:17:34 PM8/1/16
to Glimpse
There's a new build (2.5.1) up in the usual locations:

Maven Central (it may take a few hours before it's available here): http://search.maven.org/#search%7Cga%7C1%7Ccom.metsci.glimpse

That should correct the event constraint behavior. Definitely let me know if you're still having issues after trying that.

Geoff

Michael Witting

unread,
Aug 1, 2016, 7:24:22 PM8/1/16
to Glimpse
Thanks, that seems to work.
Reply all
Reply to author
Forward
0 new messages