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

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

o  revisionInfoHeight

o  revisionInfoHeightOn: aGC

o  widthOn: aGC

string protocol (list entry)
o  asString

o  asStringWithoutEmphasis

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.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 18 Apr 2024 19:28:08 GMT