|
Class: ViewWithAcceptAndCancelBar
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
experimental - self like accept/cancel bar in the browsers
code view.
Enable with:
UserPreferences current showAcceptCancelBarInBrowser:true
copyrightCOPYRIGHT (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.
accessing
-
acceptAction: something
-
define the action to be performed when the green accept button is pressed
-
cancelAction: something
-
define the action to be performed when the red cancel button is pressed
-
compareAction: aBlock
-
define the action to be performed when the yellow compare button is pressed
-
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
-
scrolledView
-
for protocol compatibility
action
-
accept
-
(comment from inherited method)
accept the current contents by executing the accept-action and/or changeMessage.
-
cancel
-
-
compare
-
change & update
-
hideBar
-
-
showBar
-
-
update: something with: aParameter from: changedObject
-
not sure if we really need to send it through the application
-
updateBarVisibility
-
Modified (format): / 29-11-2011 / 14:05:04 / cg
initialization
-
initialize
-
self new open
-
setSlaveView: aView
-
|v|
v := self new.
v slaveView:CodeView new.
v open
-
slaveView: aView
-
|v|
v := self new.
v slaveView:CodeView new.
v open
AcceptAndCancelBar
|