The ScopeSET Support and Community Portal
         
View all tags
Tags:    No tags associated yet.
Go Back
Tracker: ECRs Priority: Normal Type: Enhancement
Found: -- Status: Closed Target: 9.3+10.1
OS: All Fixed: 9.3.0.0.14, 10.1.0.0.5 PatchID: --
Description:
Provide a ToolTipFunc rule for node, link and cntx objects in GDE. In order to specify the mapping which is used to determine the currently active (-> mouse over) OMS object, (whose id needs to be passed into the func) I propose the to use the same principle as the for Navigation rule:
NodeSymbol Object
{
    { ToolTip
        { UseMappings (ObjectMapping) }
        { ToolTipFunc getObjectDescription }
    }
}
The UseMappings rule could only specify one mapping (not many in a list).
string getObjectDescription( int oms_id )
{
...

The returned string should then be displayed as regular tooltip in the canvas.

Another approach would be to use the variable substitution as used for DisplayMarks:

{ StringMarkFunc "uml_state_machine_protocol_dmark(0${node.id});" 
} But I have no idea how node.id is determined if there is more than one mapping.
Details:
Children (0)
Associations (1)
All (0)

Submitted Type Wiki Link Target Comment
Nothing found to display.

Submitted Type Wiki Link Source Comment
amueller
Jun 18 2008 08:54
related [ECR-3180] Add tooltips to OMOS class editor