| java.lang.Object org.netbeans.modules.uml.core.support.umlmessagingcore.MessageDataFilter
Method Summary | |
protected IMessageFacilityFilter | getFilter(String sFacility) Gets the filter corresponding to the argument facility name. | public ETList<IMessageFacilityFilter> | getFilters() Returns a list of facility filters. | public boolean | getIsDisplayed(IMessageData pMessageData) Given a particular message this routine returns a true or false
indicating if the filter settings would display this message.
pMessageData[in] The message under question. | public boolean | getIsDisplayed(int nMessageType, String sFacility) Given a particular message type and facility, this routine returns a true or false
indicating if the filter settings would display this message.
nMessageType[in] The message type under question. | public void | initialize(String fileLocation, IMessageService pMessenger) Initializes the class by providing the xml file to store preferences in and
the messenger which this filter applies to. | public void | reRead() Rereads the file from disk. | public void | save() Saves the file. | public void | setIsDisplayed(IMessageData pMessageData, boolean newVal) Given a particular message this routine sets the facility and message type to
be displayed according to the parameter newVal.
pMessageData[in] The message under question. | public void | setIsDisplayed(int nMessageType, String sFacility, boolean newValue) Given a particular message type and facilty, this routine sets the facility and message type to
be displayed according to the parameter newVal.
nMessageType[in] The message type under question. |
MessageDataFilter | public MessageDataFilter()(Code) | | |
getFilter | protected IMessageFacilityFilter getFilter(String sFacility)(Code) | | Gets the filter corresponding to the argument facility name.
Parameters: sFacility - The facility we want to search for Parameters: pFilter - The output filter |
getFilters | public ETList<IMessageFacilityFilter> getFilters()(Code) | | Returns a list of facility filters. Each item in the list corresponds to a
particular facility and indicates what message types should be displayed.
The list of filters - one item for each facility |
getIsDisplayed | public boolean getIsDisplayed(IMessageData pMessageData)(Code) | | Given a particular message this routine returns a true or false
indicating if the filter settings would display this message.
pMessageData[in] The message under question. Should this be displayed. whether or not the message should be displayed |
getIsDisplayed | public boolean getIsDisplayed(int nMessageType, String sFacility)(Code) | | Given a particular message type and facility, this routine returns a true or false
indicating if the filter settings would display this message.
nMessageType[in] The message type under question. Should this be displayed sFacility[in] The message type facility whether or not the message should be displayed |
initialize | public void initialize(String fileLocation, IMessageService pMessenger)(Code) | | Initializes the class by providing the xml file to store preferences in and
the messenger which this filter applies to. Eventually we need to combine the
facilities found in the messenger with those in the xml file - because the messenger
only has a list of what facilities have sent messages for this run, whereas the file
will have messages for the last run.
fileLocation[in] The location of the message filter preference file pMessenger[in] The messenger this filter applies to |
reRead | public void reRead()(Code) | | Rereads the file from disk.
See Also: CMessageDataFilter::Initialize |
save | public void save()(Code) | | Saves the file.
See Also: CMessageDataFilter::Initialize |
setIsDisplayed | public void setIsDisplayed(IMessageData pMessageData, boolean newVal)(Code) | | Given a particular message this routine sets the facility and message type to
be displayed according to the parameter newVal.
pMessageData[in] The message under question. Should this be displayed newVal[in] Sets if it should be displayed |
setIsDisplayed | public void setIsDisplayed(int nMessageType, String sFacility, boolean newValue)(Code) | | Given a particular message type and facilty, this routine sets the facility and message type to
be displayed according to the parameter newVal.
nMessageType[in] The message type under question. Should this be displayed sFacility[in] The message type facility newVal[in] Sets if it should be displayed |
|
|