Hi,

during my works on the selection styling enhancement, i have a problem
with the Blackboard.
Is it possible, that OJ have more than one Blackboard instance? In the
com.vividsolutions.jump.workbench.ui.plugin.OptionsPlugIn i call the
constructor of my new SelectionStyllingOptionsPanel with
"context.getWorkbenchContext().getWorkbench().getBlackboard()". In the
SelectionStyllingOptionsPanel i use the get/put Methods from the
Blackboard. But if i try to access to this blackboard values in
com.vividsolutions.jump.workbench.ui.renderer.AbstractSelectionRenderer
i get no success. The keys are not available in panel.getBlackboard().
If i get the Blackboard with
((WorkbenchFrame)panel.getContext()).getContext().getBlackboard() call,
then i get my previously stored values.
Next problem is that my values are not saved in the workbench-state.xml.

What is the proper method to get the a correct instance of the
Blackboard or what i doing wrong?

Matthias

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to