[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

2388.0. "Creation (and Deletion) of child entities using T1.2.4 vs V1.1" by UTES09::GOES (Paul Goes - T&N Digital Utrecht) Fri Feb 21 1992 03:59

Hi,

Comparing DECmcc T1.2.4 against DECmcc V1.1 I noticed the following
features that I find a little strange:

1 - The IMPM places a dot in front of the instance when creating
	a child entity, but the FCL PM does not.
2 - The IMPM toolbox displays REGISTER and DELETE symbols for an child
	entity that only supports the DELETE directive.
3 - The IMPM add entity dialog box displays the entity structure when
	creating a child entity -> but what is the function of this ?
4 - The IMPM add entity dialog box displays the box and ring map
	drawing tools when creating a child entity -> but does this work ?

To explain:

=== 1 ===

I have child entities for which a CREATE directive is supported. This
CREATE directive creates the instances in the MIR, and the SHOW IDENT
directive reads the instances from the MIR and displays the identifiers.
The instances are not registered in DNS; the child entities doesn't
support the REGISTER directive.

In DECmcc T1.2.4 I'm facing the following behaviour of the IMPM.

After I've opened the toolbox I can select my child entity class and 
a window is opened in which I have to enter the name of my child entity.
My child entity has the Latin1String datatype and when I enter the
string:
		001-0-22
It is converted by the IMPM to the following string (the PM sends this
string, in the in_entity argument, to my AM):
		.001-0-22    (it places a dot at the beginning of the string)

Why does it place the dot in front of the string ?

Is it because people can leave the dot when registering global entities ?

Then it may be OK, but it is very unhandy for my case !

When I enter the FCL directive:
		MCC> CREATE ... CHILD_ENTITY 001-0-22
It passes the string without placing a dot at the beginning.

So my AM has to decide if it has to remove the dot (or not) depending on the
PM that was used to generate the directive.

=== 2 ===

When I open the toolbox when I'm at the child entity level of my entity
hierarchy, the toolbox displays the DEREGISTER and DELETE tools (DECmcc V1.1
only displays the DELETE tool). My child entity only supports the DELETE 
directive, so why is the DEREGISTER tool also displayed ?

It appears that the DEREGISTER tool issues a DELETE directive to my AM, but
does it also perform other things, or is it exactly the same as the 
DELETE tool ?

=== 3 ===

When I try to create a child entity (see === 1 ===) the add entity dialog
box is displayed. In this dialog box the parent entity classes are also
shown together with the instances of the selected entity hierarchy. The 
instances can be changed.

What is the function of this ? Can you change the global entity instance
to another global entity of the same entity class, and will it then create a
child entity below the other entity instance ?

=== 4 ===

When I try to create a child entity (see === 1 ===) the add entity dialog box
is displayed. In this dialog box it is possible to select the drawing
tools (like the double line, box and ring (circle) )

What is the function of this ? When you select a drawing tool it says:
>> Move pointer to a map window and use MB1 to draw << 
But no drawing is possible: It doesn't respond to clicks on MB1.


Does somebody have the answers to my questions ?

Thanks in advance,  Paul Goes
T.RTitleUserPersonal
Name
DateLines
2388.11? answers for 2,3,4TOOK::D_WONGDavid Wong @LKG 2-2Fri Feb 21 1992 09:5691
    
    ==== 1 ====
    
    After I've opened the toolbox I can select my child entity class and
    a window is opened in which I have to enter the name of my child
    entity.
    My child entity has the Latin1String datatype and when I enter the
    string:
                    001-0-22
    It is converted by the IMPM to the following string (the PM sends this
    string, in the in_entity argument, to my AM):
                    .001-0-22    (it places a dot at the beginning of the
    string)
    
    Why does it place the dot in front of the string ?
    
    >> I haven't seen that problem myself (and I've tried adding lots of
    >> different subentities myself).  Try creating subentity other than
    >> the one that you're developing (i.e. node4 circuit, domain rule,
    >> etc) and let me know if IMPM puts in the dot.
    
    ==== 2 ===
    
    When I open the toolbox when I'm at the child entity level of my entity
    hierarchy, the toolbox displays the DEREGISTER and DELETE tools (DECmcc
    V1.1
    only displays the DELETE tool). My child entity only supports the
    DELETE
    directive, so why is the DEREGISTER tool also displayed ?
    
    It appears that the DEREGISTER tool issues a DELETE directive to my AM,
    but
    does it also perform other things, or is it exactly the same as the
    DELETE tool ?
    
    >> The toolbox displays both tools because now we can put subentity
    >> on the map (domain view, global entity view, or whatever you want to
    >> call it).  For example, if you DELETE (single bar) a subentity on 
    >> a map, it will be removed from the map only.
    >> And if you DEDEREGISTER (double bar) a subentity
    >> on a map, it will be 'deleted' (DELETE directive issued) and removed 
    >> from the map.
    >>
    >> In your case (you are in subentity view), both tools mean the same
    >> thing (i.e. DELETE directive issued -- same as V1.1).
    >>
    >> Well, you may ask why we bother to put both tools on the subentity
    >> toolbox.  The answer is the toolbox is designed to serve both the
    >> subentity and domain view (as much as possible) without having
    >> the users to go up/down in the toolbox.
    
    === 3 ===
    
    When I try to create a child entity (see === 1 ===) the add entity
    dialog
    box is displayed. In this dialog box the parent entity classes are also
    shown together with the instances of the selected entity hierarchy. The
    instances can be changed.
    
    What is the function of this ? Can you change the global entity
    instance
    to another global entity of the same entity class, and will it then
    create a
    child entity below the other entity instance ?
    
    >> Again, we can add subentity to the domain view now, and that's why
    >> the parent entity class are shown.
    >>
    >> If you try to add a subentity whose parent doesn't match the
    >> subentity view's parent, IMPM will tell you.  But you're free to
    >> add any subentity to the domain view.
    >>
    
    === 4 ===
    
    When I try to create a child entity (see === 1 ===) the add entity
    dialog box
    is displayed. In this dialog box it is possible to select the drawing
    tools (like the double line, box and ring (circle) )
    
    What is the function of this ? When you select a drawing tool it says:
    >> Move pointer to a map window and use MB1 to draw <<
    But no drawing is possible: It doesn't respond to clicks on MB1.
     
    >> Drawable entity (i.e. line, box, etc) is only allowed in domain view.  
    >> In next release, a message will be displayed to inform you that
    >> you can't add drawable entity to subentity view.
    
    \david