ApplicationModel.st
changeset 2027 2e0d241d5217
parent 2010 056f10fc00cd
child 2038 b66ff6d8c24d
equal deleted inserted replaced
2026:7b5a4fe5fbca 2027:2e0d241d5217
  2678     "some windowManagers send this to shut down an application
  2678     "some windowManagers send this to shut down an application
  2679      and have it save its state for restart.
  2679      and have it save its state for restart.
  2680      Can be redefined in subclasses"
  2680      Can be redefined in subclasses"
  2681 
  2681 
  2682     self saveAndTerminateRequest
  2682     self saveAndTerminateRequest
  2683 !
       
  2684 
       
  2685 windowClass
       
  2686     "return the type of topWindow I would like to have created.
       
  2687      Can be redefined in subclasses to allow for specialized
       
  2688      subclass of ApplicationWindow to be returned here."
       
  2689 
       
  2690     ^ ApplicationWindow
       
  2691 ! !
  2683 ! !
  2692 
  2684 
  2693 !ApplicationModel methodsFor:'window events'!
  2685 !ApplicationModel methodsFor:'window events'!
  2694 
  2686 
  2695 dispatchEvent:event
  2687 dispatchEvent:event
  2819 ! !
  2811 ! !
  2820 
  2812 
  2821 !ApplicationModel class methodsFor:'documentation'!
  2813 !ApplicationModel class methodsFor:'documentation'!
  2822 
  2814 
  2823 version
  2815 version
  2824     ^ '$Header: /cvs/stx/stx/libview2/ApplicationModel.st,v 1.209 2004-08-19 18:16:18 cg Exp $'
  2816     ^ '$Header: /cvs/stx/stx/libview2/ApplicationModel.st,v 1.210 2004-11-25 17:44:25 stefan Exp $'
  2825 ! !
  2817 ! !
  2826 
  2818 
  2827 ApplicationModel initialize!
  2819 ApplicationModel initialize!