I'm trying to figure out the best way to package the "built-in" or
"default" pluggable renderers into OpenJUMP using my pluggable
rendering system. I think I can do this with an Extension, but I want
to make sure that I understand the purpose of an Extension first, so I
don't use it improperly.

The JUMP Developer Guide says that: "An extension is a collection of
classes and supporting resources that provides additional
functionality to JUMP…The JUMP Workbench will search the JAR file for
subclasses of Extension. (Note: They must also be named "…Extension").
It will then call the #configure method on each Extension class if
finds."

It also contains this example:

package example;

import com.vividsolutions.jump.workbench.plugin.Extension;
import com.vividsolutions.jump.workbench.plugin.PlugInContext;

public class MyExtension extends Extension{

  public void configure(PlugInContext context) throws Exception{
    new HelloWorldPlugIn().initialize(context);
  }
}

It seems to me the purpose of the Extension Class is to provide a
container that allows for the easy installation and configuration of a
set of plug-ins and cursor tools. Is this correct?

If this is the case I think I can use an Extension to configure and
install my "built-in" pluggable renderers as a group.

Thanks,

The Sunburned Surveyor

-------------------------------------------------------------------------
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

Reply via email to