[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

338.0. "PROBLEM: Iconic Dynamic Children Not Supported?" by COOKIE::KITTELL (Richard - Architected Info Mgmt) Thu Sep 20 1990 12:14

I seem to be stuck, probably because I want too much.

I am trying to set up registered global entities who do not necessarily have
any children when they (the ges) are created. I want the children to be
managed by the ge but accessible from the iconic interface.

To let the ge be registered without children I made the children dynamic.
But now when I double-click on the ge icon I'm told that the ge has no
children. I'm told this even though a SHOW hasn't been done to find that there
are indeed children (created from FCL but not registered.)

The initial V1.1 FT kit was willing to register a ge without insisting that
it have children. Is this change intentional?
T.RTitleUserPersonal
Name
DateLines
338.1BARREL::LEMMONThu Sep 20 1990 13:169
It  sounds like your entity hierarchy is not set up right.  The 
Iconic Map will go to the dictionary and see if the global entity
has any children.  If so, it will do a SHOW child * operation.  If it
doesn't find any children in the dictionary it displays the
"entity does not have any children" message.   

Check your msl/dictionary to make sure your entity is set up correctly.

/Jim
338.2No ShowCOOKIE::KITTELLRichard - Architected Info MgmtThu Sep 20 1990 13:3311
RE: .1

As I noted in the base note, it is telling me there are no children without
ever doing a show. I set a break point on the show entry point to be sure.

Everything works fine from FCL, including context sensitive help (neat, Jill).
That wouldn't happen in the dictionary was very far out of whack.

I'm as willing as ever to accept that I've scrozzled something, but I can't
think of what I would do to make the iconic PM behave this way.
338.3BARREL::LEMMONFri Sep 21 1990 09:4813
   hmm...  If you can do the show wildcard from the FCL (e.g., 
SHOW <global-class> <global-instance> <child-class> * ALL IDENTIFIERS) for
each child of the global entity, your entity hierarchy seems to be ok.   

   The error message you are seeing should only be displayed if the entity you
are double clicking into does not have any children classes in the dictionary.

Can you mail your MS file to BARREL::LEMMON?  I need to snoop around a bit to 
see if I can find out why our code thinks there aren't any children entities for
the global entity. 

Thanks
/Jim
338.4INFO: It has to do with DYNAMICCOOKIE::KITTELLRichard - Architected Info MgmtMon Sep 24 1990 18:3714
Jim, after sending you my MSL I've discovered some things. I have to
make the Storage and VMS child entities Dynamic = TRUE in order to register
them. That makes ICONIC_PM think that Archive and Node have no children.

The Storage and VMS entities are instance-less, and Register doesn't
seem to like non-dynamic entities without instances.

I left the Rule child entity Dynamic = False, and if I create a dummy
rule before I register the StorMgmtDomain the register works. And I can
double-click and look-into that StorMgmtDomain.

Is ICONIC_PM intended to navigate only the registered (non-dynamic)
entity tree? If so, I'm sadly out of luck.
338.5TOOK::F_MESSINGERTue Sep 25 1990 09:436
Richard,
When you double-click on a dynamic subentity,  the  contents of the "grouping"
are drawn (text) in the window.  You can then navigate into one of the members
of the group, but you cannot double-click "into XXX..."

Fred
338.6Group?COOKIE::KITTELLRichard - Architected Info MgmtTue Sep 25 1990 11:049
RE: .5

Fred,

I've heard of attribute groups, but not entity or instance groups. Is this
a new concept introduced by the Iconic PM?

How does it relate to registered entities?
338.7TOOK::F_MESSINGERTue Sep 25 1990 14:107
Richard,
It's only a term I used in hopes of conveying the message that when you
doubleclicked on something like "Objects..."  the instances of objects for
that entity would be listed underneath in the subentiy map window.
Sorry for the confusion.

Fred
338.8SOLUTION: Instance-less entities Need Show VerbCOOKIE::KITTELLRichard - Architected Info MgmtTue Sep 25 1990 18:4319
Jim Lemmon put some time in on this and cleared it up. You may recall,
some of the entities in the hierarchy are instance-less, something discussed
in note 307. As directed in 307, I had an empty Identifiers partition defined
for each, as well as dispatch table and directive support for wildcard
shows on them. But Jim found was that I hadn't put the Show directive
in the MSL on the instance-less entities, hence the dictionary didn't show
any directives for those entities.

The iconic_pm (reasonably) expects that if an entity has an attribute
partition it has a show directive.

I've fixed that, and I'm just navigating all over the entity hierarchy, 
smilin' all the while!

I'll update note 307 accordingly. Jim said his team will put some additional
tests and messages in for this sort of thing.

Many thanks.
338.9SHOW IDENTIFIERS is a required service for Map PMTOOK::STRUTTColin StruttWed Sep 26 1990 21:249
.8> The iconic_pm (reasonably) expects that if an entity has an attribute
.8> partition it has a show directive.
    
    To be precise, the Iconic Map PM requires (as does the Entity Model)
    that every class has a SHOW IDENTIFIERS operation defined, and
    supported, for it. This is documented in the "services required"
    section of the Iconic Map PM.
    
    Colin