|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjsynoptic.base.Plugin
jsynoptic.plugins.svg.SvgPlugin
public class SvgPlugin
A plugin to enable SvgShape
| Field Summary | |
|---|---|
static MenuResourceBundle |
resources
|
static java.lang.String |
SVG_SHAPE
|
| Fields inherited from class jsynoptic.base.Plugin |
|---|
EXPORT, IMPORT, OPEN, SAVE |
| Constructor Summary | |
|---|---|
SvgPlugin()
|
|
| Method Summary | |
|---|---|
java.lang.String |
about()
Enter your plugin information here. |
AbstractShape |
createShape(java.lang.String name,
DiagramComponent diagram)
The plugin is asked to create a new shape for one of the name it provided with getShapes(). |
static AbstractShape |
createSvgShape(DiagramComponent diagram)
Method createSvgShape static method to create a SvgShape Parameters: |
java.lang.String[] |
getShapes()
Shape factory: this plugin may bring its own shapes to put in the shape list. |
java.util.HashMap |
getShapesMap()
Get a map that links the plugin shapes classes with the corresponding shapes names. |
| Methods inherited from class jsynoptic.base.Plugin |
|---|
addPluginHashMap, createSource, exit, getDataSourceIcons, getFileFilters, getHelp, getOptionPanelForFilter, getShapeName, getSources, getTemplates, load, newComponent, newDesktopComponent, newSourceComponent, newSourceComponent, processDataSourceCollection, processFile, processSynoptic, setMenu, setMenu, setToolBarItem |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static MenuResourceBundle resources
public static final java.lang.String SVG_SHAPE
| Constructor Detail |
|---|
public SvgPlugin()
| Method Detail |
|---|
public java.lang.String about()
about in class Pluginpublic static AbstractShape createSvgShape(DiagramComponent diagram)
diagram -
public java.lang.String[] getShapes()
Plugin
getShapes in class Pluginpublic java.util.HashMap getShapesMap()
Plugin
getShapesMap in class Plugin
public AbstractShape createShape(java.lang.String name,
DiagramComponent diagram)
Plugin
createShape in class Pluginname - The name of the shape to create.diagram - The diagram this shape will be inserted into.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||