|
Class: ChangeSetBrowser
Object
|
+--GraphicsMedium
|
+--DisplaySurface
|
+--SimpleView
|
+--View
|
+--TopView
|
+--StandardSystemView
|
+--ChangesBrowser
|
+--ChangeSetBrowser
- Package:
- stx:libtool
- Category:
- Interface-Browsers
- Version:
- rev:
1.111
date: 2024/02/09 17:44:49
- 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.
copyrightCOPYRIGHT (c) 1993 by Claus Gittinger
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.
defaults
-
defaultLabel
-
help specs
-
helpSpec
-
This resource specification was automatically generated
by the UIHelpTool of ST/X.
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
-
openOn: aChangeSet label: label
-
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
|
-
moreMenuApplyItems
-
This resource specification was automatically generated
by the MenuEditor of ST/X.
accessing
-
hideUnchanged: aBoolean
-
-
writeBackAction: something
-
aspects
-
canDeleteChanges
-
makes the delete buttons in the toolbar visible
-
hasSelectionAndSourceCodeManager
-
-
hasSingleSelectionAndPreviousChange
-
-
hasWriteBackActionDefined
-
-
hideUnchangedHolder
-
-
hideVersionMethodsHolder
-
initialization & release
-
askIfChangesAreToBeWrittenBack
-
-
changeListMenu
-
('Compress' doCompress)
-
initialize
-
(comment from inherited method)
oldStyle := true.
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 the 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
-
compare a change with current version.
Return the result of the compare
same -> true,
different -> false,
uncomparable -> nil.
If doShowResult is true, the outcome is shown in a dialog/diffViewer.
-
doCompareWithPrevious
-
oops - must fetch it
-
doInspectChange
-
(comment from inherited method)
inspect the selected change(s)
-
doSaveBack
-
-
doSendToRemote
-
evaluate the writeBack action
-
doUpdate
-
(comment from inherited method)
reread the changes-file
-
menuCheckinClass
-
-
menuSortChanges
-
-
openChangeSetBrowserV2
-
-
openClassNameMapDialog
-
-
sortChangesByDependency
-
sort the changes into an order which defines superclasses
and owningclasses before subclasses/private classes.
Warn if there are any undefined classes
-
updateDiffViewFor: changeNr
-
(comment from inherited method)
not a method-change
|