How to Modify "Submap Parent Submap ID"

ITEM: RTA000087720



I'd like to know about the concept "Submap Parent Submap ID".                   
                                                                                
This ID is seen in the output of "ovmapdump -v" command as one of               
the attributes of submap, but it cannot be seen in OVwSubmapInfo                
sturucture in "ovw.h".                                                          
                                                                                
From my point of view, parent submap seems to be set to the one where           
the first symbol of its parent object is drawn.                                 
For example, please assume an object "A" is associate with 3 symbols,           
"A1", "A2" and "A3". Also please assume double clicking "A1","A2",and           
"A3" drive us to the same submap.                                               
                                                                                
        submap1     submap2    submap3                                          
         +----+     +----+     +----+                                           
         | A1 |     | A2 |     | A3 |                                          
         +-.--+     +-|--+     +----+                                           
           |          v                                                         
           |        +----+                                                      
           +------->| a  |                                                      
                    +----+                                                      
               submap4: Child submap of Object"A"                               
                                                                                
But from the "submap4", we can only return to the submap1 by the                
context menu "Parent Submap" function, if "A1" is drawn earlier                 
than "A2" and "A3".                                                             
                                                                                
Q1. Is my assumption correct?                                                   
Q2. Is there any idea to modify "submap parent submap ID" of one                
    submap? I deeply hope we don't have to care about the order to              
    create symbols for one object... Because it causes slight change           
    to one customer's application.                                              
                                                                                
                                                                                
                                                                                
ANSWER                                                                          
                                                                                
You can change the parent symbol for a submap by using the                      
Edit->Modify/Describe->Submap option from the menu bar.  Which of               
several possible symbols is the initial parent symbol depends, as you           
say, on the order in which they are created.                                    
As far as I can see there is no way to modify the mapping from a program.       
                                                                                
The problem of each submap having only one parent *object*, which can           
be represented by multiple *symbols* is being addressed in the                  
next release of NV for AIX.  In that release, the "parentage" of a             
submap is dependent on how you reached it (that is, in your case if             
you double-clicked A2 to reach submap 4, "Show Parent" would take you           
back to submap 2, not submap 1.                                                 
                                                                                
S e a r c h - k e y w o r d s:                                                  
NETVIEW FOR AIX NV6000                                                          
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                                
                                                                               


WWQA: ITEM: RTA000087720 ITEM: RTA000087720
Dated: 12/1995 Category: ITSCSAIXNV6
This HTML file was generated 99/06/24~12:43:29
Comments or suggestions? Contact us