eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ViewWithAcceptAndCancelBar':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: ViewWithAcceptAndCancelBar


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--ViewWithAcceptAndCancelBar
               |
               +--Tools::CodeView2WithAcceptAndCancelBar

Package:
stx:libtool
Category:
Views-Basic
Version:
rev: 1.24 date: 2021/01/20 13:17:43
user: cg
file: ViewWithAcceptAndCancelBar.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


experimental - self like accept/cancel bar in the browsers
code view.
Enable with:
     UserPreferences current showAcceptCancelBarInBrowser:true

copyright

COPYRIGHT (c) 2006 by eXept Software AG All Rights Reserved This software is furnished under a license and may be used only in accordance with the terms of that license and with the inclusion of the above copyright notice. This software may not be provided or otherwise made available to, or used by, any other person. No title to or ownership of the software is hereby transferred.

Instance protocol:

accessing
o  acceptAction: something
define the action to be performed when the green accept button is pressed

o  cancelAction: something
define the action to be performed when the red cancel button is pressed

o  compareAction: aBlock
define the action to be performed when the yellow compare button is pressed

o  reallyModifiedHolder: aValueHolder
set the holder which keeps track of the real modified state;
the modified state of the view is set with every user-input,
but cleared by the master (in order to trigger future modified events).
With every modified change, the state of the reallyModified is updated

o  scrolledView
for protocol compatibility

action
o  accept
(comment from inherited method)
accept the current contents by executing the accept-action and/or changeMessage.

o  cancel

o  compare

change & update
o  hideBar

o  showBar

o  update: something with: aParameter from: changedObject
not sure if we really need to send it through the application

o  updateBarVisibility
Modified (format): / 29-11-2011 / 14:05:04 / cg

initialization
o  initialize
self new open

o  setSlaveView: aView
|v|

v := self new.
v slaveView:CodeView new.
v open

o  slaveView: aView
|v|

v := self new.
v slaveView:CodeView new.
v open


Private classes:

    AcceptAndCancelBar


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sat, 21 Dec 2024 18:36:35 GMT