eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::ChangeSetBrowser2':

Home

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

Class: ChangeSetBrowser2 (in Tools)


Inheritance:

   Object
   |
   +--Model
      |
      +--ApplicationModel
         |
         +--ToolApplicationModel
            |
            +--Tools::ChangeSetBrowser2

Package:
stx:libtool
Category:
Interface-Browsers-ChangeSet
Version:
rev: 1.82 date: 2019/07/10 16:34:28
user: cg
file: Tools__ChangeSetBrowser2.st directory: libtool
module: stx stc-classLibrary: libtool

Class protocol:

accessing
o  showRemoved

o  showRemoved: aBoolean

help specs
o  helpSpec
This resource specification was automatically generated
by the UIHelpTool of ST/X.

image specs
o  applyFromLastSnapshotIcon

o  applyFromLastSnapshotIcon1
This resource specification was automatically generated
by the ImageEditor of ST/X.

o  applyFromLastSnapshotIcon2
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     self applyFromLastSnapshotIcon2 inspect
     ImageEditor openOnClass:self andSelector:#applyFromLastSnapshotIcon2
     Icon flushCachedIcons

o  applyIcon

o  applyIcon1
This resource specification was automatically generated
by the ImageEditor of ST/X.

o  applyIcon2
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     self applyIcon2 inspect
     ImageEditor openOnClass:self andSelector:#applyIcon2
     Icon flushCachedIcons

o  applyToEndIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     self applyToEndIcon inspect
     ImageEditor openOnClass:self andSelector:#applyToEndIcon
     Icon flushCachedIcons

o  compressIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     ImageEditor openOnClass:self andSelector:#compressIcon

o  deleteIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     ImageEditor openOnClass:self andSelector:#deleteIcon

o  deleteToEndIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     ImageEditor openOnClass:self andSelector:#deleteToEndIcon

o  findLastSnapshotIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     ImageEditor openOnClass:self andSelector:#findLastSnapshotIcon

o  findNextSnapshotIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     ImageEditor openOnClass:self andSelector:#findNextSnapshotIcon

o  findPreviousForClassIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     self findPreviousForClassIcon inspect
     ImageEditor openOnClass:self andSelector:#findPreviousForClassIcon
     Icon flushCachedIcons

o  findPreviousSnapshotIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.

usage example(s):

     self findPreviousSnapshotIcon inspect
     ImageEditor openOnClass:self andSelector:#findPreviousSnapshotIcon
     Icon flushCachedIcons

instance creation
o  on: aStringOrChangeSet
Opens a browser on given changeset. If the argument is
string, then loads the changeset from given file - for
compatibility with other tools

o  on: aChangeSet label: aString

o  on: aChangeSet label: label setupWith: aBlock

o  onFile: aString

interface opening
o  confirmChanges: aChangeSet
open a confirmation dialog for a number of changes to be applied

o  confirmChanges: aChangeSet label: aString
Hmm, DialogBox class layout options are quite limited :-((

usage example(s):

         Tools::ChangeSetBrowser2
            confirmChanges:
                (ChangeSet current copyFrom: ((ChangeSet current size - 10) max: 1) to: ChangeSet current size)
            label: 'Last 10 changes...'

o  open
Open browser and load current changefile

o  openOn: aChangeSet
self openOn: ChangeSet current

o  openOn: aChangeSet label: aString

o  openOn: aChangeSet label: aString setupWith: aBlock

interface specs
o  hierarchicalNavigatorSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:Tools::ChangeSetBrowser2 andSelector:#hierarchicalNavigatorSpec
     Tools::ChangeSetBrowser2 new openInterface:#hierarchicalNavigatorSpec

o  oneColumnNavigatorSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:Tools::ChangeSetBrowser2 andSelector:#oneColumnNavigatorSpec
     Tools::ChangeSetBrowser2 new openInterface:#oneColumnNavigatorSpec

o  twoColumnNavigatorSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:Tools::ChangeSetBrowser2 andSelector:#twoColumnNavigatorSpec
     Tools::ChangeSetBrowser2 new openInterface:#twoColumnNavigatorSpec

o  windowSpec
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:Tools::ChangeSetBrowser2 andSelector:#windowSpec
     Tools::ChangeSetBrowser2 new openInterface:#windowSpec
     Tools::ChangeSetBrowser2 open

o  windowSpecForEmbedding

o  windowSpecWithoutToolbar
This resource specification was automatically generated
by the UIPainter of ST/X.

usage example(s):

     UIPainter new openOnClass:Tools::ChangeSetBrowser2 andSelector:#windowSpecWithoutToolbar
     Tools::ChangeSetBrowser2 new openInterface:#windowSpecWithoutToolbar

menu specs
o  changeMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:Tools::ChangeSetBrowser2 andSelector:#changeMenu
     (Menu new fromLiteralArrayEncoding:(Tools::ChangeSetBrowser2 changeMenu)) startUp

o  changeMenu1

o  changeMenu2

o  mainMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:Tools::ChangeSetBrowser2 andSelector:#mainMenu
     (Menu new fromLiteralArrayEncoding:(Tools::ChangeSetBrowser2 mainMenu)) startUp

o  toolbarMenu
This resource specification was automatically generated
by the MenuEditor of ST/X.

usage example(s):

     MenuEditor new openOnClass:Tools::ChangeSetBrowser2 andSelector:#toolbarMenu
     (Menu new fromLiteralArrayEncoding:(Tools::ChangeSetBrowser2 toolbarMenu)) startUp

plugIn spec
o  aspectSelectors
This resource specification was automatically generated
by the UIPainter of ST/X.


Instance protocol:

accessing
o  allowAccept: aBoolean

o  allowOpen: aBoolean

o  allowRemove: aBoolean

o  beHierarchical

o  beOneColumn

o  beTwoColumn

o  changeset

o  changeset: aChangeSet

o  codeAspect

o  readOnly: aBoolean

o  selectedChanges

o  showFilter: aBoolean

o  showSame: aBoolean

o  targetNamespace: something

o  targetPackage: something

o  theSingleSelectedChange

o  title: aString

accessing-defaults
o  defaultTitle

accessing-menus
o  list1MenuHolder
cg: must nil shortcut keys, because the menu is present twice,

o  list2MenuHolder
cg: must nil shortcut keys, because the menu is present twice,

actions
o  accept: source

o  processEvent: anEvent
filter keyboard events for accept key

aspects
o  allowAcceptHolder
return/create the 'selectionHolder' value holder (automatically generated)

o  allowOpenHolder
return/create the 'allowOpenHolder' value holder (automatically generated)

o  allowOpenHolderAndCypressPresent
Modified (format): / 07-09-2012 / 20:09:09 / Jan Vrany <jan.vrany@fit.cvut.cz>

o  allowRemoveHolder
return/create the 'allowRemoveHolder' value holder (automatically generated)

o  allowRemoveHolder: something
set the 'showRemovedHolder' value holder (automatically generated)

o  changeSourceHolder

o  changesetHolder
return/create the 'changesetHolder' value holder (automatically generated)

o  changesetHolder: something
set the 'changesetHolder' value holder (automatically generated)

o  classHolder
return/create the 'classHolder' value holder (automatically generated)

o  codeAspectHolder
return/create the 'codeAspectHolder' value holder (automatically generated)

o  imageSourceHolder

o  infoPanel

o  isTwoColumnHolder

o  isTwoColumnHolderNot

o  labelAHolder

o  labelBHolder

o  languageHolder

o  list1Holder
return/create the 'list1Holder' value holder (automatically generated)

o  list1Holder: something
set the 'list1Holder' value holder (automatically generated)

o  list2Holder
return/create the 'list2Holder' value holder (automatically generated)

o  list2Holder: something
set the 'list2Holder' value holder (automatically generated)

o  navigatorChangesetHolder
return/create the 'navigatorChangesetHolder' value holder (automatically generated)

o  navigatorSpecHolder
#hierarchicalNavigatorSpec

o  notShowConflictsOnlyAspect

o  notShowConflictsOnlyOrDefinitionsOnlyAspect

o  notShowDefinitionsOnlyAspect

o  selection1Holder
return/create the 'selection1Holder' value holder (automatically generated)

o  selection1Holder: something
set the 'selection1Holder' value holder (automatically generated)

o  selection2Holder
return/create the 'selection2Holder' value holder (automatically generated)

o  selection2Holder: something
set the 'selection2Holder' value holder (automatically generated)

o  showConflictsOnlyAspect
return/create the 'showConflictsOnlyAspect' value holder (automatically generated)

o  showConflictsOnlyAspect: aValueHolder

o  showDefinitionsOnlyAspect
return/create the 'showDefinitionsOnlyAspect' value holder (automatically generated)

o  showDefinitionsOnlyAspect: aValueHolder

o  showFilterHolder
return/create the 'showFilterHolder' value holder (automatically generated)

o  showFilterHolder: something
set the 'showFilterHolder' value holder (automatically generated)

o  showRemovedAspect
return/create the 'showDeletedAspect' value holder (automatically generated)

o  showRemovedAspect: aValueHolder

o  showSameAspect
return/create the 'showSameAspect' value holder (automatically generated)

o  showSameAspect: something
set the 'showSameAspect' value holder (automatically generated)

o  showTimestampHolder
return/create the 'showTimestampHolder' value holder (automatically generated)

o  showTimestampHolder: something
set the 'showTimestampHolder' value holder (automatically generated)

o  showingRegularChangesetHolder
return/create the 'showingRegularChangesetHolder' value holder (automatically generated)

o  showingRegularChangesetHolder: something
set the 'showingRegularChangesetHolder' value holder (automatically generated)

o  titleHolder
return/create the 'titleHolder' value holder (automatically generated)

o  updateChangeFileHolder

aspects-queries
o  hasSelectionHolder

o  isWorkingHolder

o  isWorkingNotHolder

change & update
o  changesetChanged

o  selectionChanged
Hack to make sure code is displayed in similar way

o  showingRegularChangesetChanged

o  update: aspect with: param from: sender
(comment from inherited method)
dependent is notified of some change -
Default is to try update:with:

initialization
o  list1View: aSubApplicationView

o  list2View: aSubApplicationView

o  postBuildSourceView: aView

o  postOpenWith: aBuilder
I want to intercept keyboard events.

menu actions
o  doApply
Applies currently selected change

o  doApplyFromLastSnapshot

o  doApplySelectedChanges

o  doApplyToEnd

o  doCompress

o  doDelete

o  doDeleteToEnd
automatically generated by UIEditor ...

o  doFindSnapshot: previousOrNext

o  doFindSnapshot: previousOrNext in: changeList
sec

o  doInspectChangeSet

o  doOpen

o  doOpen: aChangeSet
a bad name - implying opening a window...

** This is an obsolete interface - do not use it (it may vanish in future versions) **

o  doOpenCurrent

o  doOpenCurrentChangeFile

o  doOpenCypress
pattern:'*.package'.

o  doOpenCypress: aStringOrFilename
Opens a Cypress package in given directory

o  doOpenFile: aStringOrFilename
true.

o  doOpenNew

o  doOpenNewWindow

o  doOpenOnSelection

o  doOpenSession
Opens a session changeset?

o  doSave

o  doSaveAs
OOPS, not supported!!!!

o  doSaveAs: newFile
[

o  doScrollToBottom

o  loadChangeSet: aChangeSet

o  loadCurrentChangeFile

o  menuUpdate
list1 updateList.

o  setTargetNamespace
specify an st/x namespace to be used as default

o  setTargetPackage
specify an st/x package identifier to be used as default

menu actions - changes
o  changeMenuApply: changeList
to get the =-icons

o  changeMenuApplySelection: changeList
Advance to next change

o  changeMenuApplyToEnd: changeList
to get the =-icons

o  changeMenuBrowse: changeList
changes := changeList listHolder value collect:[:c | c change].

o  changeMenuBrowseClass: changeList

o  changeMenuCompareClass: changeList
collect classes and mappings

o  changeMenuDeleteSelection: changeList
to get the =-icons

o  changeMenuDeleteSelectionInverted: changeList
to get the =-icons

o  changeMenuDeleteToEnd: changeList
to get the =-icons

o  changeMenuInspect: changeList

o  changeMenuInspectChangeset: changeList

o  changeMenuSelectAdditions: changeList

o  changeMenuSelectAll: changeList

o  changeMenuSelectClassInitializeDoIts: changeList

o  changeMenuSelectCopyrightMethods: changeList

o  changeMenuSelectDifferences: changeList

o  changeMenuSelectInversion: changeList

o  changeMenuSelectNone: changeList

o  changeMenuSelectRemovals: changeList

o  changeMenuSelectSame: changeList

o  changeMenuSelectUsingBlock: changeList

o  changeMenuSelectVersionMethods: changeList

o  changeMenuUndeleteSelection: changeList

o  selectedChangesIn: changeList

menu actions - changes - helpers
o  changeMenuApplyChange: aChange
aChange isClassDefinitionChange ifTrue:

o  changeMenuApplyChanges: changesToApply

o  changeMenuDeleteChange: change

o  changeMenuSelectIn: changeList suchThat: conditionBlock

private
o  changesDo: aBlock

o  getNavigatorChangeSet
deepCopy.

o  iconSelectorForChange: aChange

o  list
Returns list to operate on

o  redrawChangeListViews

o  selectionDo: aBlock
selectionHolder value isEmptyOrNil ifTrue:[

o  showProgress: label while: block

o  showSource: aBoolean
Not yet implemented

o  targetPackage

queries
o  canApplyChanges

o  canDrop: somethign

o  hasChangeSelectedAndNotRemoved: changeList

o  hasSingleChangeSelectedAndCanBrowse: changeList

o  hasSingleChangeSelectedAndCanBrowseClass: changeList

testing
o  isHierarchical

o  isOneColumn

o  isTwoColumn


Private classes:

    ChangeEditor


ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 16 Apr 2021 12:27:48 GMT