public final class NotificationsConfigurationImpl extends NotificationsConfiguration implements PersistentStateComponent<Element>, Disposable
Disposable.ParentNotifications.Bus| Modifier and Type | Field and Description |
|---|---|
boolean |
SHOW_BALLOONS |
boolean |
SYSTEM_NOTIFICATIONS |
LIGHTWEIGHT_PREFIXSYSTEM_MESSAGES_GROUP_ID, TOPIC| Constructor and Description |
|---|
NotificationsConfigurationImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
changeSettings(NotificationSettings settings) |
void |
changeSettings(java.lang.String groupDisplayName,
NotificationDisplayType displayType,
boolean shouldLog,
boolean shouldReadAloud) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
NotificationSettings[] |
getAllSettings() |
static NotificationsConfigurationImpl |
getInstanceImpl() |
static NotificationSettings |
getSettings(java.lang.String groupId) |
Element |
getState() |
java.lang.String |
getToolWindowId(java.lang.String groupId) |
boolean |
hasToolWindowCapability(java.lang.String groupId) |
boolean |
isRegistered(java.lang.String id) |
void |
loadState(Element state)
This method is called when new component state is loaded.
|
void |
register(java.lang.String groupDisplayName,
NotificationDisplayType displayType) |
void |
register(java.lang.String groupDisplayName,
NotificationDisplayType displayType,
boolean shouldLog) |
void |
register(java.lang.String groupDisplayName,
NotificationDisplayType displayType,
boolean shouldLog,
boolean shouldReadAloud) |
static void |
remove(java.lang.String... toRemove) |
getNotificationsConfigurationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeComponent, noStateLoadednotifypublic boolean SHOW_BALLOONS
public boolean SYSTEM_NOTIFICATIONS
public static NotificationsConfigurationImpl getInstanceImpl()
public boolean hasToolWindowCapability(java.lang.String groupId)
public java.lang.String getToolWindowId(java.lang.String groupId)
public NotificationSettings[] getAllSettings()
public static void remove(java.lang.String... toRemove)
public static NotificationSettings getSettings(java.lang.String groupId)
public void dispose()
Disposabledispose in interface Disposablepublic void register(java.lang.String groupDisplayName,
NotificationDisplayType displayType)
register in interface Notificationspublic void register(java.lang.String groupDisplayName,
NotificationDisplayType displayType,
boolean shouldLog)
register in interface Notificationspublic void register(java.lang.String groupDisplayName,
NotificationDisplayType displayType,
boolean shouldLog,
boolean shouldReadAloud)
register in interface Notificationspublic void changeSettings(java.lang.String groupDisplayName,
NotificationDisplayType displayType,
boolean shouldLog,
boolean shouldReadAloud)
changeSettings in class NotificationsConfigurationpublic void changeSettings(NotificationSettings settings)
public boolean isRegistered(java.lang.String id)
public Element getState()
getState in interface PersistentStateComponent<Element>null value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializerpublic void loadState(Element state)
PersistentStateComponentState object should be used directly, defensive copying is not required.
loadState in interface PersistentStateComponent<Element>state - loaded component stateXmlSerializerUtil.copyBean(Object, Object)