CRESS-Surrey / eXtraWidgets

An extension for creating additional interface tabs in the NetLogo GUI and putting custom widgets on them.
MIT License
13 stars 4 forks source link

It would be nice to allow ExtraWidgets constructor not taking a GUIWorkspace #87

Closed nicolaspayette closed 9 years ago

nicolaspayette commented 10 years ago

Here is the comment that would appear above WidgetKind.constructor:

/**
 *  The constructor used to instantiate a widget of this kind.
 *  We first look for a constructor that accepts a GUIWorkspace,
 *  in addition to a WidgetKey and a StateUpdater. If not present,
 *  we look for one accepting only the first two classes.
 */
nicolaspayette commented 9 years ago

They all need the ws for the tab property, now.