|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.vividsolutions.jump.workbench.plugin.AbstractPlugIn
de.latlon.deejump.plugin.style.LayerStyle2SLDPlugIn
public class LayerStyle2SLDPlugIn
...
| Field Summary | |
|---|---|
protected static javax.xml.transform.Transformer |
transformer
The Transformer object used in the transformation of a
task/project/layer xml to sld. |
| Constructor Summary | |
|---|---|
LayerStyle2SLDPlugIn()
|
|
| Method Summary | |
|---|---|
EnableCheck |
createEnableCheck(WorkbenchContext workbenchContext)
|
boolean |
execute(PlugInContext context)
Performs the action for this plugin. |
javax.swing.Icon |
getIcon()
|
java.lang.String |
getName()
Returns a very brief description of this PlugIn e.g. for display as a menu item |
void |
initialize(PlugInContext context)
Called when Workbench starts up to allow plugins to initialize themselves. |
void |
install(PlugInContext context)
use this method to install the LayerStyle2SLD plugin in the toolbar |
static java.lang.Double |
toRealWorldScale(double scaleFactor,
double jumpScale)
|
static java.lang.String |
transformContext(java.io.InputStream layerXML,
java.util.Map<java.lang.String,java.lang.String> parMap)
|
static java.lang.String |
transformContext(java.io.Reader layerXML,
java.util.Map<java.lang.String,java.lang.String> parMap)
|
| Methods inherited from class com.vividsolutions.jump.workbench.plugin.AbstractPlugIn |
|---|
createName, execute, execute, isRollingBackInvalidEdits, reportNothingToUndoYet, toActionListener, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected static javax.xml.transform.Transformer transformer
Transformer object used in the transformation of a
task/project/layer xml to sld.
| Constructor Detail |
|---|
public LayerStyle2SLDPlugIn()
| Method Detail |
|---|
public java.lang.String getName()
PlugIn
getName in interface PlugIngetName in class AbstractPlugIn
public void install(PlugInContext context)
throws java.lang.Exception
context -
java.lang.Exception
public void initialize(PlugInContext context)
throws java.lang.Exception
PlugIn
initialize in interface PlugIninitialize in class AbstractPlugInjava.lang.Exception
public boolean execute(PlugInContext context)
throws java.lang.Exception
PlugInfalse to prevent the run method
from being called.
execute in interface PlugInexecute in class AbstractPlugInjava.lang.Exception - if a problem occurs during plug-in executionThreadedPlugInpublic javax.swing.Icon getIcon()
public static java.lang.String transformContext(java.io.InputStream layerXML,
java.util.Map<java.lang.String,java.lang.String> parMap)
throws javax.xml.transform.TransformerException,
java.io.UnsupportedEncodingException
layerXML - parMap -
javax.xml.transform.TransformerException
java.io.UnsupportedEncodingException
public static java.lang.String transformContext(java.io.Reader layerXML,
java.util.Map<java.lang.String,java.lang.String> parMap)
throws javax.xml.transform.TransformerException
layerXML - parMap -
javax.xml.transform.TransformerExceptionpublic EnableCheck createEnableCheck(WorkbenchContext workbenchContext)
workbenchContext -
public static final java.lang.Double toRealWorldScale(double scaleFactor,
double jumpScale)
scaleFactor - jumpScale -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||