eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ChangeSetBrowser':

Home

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

Class: ChangeSetBrowser


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--View
               |
               +--TopView
                  |
                  +--StandardSystemView
                     |
                     +--ChangesBrowser
                        |
                        +--ChangeSetBrowser

Package:
stx:libtool
Category:
Interface-Browsers
Version:
rev: 1.72 date: 2018/02/15 18:04:46
user: stefan
file: ChangeSetBrowser.st directory: libtool
module: stx stc-classLibrary: libtool

Description:


like a changesBrowser, but manipulates the per-project change-lists.

This is operating on changes as a list of Change-instances 
as opposed to the ChangesBrowser which is doing it completely non-object oriented,
as a list of text-chunks.

ChangeSetBrowser is going to completely replace the ChangesBrowser class in the near
future.


Class protocol:

defaults
o  defaultLabel

instance creation
o  open
open a changes browser on the current change set
usage example(s):
     ChangeSetBrowser open

o  openOn: aChangeSet
open a changes browser on a given change set

o  openOnFile: aFileName
open a changes browser on a file
usage example(s):
     self openOnFile:'st.chg'
     self openOnFile:'c:\Users\cg\work\stx\goodies\soap\spray5.2\Steve Waring\Spray WebServices\Spray\Auth\SWT Spray Auth Tests.pac'
     ChangeSet fromFile:'c:\Users\cg\work\stx\goodies\soap\spray5.2\Steve Waring\Spray WebServices\Spray\Auth\SWT Spray Auth Tests.pac'

menu specs
o  menuSpec
This resource specification was automatically generated
by the MenuEditor of ST/X.
usage example(s):
     MenuEditor new openOnClass:ChangeSetBrowser andSelector:#menuSpec
     (Menu new fromLiteralArrayEncoding:(ChangeSetBrowser menuSpec)) startUp


Instance protocol:

aspects
o  canDeleteChanges
makes the delete buttons in the toolbar visible

initialization & release
o  askIfChangesAreToBeWrittenBack

o  changeListMenu
('Compress' doCompress)

o  showingDiffsDefault
false

menu aspects
o  hasNotUndoableChangeSelected

o  hasUndoableMethodChangeSelected

o  hasUndoableRemoveMethodChangeSelected

private
o  applyChange: changeNr
fileIn a change

o  applyPossiblyModifiedChange: aChange
Class nameSpaceQuerySignal answer:enforcedNameSpace do:[

o  changeIsFollowupMethodChange: changeNr
(comment from inherited method)
return true, if a change is a followup change (i.e. a followup change
in a bunch of methodsFor-changes)

o  changeSet: aChangeSet

o  checkIfFileHasChanged
self newLabel:''

o  fullClassNameOfChange: nr
(comment from inherited method)
return the full classname of a change
(for classChanges (i.e. xxx class), a string ending in ' class' is returned.

o  isChangeSetBrowser

o  numberOfChanges

o  queryCloseText

o  readChangesFileInBackground: dummy
read the changeSet, create a list of header-lines

o  realClassNameOfChange: nr
className.

o  saveBackChanges
save back the change set

o  selectorOfMethodChange: changeNr
(comment from inherited method)
return a method-change's selector,
or nil if it's not a methodChange

o  silentDeleteChange: changeNr
delete a change do not update changeListView

o  silentDeleteInternalChange: changeNr
delete a change do not update changeListView

o  sourceOfChange: changeNr
answer a changes source

o  streamForChange: changeNr
answer a stream for change

user actions
o  compareChange: changeNr showResult: doShowResult

o  doInspectChange

o  doSaveBack

o  doUpdate
(comment from inherited method)
reread the changes-file

o  updateDiffViewFor: changeNr



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 18 Nov 2018 07:54:41 GMT