Release Notes |
This document describes the main changes that have been made to the JViews Diagrammer module since version 6.5.
Incompatibilities
General Changes
Library Changes
New Packages
New Interfaces and Classes
ilog.views.bpmn.IlvBPMNFlowValidator
ilog.views.diagrammer.application.IlvDiagrammerAction.FileAction
ilog.views.diagrammer.faces.dhtml.interactor.IlvFacesDiagrammerSelectInteractor
ilog.views.diagrammer.servlet.IlvDiagrammerMoveNodeActionListener
ilog.views.diagrammer.servlet.IlvDiagrammerSelectionActionListener
ilog.views.diagrammer.servlet.IlvDiagrammerSelectionSupport
ilog.views.bpmn.IlvBPMNUtilities
ilog.views.diagrammer.IlvDiagrammer
ilog.views.diagrammer.application.IlvDiagrammerAction
ilog.views.diagrammer.application.IlvDiagrammerPaletteAction
ilog.views.diagrammer.application.IlvDiagrammerPropertySheet
ilog.views.diagrammer.application.IlvDiagrammerStatusBar
ilog.views.diagrammer.faces.dhtml.servlet.IlvFacesDiagrammerServletSupport
ilog.views.diagrammer.servlet.IlvDiagrammerServletSupport
ilog.views.graphlayout.bus.IlvBusLayout
ilog.views.sdm.IlvSDMEngine
ilog.views.sdm.model.IlvDefaultSDMNode
ilog.views.sdm.renderer.IlvInteractorRenderer
ilog.views.sdm.renderer.IlvStyleSheetRenderer
ilog.views.sdm.renderer.maps.IlvMapRenderer
ilog.views.sdm.servlet.IlvSDMServlet
ilog.views.sdm.servlet.IlvSDMServletSupport
Tag Library
Changes
Example Changes
DiagrammerObjectSelectedFinder
and DiagrammerObjectSelectedRectFinder
have
been renamed IlvDiagrammerObjectSelectedFinder
and IlvDiagrammerObjectSelectedRectFinder
respectively.IlvDiagrammer
: methods writeData()
, writeDataFile()
,
and writeProjectFile(URL)
throw IlvDiagrammerException
only. In previous releases,
they threw IOException
as well. This change
generates a compile error when the methods are overriden. It can be
fixed by removing the additional thrown exception.IlvBPMNMakeSDMLinkInteractor
and IlvBPMNSDMUtilitiesFactory
now require
an IlvBPMNModeler
parameter. Therefore, you
have to derive your BPMN Modeler from the IlvBPMNModeler
class, instead of deriving it directly from IlvDiagrammerApplication
The main general changes of the JViews Diagrammer module are the following:
fitToContent
is performed.IlvGeneralLink
: LineStyle
property now accepts JViews standard names (Solid, Dash, Dot...).class: @|createMyObject(@foo,20);
".IlvSDMEngine
allowing
you to couple the link visibility to the visibility of the origin and
destination nodes.IlvLinkLayoutRenderer
: the CSS
specification of the node sides to which links are allowed to connect
can now be done on a per-node basis, not only on a per-link basis. For
details, see the documentation of this class.Data Object
and Group
artifacts.BPMNModeler
class now
derives from the new IlvBPMNModeler
class
instead of IlvDiagrammerApplication
.associations.xml
palette file is
replaced by artifacts.xml
, it also
contains the Data Object and Group.ArtifactType
SDM property set to Annotation
.data
property has been added
to the JViews Diagrammer view component.No new package.
ilog.views.bpmn.IlvBPMNFlowValidator
Validates if a Flow can connect two objects, using a list of Flow Rules.
ilog.views.diagrammer.application.IlvDiagrammerAction.FileAction
A base class for I/O actions
ilog.views.diagrammer.faces.dhtml.interactor.IlvFacesDiagrammerSelectInteractor
A diagrammer specific implementation of IlvFacesSelectInteractor
.
ilog.views.diagrammer.servlet.IlvDiagrammerMoveNodeActionListener
This class defines a server action dedicated to translate the current selection.
ilog.views.diagrammer.servlet.IlvDiagrammerSelectionActionListener
This class handles selection requests in image mode.
ilog.views.diagrammer.servlet.IlvDiagrammerSelectionSupport
This class is the IlvSelectionSupport
implementation dedicated to the diagrammer.
ilog.views.event.adapter.IlvLinkVisibilityHandler
The IlvLinkVisibilityHandler
ensures that links are only visible if their end nodes are visible.
ilog.views.bpmn.IlvBPMNUtilities
isArtifact(IlvSDMModel,
Object)
: Tests if an object is an Artifact.isDefaultFlow(IlvSDMModel,
Object)
: Tests if the given object is the Default.isEndEvent(IlvSDMModel,
Object)
: Tests if an object is an EndEvent
.isLane(IlvSDMModel,
Object)
: Tests if an object is a Lane
.isPool(IlvSDMModel,
Object)
: Tests if an object is a Pool
.isSequenceFlow(IlvSDMModel,
Object)
: Tests if the given object is a SequenceFlow
.isStartEvent(IlvSDMModel,
Object)
: Tests if an object is a StartEvent
.ilog.views.diagrammer.IlvDiagrammer
isEmpty()
:
Tests if the diagrammer is empty.ilog.views.diagrammer.application.IlvDiagrammerAction
getDefaultResourceBundle()
:
Returns the default resource bundle used if no resource bundle is
specified in the constructor.ilog.views.diagrammer.application.IlvDiagrammerPaletteAction
getPaletteDiagrammer()
:
Returns the diagram component used as the "source" from
which nodes or links are copied.getPaletteObject()
:
Returns the source object that is copied when creating an object.ilog.views.diagrammer.application.IlvDiagrammerPropertySheet
addTargetPropertyChangeListener(PropertyChangeListener)
:
Add a listener that will be notified of the target's modifications.allowUserDefinedType(boolean)
:
Allows you to install or not install the action which allows the user to set the
user-defined type for the selected object.ilog.views.diagrammer.application.IlvDiagrammerStatusBar
IlvDiagrammerStatusBar(boolean)
:
Creates a new status bar with the default resource bundle "ilog.views.diagrammer.application.statusbar"
.ilog.views.diagrammer.faces.dhtml.servlet.IlvFacesDiagrammerServletSupport
getMenuFactory(HttpServletRequest,
HttpServletResponse)
: Retrieves or creates the menu
factory used in this popup menu request.
ilog.views.diagrammer.servlet.IlvDiagrammerServletSupport
IlvDiagrammerServletSupport(ServletContext)
:
Creates a new diagrammer ServletSupport.ilog.views.graphlayout.bus.IlvBusLayout
getNodePosition()
:
Returns the node position option.setNodePosition(int)
:
Sets the position of the nodes in respect to the bus line.isBusLineExtremityAdjustingEnabled()
:
Returns true
if the adjustment of the
extremity points of the bus line is enabled.setBusLineExtremityAdjustingEnabled(boolean)
:
Enables the adjustment of the extremity points of the bus line.NODES_ABOVE_BUS
:
Position the nodes above the bus.
NODES_BELOW_BUS
:
Position the nodes below the bus.
isLinkNodeVisibilityCoupled()
:
Returns true
when links are visible, if
and only if the origin and destination nodes are visible.
setLinkNodeVisibilityCoupled(boolean)
:
Sets whether link visibility is coupled to node visibility.
ilog.views.sdm.model.IlvDefaultSDMNode
getChildrenCount()
:
Returns the number of children this data object has.
ilog.views.sdm.renderer.IlvInteractorRenderer
isProcessMouseMoveEvents()
:
Returns true
if MouseMove events are
processed.
setProcessMouseMoveEvents(boolean)
:
Sets ProcessMouseMoveEvents
.
ilog.views.sdm.renderer.IlvStyleSheetRenderer
unregisterFunction(IlvSDMCSSFunction)
:
Removes a given function.
ilog.views.sdm.renderer.maps.IlvMapRenderer
getInstance(IlvSDMEngine)
:
Convenient function to get the IlvMapRenderer
instance which belongs to the specified SDM engine.
isFitToContentsAllowed()
:
Returns whether fitToContent()
is
performed during PrepareRendering()
processing.
setFitToContentsAllowed(boolean)
:
If true
, PrepareRendering()
performs a fitToContents()
.
ilog.views.sdm.servlet.IlvSDMServlet
createServletSupport(ServletContext)
:
Creates the supporting object to which this servlet delegates most of
its methods.
ilog.views.sdm.servlet.IlvSDMServletSupport
IlvSDMServletSupport(ServletContext)
:
Creates a new SDM servlet support in mono-session mode.
diagrammerView
tag:
data
attribute has been added. It
specifies the data to display. It can be:
IlvDiagrammerDataSource
.dataSource
component ID instance.imageMapGenerator
and imageMapGeneratorClass
attributes have been
added to specify the object responsible for generating the image map
areas.
diagrammerView
now accepts as a
child the jvf:contextualMenu
component
used to display a popup menu on the diagram view.
invocationContext
attribute has
been added to the nodeOrLinkSelectInteractor
and nodeOrLinkSelectRectInteractor
tags to specify in which context the action should be executed.
selectInteractor
tag has been added.
It specifies an interactor that allows you to easily select and/or
move several node or links.