help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Heirachy and Behavior>>#new


From: Lyndon Tremblay
Subject: [Help-smalltalk] Heirachy and Behavior>>#new
Date: Wed, 03 Dec 2003 16:52:30 -0700

Object: EditorButtons error: should not be implemented in this class, use #new i
nstead
SystemExceptions.WrongMessageSent(Exception)>>#signal
SystemExceptions.WrongMessageSent class>>#signalOn:useInstead:
EditorButtons class(Behavior)>>#new:
EditorButtons class(ArrayedCollection class)>>#with:
EditorButtons class>>#make
 
And:
 
Array subclass: #EditorButtons
    ...!
!EditorButtons class methodsFor: 'instantiation'!
make
    ^self with: #(anObject anObject2 ...)!
 
Or, is it possible to somehow have #() be another class of Collection, instead of Array?
 
--humasect

reply via email to

[Prev in Thread] Current Thread [Next in Thread]