Hei Paul, this are great news :)
Should we name the OpenPlugIn more precisely (i.e. OpenDataSource or so..)? Paul Austin schrieb: > As discussed the other day I'm implementing another new open plugin > which is designed to allow pluggable wizards for loading other things in > addition to files. > > I have a prototype of this working which first shows a list of types of > things that can be loaded with an optional Icon. For this I'd like to > have 32x32 size icons for this with the name of the type below it. If > someone can help with some icons that would be great. At the moment I'm > just using the 16x16 icons. ok.. should be doable. But we need to know if you want a gif image or so. cheers germany stefan > > The default implementation will have my Open File and Open Project icon. > In addition to this it will get all non file based > DataSourceQueryChoosers registered and wrap them in my new framework. > For this it uses getComponent on the chooser to get the UI to accept the > options and then uses the getDataSourceQueries when finished is pressed > to load them. I've tested this with the PostGIS plug-in and it works > without any changes. It should also work with the ArcSDE one too. > > The other option is developers can create their own WizardGroup using > the following interface and register this with the OpenPlugIn. The > advantage of this approach is you can have a more complex UI with > validation of fields etc. The getPanels() method returns one or more > WizardPanels for the UI. The getFirstId() returns the ID of the first > panel to use and the run method is called after the finish button is > pressed. It's in this method that the loading of data is done. It uses > the Threaded plugin so it will not be running in the UI thread. > > > public interface WizardGroup { > public String getName(); > > public Icon getIcon(); > > public List<WizardPanel> getPanels(); > > public String getFirstId(); > > public void run(TaskMonitor monitor); > } > > > I'm going to clean everything up this weekend and check in next week. > > Paul > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel