IlvDiagrammer diagrammer = new IlvDiagrammer(); diagrammer.setBaseTextDirection(IlvConstants.RIGHT_TO_LEFT);
Diagrammer { baseTextDirection : "Right-To-Left" ; }
StyleSheet { baseTextDirection : "Right-To-Left" ; }
node { baseTextDirection : "Right-To-Left" ; }
node[baseTextDirectionProperty] { baseTextDirection : @baseTextDirectionProperty ; }
nodeObj.setObjectProperty(nodeModelObj, "baseTextDirectionProperty", IlvBidiUtil.LEFT_TO_RIGHT)
link { baseTextDirection : "Right-To-Left" ; }
link[baseTextDirectionProperty] { baseTextDirection : @baseTextDirectionProperty ; }
link { baseTextDirection : "Right-To-Left" ; }
node:DiagrammerTable:name[baseTextDirectionProperty] { baseTextDirection : "@baseTextDirectionProperty" ; }
node:DiagrammerPropertySheet:baseTextDirection[baseTextDirectionProperty] { propertyEditor : "@#BaseTextDirectionNameEditor" ; } Subobject#BaseTextDirectionNameEditor { class : "ilog.views.util.beans.editor.IlvBaseTextDirectionNameEditor" ; }
node[baseTextDirectionProperty]:DiagrammerTable:name { baseTextDirection : @baseTextDirectionProperty; }
Level where base text direction is specified | Additional levels where specification applies | Comments |
---|---|---|
Diagram (IlvDiagrammer) | Nodes, links, property sheet, IlvDiagrammerTable. | Top level |
Node | Text that appears on node. | |
Link | Text that appears on link. | |
Property sheet cells | Text that appears in property sheet cells. | |
IlvDiagrammerTable | Text that appears in IlvDiagrammerTable cells. |
designerObj.setObjectProperty(linkObj, "myBaseTextDirection", IlvBidiUtil.RIGHT_TO_LEFT)