Class: NoticeBoardItemBase

Cadcorp.UI.NoticeBoard.NoticeBoardItemBase

new NoticeBoardItemBase(config)

Base class for notice board items
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Members

displayIndex

Properties:
Name Type Description
displayIndex number The display order of this layer

events

Properties:
Name Type Description
events Cadcorp.Util.Events The events object

localKnowledgeID

Properties:
Name Type Description
localKnowledgeID number The ID of the local knowledge used by the current noticeboard

(protected) m_searchLocation

Properties:
Name Type Description
m_searchLocation Cadcorp.UI.NoticeBoard.Location The location of the current search

searchEnabled

Properties:
Name Type Description
searchEnabled boolean Set to true to enable the search, defaults to true

webServiceUrl

Properties:
Name Type Description
webServiceUrl string The base url to the web service

Methods

doLocalKnowledge(currentLocation)

Does a local knowledge query for this layer
Parameters:
Name Type Description
currentLocation Cadcorp.UI.NoticeBoard.Location The current location to use for this query