Closed nicolaspayette closed 10 years ago
Derp. API
already depends on state
. There was an arrow missing on my diagram (I should fix this with #38). The question remains, though: is it the right place?
Given that we want actual widgets to depend only on API, there's a good chance that's where they should go. The widgets will need at least PropertyMap
, PropertyKey
and PropertyValue
.
Having state
depend on API
implies including API
in the extension class loader box (#38). (And the API
jar will get copied to the extension folder, but that should be seamless.
These:
are currently in
State
. But they're needed inAPI
. Either I add a dependency fromAPI
toState
or move them toAPI
and add a dependency fromState
toAPI
. Which is the lesser of two evils?Or I could decide to use raw
String
s in one of these two places, but I find that unpalatable.