![]() |
The framwork question |
Post Reply
|
| Author | |
Donald
Visitor
Joined: May 30 2008 Status: Offline Points: 17 |
Post Options
Thanks(0)
Quote Reply
Topic: The framwork questionPosted: June 03 2008 at 7:05am |
|
Through reading the ProgramGuide doc and the type lib,
I got to know that all the main Interfaces in 'TE pro'
were realized by TerraExplorer com class ,
all we need to do is to query other interface from
ITerraExplore.
Though there are some other com classes in the ocx control,
like:'TE3DWindow','TENavigationMap','TEInfomation','SkylineProtocol',
'NestedDispatch' and so on
(I thought the Interface of these com classes were reused by TerraExplorer
using 'contain' or 'Aggregation')
but don't you think that the TerraExplorer com class is too big to maintain?
Why don't use 'composition' style,like MapObjects(the product of ESRI).
All the components in MapObjects are independent,but through 'composition',they
can work together perfectly,and much easier to maintain. Edited by Donald - June 03 2008 at 7:07am |
|
![]() |
|
Post Reply
|
|
|
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |