Squeak Class Documentation category index | class index  
 
MethodWithInterface
  category: Morphic-Scripting
  superclass: MethodInterface
  subclasses: UniclassScript

A MethodInterface bound to an actual class.

selector A symbol - the selector being described
argumentSpecifications A list of specifications for the formal arguments of the method
resultSpecification A characterization of the return value of the method
userLevel
attributeKeywords A list of symbols, comprising keywords that the user wishes to
associate with this method
defaultStatus The status to apply to new instances of the class by default
defaultFiresPerTick How many fires per tick, by default, should be allowed if ticking.
playerClass The actual class with which this script is associated

instance methods
  access
  playerClass

  initialization
  convertFromUserScript:
initialize
isTextuallyCoded
playerClass:selector:

  rename
  okayToRename
renameScript:fromPlayer:

  script editor
  allScriptEditors
currentScriptEditor:
instantiatedScriptEditorForPlayer:
recompileScriptFromTilesUnlessTextuallyCoded

  updating
  bringUpToDate
revertToLastSavedTileVersionFor:
saveScriptVersion:

class methods
  no messages
 

instance methods
  access top  
 

playerClass

Answer the playerClass associated with the receiver. Note: fixes up cases where the playerClass slot was a Playerxxx object because of an earlier bug


  initialization top  
 

convertFromUserScript:

The argument represents an old UserScript object. convert it over


 

initialize

Initialize the receiver by setting its inst vars to default values


 

isTextuallyCoded

Answer whether the receiver is in a textually-coded state. A leftover from much earlier times, this is a vacuous backstop


 

playerClass:selector:

Set the playerClass and selector of the receiver


  rename top  
 

okayToRename

Answer whether the receiver is in a state to be renamed.


 

renameScript:fromPlayer:

The receiver's selector has changed to the new selector. Get various things right, including the physical appearance of any Scriptor open on this method


  script editor top  
 

allScriptEditors

Answer all the script editors that exist for the class and selector of this interface


 

currentScriptEditor:

Set the receiver's currentScriptEditor as indicated, if I care. MethodWithInterface does not care, since it does not hold on to a ScriptEditor. A subclass of mine, however does, or did, care


 

instantiatedScriptEditorForPlayer:

Return a new script editor for the player and selector


 

recompileScriptFromTilesUnlessTextuallyCoded

Recompile Script From Tiles Unless Textually Coded. For the universal-tiles MethodWithInterface case, this is moot. Used only in support of a reintegration of Open-school forked projects from Sept 2000 in 7/01


  updating top  
 

bringUpToDate

Bring all scriptors related to this method up to date. Note that this will not change the senders of this method if the selector changed -- that's something still ahead.


 

revertToLastSavedTileVersionFor:

revert to the last saved tile version. Only for universal tiles.


 

saveScriptVersion:

Save the tile script version if I do that sort of thing


class methods
  no messages top