On 30.07.2016 18:55, edgar.sol...@web.de wrote: > On 30.07.2016 14:32, edgar.sol...@web.de wrote: >>> The pluginContext seems to be initialized too early to be used to get >> do you get an error stack? >> >>>> the selected layer, so that I have to get the workbenchContext first. It >>>> is possible, but I completely loose the interest of the PlugInContext >>>> and this is a bit confusing. Did I miss something or did you get the >>>> same problem? >>>> >> seems i unintentionally worked around it by creating a new plugincontext in >> the constructor of >> >> org.openjump.core.ui.io.file.DataSourceFileLayerSaver >> >> how about we make the SaveWizPlugin a selectionmanagerproxy and sub wizards >> do not have to care anymore? > > meant LayerableNamePanelProxy of course. anyway, i just cleaned out > PluginContext a bit and it looks mainly like a workbenchcontext with > preselected task, layernamepanel etc. meaning if it does not work for you, it > must be a bug. >
hey Mike, SaveWizPlugin fills now a dialog context variable for wizards to use easily. check how it's already used in org.openjump.core.ui.plugin.file.save.SaveToFileWizard.run(...) ..ede ------------------------------------------------------------------------------ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel