From: Pascal <pb...@oi...> - 2001-01-22 15:29:22
|
Some secondary values are callable, but certain arrays will give problems (I'm trying to fix that). I'm not sure if I can retrieve variable names (anyone with an idea on that one?) But I am planning on creating an extra module like Oversight, which reads the DynAPI tree of objects (dynapi.document and all child layers) and regenarets correct code for it.. This would be the first step for wysiwyg editing.. simple attach dragevent listeners to every layer on screen so that they can be placed, call the code-generator and you have your wysiwyg editor Also another idea I'm having is including a better object watcher to Oversight.. like the one found in Delph, Visual basic ,etc.. a window showing all properties and values, make them editable and you have easy access to every object, making the Dump Object obsolete. cya, Pascal Bestebroer (pb...@oi...) Software ontwikkelaar Oberon Informatiesystemen b.v. http://www.oibv.com > -----Oorspronkelijk bericht----- > Van: dyn...@li... > [mailto:dyn...@li...]Namens Richard Bennett > Verzonden: maandag 22 januari 2001 0:42 > Aan: dyn...@li... > Onderwerp: Re: [Dynapi-Dev] Oversight > > > Hi, > This was another amazing job, both of you, I'll add it to > every example on > my site with the next release, > and have it called from a link instead of my DynAPIDiagnose. > A few points: > you probably know dumping the secondary values from the hyperlinks > doesn't work yet. > Is it possible to get a clickable list of the objects on > the page by the > name they were defined by, like this: > > Available objects on this page: > * MyLayer > *MyChildLayer > > * SkinWindow1 > *myPushPanel1 > *myLoadPanel1 > etc. > oh, and you could add printing, and... > > Cheers, > Richard Bennett > > ma...@ri... > www.richardinfo.com > (Everything running on, and ported to the 19/12/2000 snapshot > of DynAPI2) > > > ----- Original Message ----- > From: "Pascal Bestebroer" <pa...@dy...> > To: "Dev" <dyn...@li...> > Sent: Sunday, January 21, 2001 2:58 PM > Subject: [Dynapi-Dev] Oversight > > > > Played "abit" with Martin Ström 's console code, and got > some nice ideas > on > > how to enhance it. > > See the attached result. > > > > Unzip this package into a sub directory of your DynAPI code > (eg. into the > > src/ directory), and add the following two lines to your > code for some > great > > debuggin tools: > > > > DynAPI.include('oversight.js','../src/oversight') > > > > and then in the DynAPI.onLoad, add the first line: > > > > Oversight.run('../src/oversight') > > > > where the '../src/oversight' is the path of your Oversight > root folder. > > > > I haven't done much on errorhandling yet so be carefull, > but currently you > > have the > > following tools: > > > > * Add watch > > Adds a property to the watcher.. the watcher will then > display the value > > of that property. > > For example, try adding a watch for myLayer.x and make the layer > > dragable.. > > > > * Delete watch > > Deletes the property or variable from the watcher list.. > no real need > for > > this, every property > > will have a DEL link in the watcher window, to remove > it.. saves typing > > > > * Dump object > > Dumps the specified object and it's properties/methods.. > also creating > > dynamic hyperlinks for > > all child objects. > > > > * Show value > > Displays the value of the specified variable or property > (not watching, > > just printin it once) > > > > * Execute code > > Will execute any code you type in it.. Basically this > allows you to > create > > DynLayer, move existing > > DynLayers/widgets, etc,etc,etc. > > > > I want to enhance the Execute code, so that it displays a > memo field so in > > which you can type more lines > > at once.. making it a runtime editor. > > > > I think that when we create more of these types of tools, that the > > DynBuilder as described by Henrik is actually possible as a > Webapplication. > > > > I've only tested this stuff on IE5 and NS4.. and works > under both browsers > > perfectly. > > Let me know of any ideas, comments, flames, rock throwing, etc.. > > > > cya, > > > > Pascal Bestebroer > > pa...@dy... > > http://www.dynamic-core.net > > > > > _______________________________________________ > Dynapi-Dev mailing list > Dyn...@li... > http://lists.sourceforge.net/lists/listinfo/dynapi-dev > |