Class AbstractNotification
java.lang.Object
com.nomagic.magicdraw.ui.notification.AbstractNotification
- All Implemented Interfaces:
 Serializable
- Direct Known Subclasses:
 Notification
Base MagicDraw notification composed of title, message text and list HRefRunnable actions
- See Also:
 
- 
Method Summary
Modifier and TypeMethodDescriptionvoidAdds href action to list of already existing list of actions.getHRefAction(String href) Gets href action with a given href.getID()Returns notification id.Returns long notification textgetText()Returns notification message text.getTitle()Returns notification title.voidRemoves given href action.voidremoveHRefAction(String href) Removes given href action with specified href id.voidsetLongText(String longText) Sets notification long textvoidSets notification message text.voidSets notification title. 
- 
Method Details
- 
getID
Returns notification id.- Returns:
 - notification id
 
 - 
getTitle
Returns notification title.- Returns:
 - notification title
 
 - 
setTitle
Sets notification title.- Parameters:
 title- notification title
 - 
getText
Returns notification message text.- Returns:
 - notification text
 
 - 
setText
Sets notification message text.- Parameters:
 text- notification text
 - 
getLongText
Returns long notification text- Returns:
 - long notification text
 
 - 
setLongText
Sets notification long text- Parameters:
 longText- notification long text
 - 
addHRefAction
Adds href action to list of already existing list of actions.- Parameters:
 r- given href action
 - 
removeHRefAction
Removes given href action.- Parameters:
 r- href action to remove
 - 
removeHRefAction
Removes given href action with specified href id.- Parameters:
 href- href id to remove from href list
 - 
getHRefAction
Gets href action with a given href. If action does not exist, null is returned.- Parameters:
 href- action href- Returns:
 - href action if found, null otherwise
 
 
 -