The Trunk: HelpSystem-Core-mt.88.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: HelpSystem-Core-mt.88.mcz

commits-2
Marcel Taeumel uploaded a new version of HelpSystem-Core to project The Trunk:
http://source.squeak.org/trunk/HelpSystem-Core-mt.88.mcz

==================== Summary ====================

Name: HelpSystem-Core-mt.88
Author: mt
Time: 3 August 2016, 10:28:19.65027 am
UUID: faca3bc4-b5df-6b49-86bf-07c55fed4316
Ancestors: HelpSystem-Core-mt.87

For prospective content authors in our help system, avoid changing protected texts by accident.

=============== Diff against HelpSystem-Core-mt.87 ===============

Item was changed:
  ----- Method: HelpBrowser>>currentParentTopic (in category 'accessing') -----
  currentParentTopic
 
+ ^ currentParentTopic!
- ^ currentParentTopic ifNil: [self rootTopic]!

Item was changed:
  AbstractHelpTopic subclass: #HelpTopic
+ instanceVariableNames: 'title key icon contents subtopics priority isEditable'
- instanceVariableNames: 'title key icon contents subtopics priority'
  classVariableNames: ''
  poolDictionaries: ''
  category: 'HelpSystem-Core-Model'!
 
  !HelpTopic commentStamp: 'mt 3/25/2015 11:27' prior: 0!
  This is a configurable version of a help topic. You can define its contents, title, icon, and subtopics manually.
 
  Help builders make use of this.!

Item was added:
+ ----- Method: HelpTopic class>>title:icon:readOnlyContents: (in category 'instance creation') -----
+ title: aTitle icon: anIcon readOnlyContents: aText
+ "Create a new instance with given title, icon and content"
+
+ ^self new
+ title: aTitle;
+ icon: anIcon;
+ contents: aText;
+ isEditable: false;
+ yourself.
+ !

Item was added:
+ ----- Method: HelpTopic class>>title:readOnlyContents: (in category 'instance creation') -----
+ title: aTitle readOnlyContents: aText
+ "Create a new instance with given title and content"
+
+ ^ self new
+ title: aTitle;
+ contents: aText;
+ isEditable: false;
+ yourself.
+ !

Item was added:
+ ----- Method: HelpTopic>>isEditable (in category 'accessing') -----
+ isEditable
+ ^ isEditable ifNil: [true]!

Item was added:
+ ----- Method: HelpTopic>>isEditable: (in category 'accessing') -----
+ isEditable: aBoolean
+ isEditable := aBoolean.!