eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Tools::NewSystemBrowser::OwnershipGraph':

Home

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

Class: OwnershipGraph (private in NewSystemBrowser

This class is only visible from within NewSystemBrowser.

Inheritance:

   Object
   |
   +--ListEntry
      |
      +--Tools::NewSystemBrowser::OwnershipGraph

Package:
stx:libtool
Category:
Interface-Browsers-New
Owner:
Tools::NewSystemBrowser

Description:


an instance of me is given to the codeView as a listEntry (i.e. line).
The codeview does not really know that it is not dealing with non-text,
as I mimicry some of the string protocol to make it happy.
(duck typing is cool!)

to show pre-assigned per-user colors, do something like:
    UserPreferences current
        at:#preferredOwnerColorMapping
        put:(
            Dictionary new
                at:'cg' put:(Color green);
                at:'claus' put:(Color green);
                at:'sv' put:(Color blue);
                at:'ab' put:(Color orange);
                at:'ca' put:(Color cyan);
                at:'mb' put:(Color red);
                at:'sr' put:(Color yellow);
                at:'vrany' put:(Color orange lightened);
                yourself
        )


Class protocol:

defaults
o  dateFormat
Date today printStringFormat:(self dateFormat)


Instance protocol:

accessing
o  addRevision: revision author: author date: date lineOwnership: lineOwnership

o  ownershipInfo

o  ownershipInfo: something

displaying
o  displayOn: aGC x: x y: y opaque: opaque
(comment from inherited method)
display the receiver on a GC

o  generateFormFor: aGC
aGC displayRectangleX:x y:y width:(self widthOn:aGC) height:hGraph.

queries
o  agendaInfoWidth

o  agendaSeparatorWidth

o  columnWidth

o  graphHeight

o  heightOn: aGC
(comment from inherited method)
return the height of the receiver when displayed in aGC.
Assume the GC's font is taken. If that is not the case in a
particular subclass, this method is to be redefined there.

o  revisionInfoHeight

o  revisionInfoHeightOn: aGC

o  widthOn: aGC
(comment from inherited method)
return the width (in device units) of the receiver when displayed in aGC

string protocol (list entry)
o  asString

o  bitsPerCharacter
dummy

o  emphasis

o  emphasisAt: colNr

o  hasChangeOfEmphasis

o  isBlank

o  ownerColorsToUse
gives a pinkish color

o  string

o  withoutTrailingSeparators


Private classes:

    RevisionOwnershipInfo


ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 03:16:48 GMT