SimpleWebDoc

SWDocView
A SWDocView is a simple Seaside application which display all classes of a selected package, with comments and selectors.
allPackageNames
allSelectorsOfClass:
Render instance and class selectors for given class.
clearHtmlCache
htmlCache
initialRequest:
When a new session is started, all visible presenters (components or tasks) receive this message with the request as argument.
A common usage for this is to initialize their state depending on the URL of the request. This is one building block for bookmarkable URL. The other is updateUrl: where you can manipulate the anchor urls generated by Seaside.
You can not use #call: in here. Consider using a WATask instead and sending #call: in #go.
See WABrowser for examples.
initialize
Subclasses should redefine this method to perform initializations on instance creation
packageNamed:ifAbsent:
Return PackageInfo instance with given name
renderClass:On:
renderClassComment:On:
renderClassSummary:On:
renderContentOn:
renderPackage:On:
Render all classes of specified PackageInfo with their comments
renderPackage:On:IfNotInCache:
Render block if given package not in cache
renderPackageSelectOn:
Render a form to select package to show
renderPharoSearchForPackage:On:
renderSelector:OfClass:On:
Render given selector
renderSelectorsOfClass:On:
Render all methods with their comments of given class
renderStringWithBreaks:On:
Replace line breaks with WABreakTag when rendering
renderUMLForPackage:On:
updateRoot:
This method allows you customize the <head> section of an HTML document. The API is very similar to the 'Canvas API' for rendering in the <body> section (where you 'draw' in #renderContentOn:).
anHtmlRoot is an instance of WAHtmlRoot
Whenever you override this method don't forget to send super
SWFileLibrary
Files to be served for SWDocView application
swprintCss
swstyleCss
SWPackageOrganizer
A SWPackageOrganizer is xxxxxxxxx.
Instance Variables
allPackageNames
Return names of all package with at least one class, alphabetically sorted
SWSession
A SWSession is xxxxxxxxx.
Instance Variables
addPackageUrl:to:
handleRequest:
Handle aRequest and answer a response.
sitemap
SWYumlInheritanceDiagramTest
Test SWYumlMe inheritance diagram generation
setUp
testEmpty
testWithAPackage
testWithAPackageContainingTrait
testWithAPackageName
testWithOneClass
testWithTwoIndependentClasses
testWithTwoRelatedClasses
SWYumlMe
Build url used to generate UML diagrams using http://yuml.me
Usage
yuml := SWYumlMe new
yuml addPackageNamed: "SimpleWebDoc"
yuml inheritanceDiagram
addClass:
Add a class to be displayed on generated UML diagram
addPackage:
Add all classes of aPackage to be displayed on UML diagram
addPackageNamed:
baseUrl
classes
inheritanceDiagram
Return UML inheritance class diagram in yuml.me DSL
inheritanceDiagramForPackage:
Return URL to generate UML inheritance diagram on yuml.me.
ex: http://yuml.me/diagram/scruffy;dir:lr;scale:75/class/[RBValueNode]^-[RBArrayNode],[RBValueNode]^-[RBAssignmentNode], ....
inheritanceDiagramForPackageNamed:
Return URL to generate UML inheritance diagram on yuml.me.
ex: http://yuml.me/diagram/scruffy;dir:lr;scale:75/class/[RBValueNode]^-[RBArrayNode],[RBValueNode]^-[RBAssignmentNode], ....
initialize
Subclasses should redefine this method to perform initializations on instance creation
printClass:
A class in yuml.me DSL
printClass:inherits:
A class inherits otherClass in yuml.me DSL
ex: [MyClass]^-[OtherClass]
scale
scale:
setDirectionLeftRight
setDirectionTopBottom