Release Notes |
This document describes the main changes that have been made to JViews Diagrammer since version 8.1.
ilog.views.dashboard.IlvDashboardPreferences
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingLabelDescriptorProvider
ilog.views.sdm.metadata.IlvMList
ilog.views.sdm.renderer.IlvSDMCSSFunction.NumericSymbolInteractor
ilog.views.sdm.renderer.IlvSDMCSSFunction.StateSymbolInteractor
ilog.views.sdm.renderer.IlvSDMCSSFunction.SymbolInteractor
ilog.views.sdm.renderer.maps.IlvMapStyleSheetRenderer.IlvMapSymbolManagerLayer
ilog.views.dashboard.IlvDashboardAction
ilog.views.dashboard.IlvDashboardDiagram
ilog.views.dashboard.IlvDashboardEditor
ilog.views.dashboard.IlvDashboardEditorFrame
ilog.views.dashboard.IlvDashboardSymbol
ilog.views.diagrammer.IlvDiagrammer
ilog.views.diagrammer.servlet.IlvDiagrammerSelectionSupport
ilog.views.graphlayout.IlvGraphLayout
ilog.views.graphlayout.IlvGraphModel
ilog.views.graphlayout.IlvGrapherAdapter
ilog.views.graphlayout.IlvLayoutGraphicFilter
ilog.views.graphlayout.hierarchical.IlvHierarchicalLayout
ilog.views.graphlayout.labellayout.IlvLabelLayout
ilog.views.graphlayout.labellayout.IlvLabelingModel
ilog.views.graphlayout.labellayout.LabelLayoutParameterEvent
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingLabelDescriptor
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingLabelLayout
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingPointLabelDescriptor
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingPolylineLabelDescriptor
ilog.views.graphlayout.link.IlvLinkLayout
ilog.views.graphlayout.multiple.IlvMultipleLayout
ilog.views.graphlayout.recursive.IlvRecursiveLayout
ilog.views.graphlayout.tree.IlvTreeLayout
ilog.views.graphlayout.uniformlengthedges.IlvUniformLengthEdgesLayout
ilog.views.sdm.IlvSDMEngine
ilog.views.sdm.event.SDMPropertyChangeEvent
ilog.views.sdm.graphic.IlvGeneralLink
ilog.views.sdm.graphic.IlvGeneralLinkTunnelCrossings
ilog.views.sdm.graphic.IlvGeneralNode
ilog.views.sdm.metadata.IlvMContainer
ilog.views.sdm.metadata.IlvMModel
ilog.views.sdm.model.IlvBasicSDMModel
ilog.views.sdm.model.IlvDefaultSDMNode
ilog.views.sdm.model.IlvMutableSDMNode
ilog.views.sdm.renderer.IlvBlinkingRenderer
ilog.views.sdm.renderer.IlvInfoBalloonRenderer
ilog.views.sdm.renderer.IlvSDMCSSFunction
ilog.views.sdm.renderer.IlvSDMRenderer
ilog.views.sdm.renderer.IlvStyleSheetRenderer
ilog.views.sdm.renderer.maps.IlvMapStyleSheetRenderer
ilog.views.sdm.util.IlvXMLConnector
The main general changes to JViews Diagrammer are as follows:
IlvStyleSheetRenderer.setOptimizeRestylingMemoizingDependencies
.
IlvMutableSDMNode
should be reviewed. The interface now has a new method getDependentProperties
.
SDMPropertyListener
should be reviewed. Previously an SDMPropertyChangeEvent
could denote the change of either a single property or an unspecified set of properties, and the
possibility of the latter case was not well documented. Now it can also denote
simultaneous changes of a known set of properties.
IlvAnnealingLabelDescriptor
should be reviewed. The interface now has a new method copy
.
ilog.views.sdm.renderer.IlvBlinkingColor
has been deprecated. Hence, the method
IlvBlinkingRenderer.getColor
returns now
ilog.views.util.java2d.IlvBlinkingColor
.
This package contains the Symbol Compiler API.
This package contains the utility classes used by compiled symbols at runtime.
ilog.views.symbol.util.interactor
This package contains the interactor classes for the compiled symbols.
ilog.views.dashboard.IlvDashboardPreferences
An interface that allows the Dashboard Editor to store and retrieve user preferences and configuration data.
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingLabelDescriptorProvider
This interface is useful if your application knows which labels belong to which related obstacle, even when there are no label descriptors.
ilog.views.sdm.metadata.IlvMList
Anrdf
implementation ofIlvMModel
backed up by a List instead of a Map.
ilog.views.sdm.renderer.IlvSDMCSSFunction.SymbolInteractor
A CSS function for handling symbol interactions in a cleaner way.
ilog.views.sdm.renderer.IlvSDMCSSFunction.NumericSymbolInteractor
A SymbolInteractor
subclass for handling numerical values.
ilog.views.sdm.renderer.IlvSDMCSSFunction.StateSymbolInteractor
ASymbolInteractor
subclass for handlingString
values.
ilog.views.sdm.renderer.maps.IlvMapStyleSheetRenderer.IlvMapSymbolManagerLayer
This layer class prevents the graphical representation of symbols being saved through ivl
persistence (that is, in the
map file).
ilog.views.dashboard.IlvDashboardAction
blinkingAllowed
:
This action enables or disables blinking in the current view of
the dashboard diagram.
ilog.views.dashboard.IlvDashboardDiagram
iterator()
:
This method implements the Iterable
interface.
ilog.views.dashboard.IlvDashboardEditor
getPreferences()
:
Returns the IlvDashboardPreferences
object of the editor.
setPreferences(IlvDashboardPreferences)
:
Sets an IlvDashboardPreferences
object
for the editor.
savePreferences()
:
Saves the preferences before terminating the session.
ilog.views.dashboard.IlvDashboardEditorFrame
savePreferences()
:
Called by the Dashboard Editor to save the user preferences before
exiting the session.
ilog.views.dashboard.IlvDashboardSymbol
iterator()
:
Returns an iterator that you can run over the collection of
parameters contained in this dashboard symbol.
ilog.views.diagrammer.IlvDiagrammer
fitToContents(boolean)
:
New parameter that delays the transformer change until the view is
ready.
setAllSelectedObjects(Collection)
:
Selects the objects given as arguments, and deselects all other objects in the diagram.
ilog.views.diagrammer.servlet.IlvDiagrammerSelectionSupport
isSelectable(HttpServletRequest,
IlvManagerServletSupport, IlvSDMView, IlvGraphic)
:
Returns whether this object can be selected or not.
ilog.views.graphlayout.IlvGraphLayout
isLayoutRunning(boolean)
:
Indicates whether this layout algorithm is running or not.
setLayoutRunning(boolean,
boolean)
: Sets whether layout is running.
isLocalRecursiveLayoutNeeded(IlvLayoutProvider,
IlvGraphLayout, IlvGraphModel, boolean)
: Checks
whether layout is needed when layout is performed recursively on a
hierarchy of nested subgraphs.
setAutoCheckAppropriateLinksEnabled(boolean)
:
Sets whether the layout checks if links are appropriate.
ilog.views.graphlayout.IlvGraphModel
getTransformer(IlvGraphModel)
:
Returns a transformer that allows you to convert the coordinate
system of the graph model of a subgraph to the coordinate system of
this graph model.
ilog.views.graphlayout.IlvGrapherAdapter
IlvConstantModeManagerFrame
.
getTransformer(IlvGraphModel)
:
Returns a transformer that allows you to convert the coordinate
system of the graph model of a subgraph to the coordinate system of
this graph model.
isConstantModeManagerFrameAutoMargin()
:
Returns whether the automatic correction of the margins of the
IlvConstantModeManagerFrame
is enabled,
if it occurs as a frame of submanagers that are laid out.
setConstantModeManagerFrameAutoMargin(boolean)
:
Enables or disables the automatic correction of the margins of the
IlvConstantModeManagerFrame
, if it
occurs as a frame of submanagers that are laid out.
ilog.views.graphlayout.IlvLayoutGraphicFilter
accept(IlvGraphic,
IlvGrapherAdapter)
: Returns true
if the graphic object nodeOrLink
is a
node or a link that must be taken into account during the layout.
ilog.views.graphlayout.hierarchical.IlvHierarchicalLayout
checkAppropriateLinks()
:
Throws an exception if the links are not appropriate for the
layout.
getLabelLayout()
:
Returns the label layout that handles the label in recursive mode.
isLabelLayoutEnabledDuringRecLayoutMode()
:
Returns true
if this recursive layout
mode also places the labels of the graph.
setLabelLayoutEnabledDuringRecLayoutMode(boolean)
:
Sets whether this recursive layout mode also places the labels of
the graph.
isLocalRecursiveLayoutNeeded(IlvLayoutProvider,
IlvGraphLayout, IlvGraphModel, boolean)
: Checks
whether layout is needed when layout is performed recursively on a
hierarchy of nested subgraphs.
isRecursiveLayoutFromAncestorAllowed()
:
Returns true
if the layout instance of
an ancestor graph is in principle allowed to treat this subgraph in
a recursive layout.
setRecursiveLayoutFromAncestorAllowed(boolean)
:
Sets whether the layout instance of the ancestor graph is in
principle allowed to treat this subgraph in a recursive layout.
isRecursiveLayoutMode()
:
Returns true
if this layout instance
handles recursively all subgraphs nested in this graph.
setRecursiveLayoutMode(boolean)
:
Sets whether this layout instance handles recursively all subgraphs
nested in this graph.
ilog.views.graphlayout.labellayout.IlvLabelLayout
isLayoutRunning(boolean)
:
Indicates whether this layout algorithm is running or not.
setLayoutRunning(boolean,
boolean)
: Sets whether layout is running.
onParameterChanged(String)
:
Called when a global layout parameter has changed.
onParameterChanged(Object,
String)
: Called when a layout parameter for a
specific label has changed.
ilog.views.graphlayout.labellayout.IlvLabelingModel
afterAttach(IlvLabelLayout)
:
Notifies the labeling model that it has been attached to a layout.
afterDetach(IlvLabelLayout)
:
Notifies the labeling model that it has been detached from a
layout.
ilog.views.graphlayout.labellayout.LabelLayoutParameterEvent
LabelLayoutParameterEvent(IlvLabelLayout,
Object, String, boolean)
: Creates the event.
getLabel()
:
Returns the label that is affected by the layout parameter.
getParameterName()
:
Returns the name of the parameter that has been changed.
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingLabelDescriptor
IlvAnnealingLabelDescriptor(IlvAnnealingLabelDescriptor)
:
Creates a copy of a label descriptor.
copy()
:
Returns a copy of this label descriptor.
isAutoCorrect()
:
Returns whether an illegal specification is automatically
corrected.
setAutoCorrect(boolean)
:
Sets whether an illegal specification is automatically corrected.
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingLabelLayout
getLabelDescriptorProvider()
:
Returns the label descriptor provider.
setLabelDescriptorProvider(IlvAnnealingLabelDescriptorProvider)
:
Allows you to install a label descriptor provider.
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingPointLabelDescriptor
IlvAnnealingPointLabelDescriptor(IlvAnnealingPointLabelDescriptor)
:
Creates a copy of a label descriptor.
copy()
:
Returns a copy of this label descriptor.
ilog.views.graphlayout.labellayout.annealing.IlvAnnealingPolylineLabelDescriptor
IlvAnnealingPolylineLabelDescriptor(IlvAnnealingPolylineLabelDescriptor)
:
Creates a copy of a label descriptor.
copy()
:
Returns a copy of this label descriptor.
ilog.views.graphlayout.link.IlvLinkLayout
setAutoCheckAppropriateLinksEnabled(boolean)
:
Sets whether the layout checks if links are appropriate.
setLayoutRunning(boolean,
boolean)
: Sets whether layout is running.
ilog.views.graphlayout.multiple.IlvMultipleLayout
GetMultipleLayout(IlvGraphLayout)
:
Returns the multiple layout that contains the input graph layout.
GetMultipleLayout(IlvLabelLayout)
:
Returns the multiple layout that contains the input label layout.
isLocalRecursiveLayoutNeeded(IlvLayoutProvider,
IlvGraphLayout, IlvGraphModel, boolean)
: Checks
whether layout is needed when layout is performed recursively on a
hierarchy of nested subgraphs.
performFirstGraphLayout(boolean)
:
Called to perform the first graph layout.
performLabelLayout(boolean)
:
Called to perform the label layout.
performSecondGraphLayout(boolean)
:
Called to perform the second graph layout.
setAutoCheckAppropriateLinksEnabled(boolean)
:
Sets whether the layout checks if links are appropriate.
setLayoutRunning(boolean,
boolean)
: Sets whether layout is running.
ilog.views.graphlayout.recursive.IlvRecursiveLayout
setAutoCheckAppropriateLinksEnabled(boolean)
:
Sets whether the layout checks if links are appropriate.
setLayoutRunning(boolean,
boolean)
: Sets whether layout is running.
ilog.views.graphlayout.tree.IlvTreeLayout
addAssociate(Object,
Object)
: Sets a node as an associate of another node.
checkAppropriateLinks()
:
Throws an exception if the links are not appropriate to the
layout.
getAssociateOffset()
:
Returns the minimal offset between associates and the orthogonal
link segment starting at the parent.
setAssociateOffset(float)
:
Sets the minimal offset between associates and the orthogonal link
segment starting at the parent.
getAssociateParent(Object)
:
Returns the parent node that the input node is associated to.
getAssociates(Object)
:
Returns all associate nodes of the input parent node.
getEastSubtreeBlockMargin(Object)
:
Returns the margin on the east side of the subtree starting at the
input node.
setEastSubtreeBlockMargin(Object,
float)
: Sets the margin on the east side of the
subtree starting at the input node.
getNorthSubtreeBlockMargin(Object)
:
Returns the margin on the north side of the subtree starting at the
input node.
setNorthSubtreeBlockMargin(Object,
float)
: Sets the margin on the north side of the
subtree starting at the input node.
getSouthSubtreeBlockMargin(Object)
:
Returns the margin on the south side of the subtree starting at the
input node.
setSouthSubtreeBlockMargin(Object,
float)
: Sets the margin on the south side of the
subtree starting at the input node.
getSubtreeBlockMargin(Object,
int)
: Returns the margin on the given side of the
subtree starting at the input node.
setSubtreeBlockMargin(Object,
int, float)
: Sets the margin on the given side of
the subtree starting at the input node.
getWestSubtreeBlockMargin(Object)
:
Returns the margin on the west side of the subtree starting at the
input node.
setWestSubtreeBlockMargin(Object,
float)
: Sets the margin on the west side of the
subtree starting at the input node.
isIntergraphConnectivityMode()
:
Returns true
if the intergraph link
connectivity is considered for the partitioning of the layout into
subtrees.
setIntergraphConnectivityMode(boolean)
:
Sets whether the intergraph link connectivity is considered for the
partitioning of the layout into subtrees.
isLocalRecursiveLayoutNeeded(IlvLayoutProvider,
IlvGraphLayout, IlvGraphModel, boolean)
: Checks
whether layout is required when layout is performed recursively on a
hierarchy of nested subgraphs.
isRecursiveLayoutFromAncestorAllowed()
:
Returns true
if the layout instance of
an ancestor graph is in principle allowed to treat this subgraph in
a recursive layout.
setRecursiveLayoutFromAncestorAllowed(boolean)
:
Sets whether the layout instance of the ancestor graph is in
principle allowed to treat this subgraph in a recursive layout.
isRecursiveLeafLayoutMode()
:
Returns true
if the recursive layout of
nested subgraphs in leaves of the tree is enabled.
setRecursiveLeafLayoutMode(boolean)
:
Sets whether the recursive layout of nested subgraphs in leaves of
the tree is enabled.
removeAllAssociates(Object)
:
Removes all the associate nodes from the input parent node.
removeAssociate(Object,
Object)
: Removes the associate node from its parent
node.
TIP_OVER_EAST
:
Tip-over east alignment option.
TIP_OVER_EAST_WEST
:
Tip-over east and west alignment option.
TIP_OVER_WEST
:
Tip-over west alignment option.
ilog.views.graphlayout.uniformlengthedges.IlvUniformLengthEdgesLayout
getLayoutMode()
:
Returns the current layout mode.
setLayoutMode(int)
:
Sets the layout mode.
FAST_MULTILEVEL_MODE
:
Fast Multilevel layout mode.
INCREMENTAL_MODE
:
Incremental layout mode.
NON_INCREMENTAL_MODE
:
Non-incremental layout mode.
ilog.views.sdm.IlvSDMEngine
isCompiledSymbolAutoLoad()
:
Returns true
when compiled symbols are loaded (if available).
setCompiledSymbolAutoLoad(boolean)
:
Controls whether compiled symbols should be loaded (if available)
instead of the interpreted CSS version, when a class declaration
involving a symbol is found.
isManagerListenerPlugged()
:
Returns true
if SDM reacts to manager content changes.
isModelListenerPlugged()
:
Returns true
if SDM reacts to model changes.
isSelectionListenerPlugged()
:
Returns true
if SDM reacts to selection changes.
isViewListenerPlugged()
:
Returns true
if SDM reacts to view changes.
plugAllListeners(boolean)
:
Installs or uninstalls all SDM engine listeners simultaneously.
plugManagerListener(boolean)
:
Installs or uninstalls a listener on a Manager.
plugModelListener(boolean)
:
Installs or uninstalls a listener on a model.
plugSelectionListener(boolean)
:
Installs or uninstalls a listener on manager selection.
plugViewListener(boolean)
:
Installs or uninstalls a listener on a view.
setAllSelectedObjects(Collection)
:
Selects the objects given as arguments, and deselects all other objects in the diagram.
ilog.views.sdm.event.SDMPropertyChangeEvent
SDMPropertyChangeEvent(Object,
Object, boolean, String[], Object[], Object[])
:
Creates a new SDMPropertyChangeEvent
for multiple simultaneous property changes.
getNewValues()
:
Returns the new values of the properties.
getOldValues()
:
Returns the old values of the properties.
getPropertyNames()
:
Returns the names of the properties that have been modified, or
null
if an unspecified set of
properties has changed.
ilog.views.sdm.graphic.IlvGeneralLink
setContainsMargin(float)
:
Sets the margin on the border of all instances of IlvGeneralLink
to be used for contains
.
ilog.views.sdm.graphic.IlvGeneralLinkTunnelCrossings
expandLinkBoundingBox(IlvRect,
IlvTransformer)
: Expands the input bounding box, which represents the bounds of the link without a link crossing shape.
The bounding box is expanded by a margin that is large enough to contain all the link crossing drawings displayed by this crossing graphic.
ilog.views.sdm.graphic.IlvGeneralNode
invalidateBBoxCache()
:
Invalidates the bounding box cache.
ilog.views.sdm.metadata.IlvMContainer
IlvMContainer(String,
int, Map)
: Creates an RDF container.
getList()
:
Returns the children as a list.
setList(List)
:
Sets the children of the container.
getMap()
:
Returns the children of the container.
setMap(Map)
:
Sets the children of the container as a map, subject to a list of statements.
isEmpty()
:
If true
the container is empty.
ilog.views.sdm.metadata.IlvMModel
IlvMModel(Map)
:
Constructor that spares a list creation.
query(IlvMStatement)
:
Queries the statements in this model that match the given pattern.
ilog.views.sdm.model.IlvBasicSDMModel
firePropertyChanged(Object,
String[], Object[], Object[])
: This method calls the
propertyChanged
method of all the
property change listeners.
ilog.views.sdm.model.IlvDefaultSDMNode
getDependentProperties(String)
:
Returns the set of properties that can be affected by a change to
the given property.
ilog.views.sdm.model.IlvMutableSDMNode
getDependentProperties(String)
:
Returns the set of properties that can be affected by a change to
the given property.
ilog.views.sdm.renderer.IlvBlinkingRenderer
getColor(Color,
Color, long, long)
: Returns a blinking color to be
used by this blinking manager.
ilog.views.sdm.renderer.IlvInfoBalloonRenderer
getInstance(IlvSDMEngine)
:
Returns the IlvInfoBalloonRenderer
instance that belongs to the specified SDM engine.
isEnabled()
:
Returns true
if the renderer is enabled (default).
setEnabled(boolean)
:
Enables or disables this renderer.
ilog.views.sdm.renderer.IlvSDMCSSFunction
getDependencies(String[])
:
Returns the dependencies of this function.
ilog.views.sdm.renderer.IlvSDMRenderer
PSEUDOCLASS_PREFIX
:
This prefix is added to a pseudoclass name when treating a
pseudoclass change such as a property change.
ilog.views.sdm.renderer.IlvStyleSheetRenderer
setOptimizeRestylingMemoizingDependencies(boolean)
:
Specifies whether restyling operations are optimized. This takes into
account the model properties that are referenced in the CSS rules
for the particular objects and the model properties that have
actually changed on the particular objects.
isOptimizeRestylingMemoizingDependencies()
:
Returns true if restyling optimization is enabled.ilog.views.sdm.renderer.maps.IlvMapStyleSheetRenderer
createLinkMapLayer(IlvManager,
int)
: Creates a link layer and adds a listener that
removes all symbols, if the layer is removed.
createSymbolMapLayer(IlvManager,
int)
: Creates the symbol layer and adds a listener
that removes all symbols, if the layer is removed.
getLinkLayerName(int)
:
Returns the link layer name for this SDM index.
getLinkMapLayer(IlvManager,
int)
: Tries to find a layer with LINK_LAYER_NAME
in the IlvMapLayerTreeModel
of the
manager.
getSymbolLayerName(int)
:
Returns the symbol layer name for this SDM index.
getSymbolMapLayer(IlvManager,
int)
: Tries to find a layer with
getSymbolLayerName(int)
in the IlvMapLayerTreeModel
of the
manager.
ilog.views.sdm.util.IlvXMLConnector
setProperty(Object,
String, Object)
: Sets a property of an object.