|
Class: ChangeSetBrowser
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--View
|
+--TopView
|
+--StandardSystemView
|
+--ChangesBrowser
|
+--ChangeSetBrowser
- Package:
- stx:libtool
- Category:
- Interface-Browsers
- Version:
- rev:
1.80
date: 2019/07/31 15:47:17
- user: cg
- file: ChangeSetBrowser.st directory: libtool
- module: stx stc-classLibrary: libtool
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.
defaults
-
defaultLabel
-
instance creation
-
open
-
open a changes browser on the current change set
usage example(s):
-
openOn: aChangeSet
-
open a changes browser on a given change set
-
openOnFile: fileNameOrString
-
open a changes browser on a file (or cypress folder)
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
-
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
|
aspects
-
canDeleteChanges
-
makes the delete buttons in the toolbar visible
initialization & release
-
askIfChangesAreToBeWrittenBack
-
-
changeListMenu
-
('Compress' doCompress)
menu aspects
-
hasNotUndoableChangeSelected
-
-
hasUndoableMethodChangeSelected
-
-
hasUndoableRemoveMethodChangeSelected
-
private
-
applyChange: changeNr
-
fileIn a change
-
applyPossiblyModifiedChange: aChange
-
Class nameSpaceQuerySignal answer:enforcedNameSpace do:[
-
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)
-
changeSet: aChangeSet
-
-
checkIfFileHasChanged
-
self newLabel:''
-
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.
-
isChangeSetBrowser
-
-
numberOfChanges
-
-
queryCloseText
-
-
readChangesFileInBackground: dummy
-
read the changeSet, create a list of header-lines
-
realClassNameOfChange: nr
-
className.
-
saveBackChanges
-
save back the change set
-
selectorOfMethodChange: changeNr
-
(comment from inherited method)
return a method-change's selector,
or nil if it's not a methodChange
-
silentDeleteChange: changeNr
-
delete a change do not update changeListView
-
silentDeleteInternalChange: changeNr
-
delete a change do not update changeListView
-
sourceOfChange: changeNr
-
answer a changes source
-
streamForChange: changeNr
-
answer a stream for change
user actions
-
compareChange: changeNr showResult: doShowResult
-
-
doInspectChange
-
-
doSaveBack
-
-
doUpdate
-
(comment from inherited method)
reread the changes-file
-
updateDiffViewFor: changeNr
-
|