Do it yourself Browser Demo
PartsBinBrowser
X

Menu
PanedWindowTemplate
X

Menu
1
2
3
4
5
6
7
8
9
// changed at Wed Oct 02 2013 01:08:44 GMT-0700 (PDT) by robertkrahn  
this.addScript(function onLoad() {  // this.onLoad()
}).tag(["app methods"]);
// changed at Sat Sep 21 2013 12:54:33 GMT-0700 (PDT) by Dan  
this.addScript(function reset() {  // this.reset()
    //  Call a method to clear state for saving in parts bin
}).tag(["app methods"])
X
-- ALL --
onLoad
reset











Scripts
-- ALL --
Connections
+
+
-
-
<lively.morphic.Panel#AE943...>
Tag:
app methods
run
save
Tests

ObjectEditor
X

Menu
Instructions
X

Menu
    this.selectorPane.clearSelections();
    this.selectorPaneSetList(aClass.functionNames());
9.  Now you can have fun scrolling around in the class list and selecting 
various classes to see their methods appear in selectorPane.
10.  The class names are ugly, though, aren't they?  Add this line at the 
beginning of 'onLoad', and re-execute the comment:
    this.classPane.renderFunction = function(c) {return c.name};
11.  We're almost done now.  Browse to 'selectorPaneSelection', and paste in 
this line of code:
    this.methodPaneSetTextString(this.theClass.prototype[selection])
Poof, you have a broswer!  Use the window 'Menu' button to change the title 
accordingly.  Or, if you want to get really fancy, you could add this line to 
classPaneSelection:
    this.owner.setTitle('Class Browser' + (aClass ? 'on ' + aClass.name : '');
Tune in next time when we add the ability to make changes in the browser, save 
them in little packages called ChangeSets and leave them in the PartsBin for 
others to enjoy.
X