jsynoptic.plugins.syn3d.xith3d
Class Xith3DPlugin3D
java.lang.Object
jsynoptic.base.Plugin
jsynoptic.plugins.syn3d.xith3d.Xith3DPlugin3D
public class Xith3DPlugin3D
- extends Plugin
The Plugin3D class is the starting point to add 3D scenes in Jsynoptic.
A Java3DPlugin3D class is related to a Java3D viewer.
- Author:
- Ronan OGOR
Methods inherited from class jsynoptic.base.Plugin |
about, addPluginHashMap, createSource, exit, getDataSourceIcons, getFileFilters, getHelp, getOptionPanelForFilter, getShapeName, getShapesMap, getSources, getTemplates, load, newComponent, newDesktopComponent, 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 |
sceneTree
protected SceneGraphTree sceneTree
editor
protected SceneGraphEditor editor
pluginManager
protected PluginManager pluginManager
pluginName
protected java.lang.String pluginName
mainBuiltin
protected Syn3DPlugin mainBuiltin
tm
protected SceneGraphModel tm
Xith3DPlugin3D
public Xith3DPlugin3D()
getShapes
public java.lang.String[] getShapes()
- Description copied from class:
Plugin
- Shape factory: this plugin may bring its own shapes to put in the shape
list. It will then be asked to create a new shape when requested. As an
example, the plot is a basic shape provided with JSynoptic.
- Overrides:
getShapes
in class Plugin
- Returns:
- An array of shape names, or null if this plugin does not provide
any shape.
createShape
public AbstractShape createShape(java.lang.String name,
DiagramComponent diagram)
- Description copied from class:
Plugin
- The plugin is asked to create a new shape for one of the name it provided
with getShapes(). Note that the newly created shape will be inserted in a
diagram set up with an ActionPopup popup menu. Thus, it may implement
JSynoptic ContextualActionProvider interface to interact with the user.
- Overrides:
createShape
in class Plugin
- Parameters:
name
- The name of the shape to create.diagram
- The diagram this shape will be inserted into.
newSourceComponent
public void newSourceComponent(NamedElementContainer nec)
- Description copied from class:
Plugin
- Give the plugin an occasion to work at source panel initialisation
- Overrides:
newSourceComponent
in class Plugin
- Parameters:
nec
- The sources container
getSceneTree
public SceneGraphTree getSceneTree()
getEditor
public SceneGraphEditor getEditor()
getPluginManager
public PluginManager getPluginManager()