|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.internal.events.NotificationManager
public class NotificationManager
Constructor Summary | |
---|---|
NotificationManager(Workspace workspace)
|
Method Summary | |
---|---|
void |
addListener(IResourceChangeListener listener,
int eventMask)
|
boolean |
beginAvoidNotify()
Indicates the beginning of a block where periodic notifications should be avoided. |
void |
beginNotify()
Signals the beginning of the notification phase at the end of a top level operation. |
void |
broadcastChanges(ElementTree lastState,
ResourceChangeEvent event,
boolean lockTree)
The main broadcast point for notification deltas |
void |
broadcastChanges(IResourceChangeListener listener,
int type,
IResourceDelta delta)
Helper method for the save participant lifecycle computation. |
void |
endAvoidNotify()
Indicates the end of a block where periodic notifications should be avoided. |
void |
handleEvent(LifecycleEvent event)
|
void |
removeListener(IResourceChangeListener listener)
|
void |
requestNotify()
Requests that a periodic notification be scheduled |
boolean |
shouldNotify()
Returns true if a notification is needed. |
void |
shutdown(org.eclipse.core.runtime.IProgressMonitor monitor)
|
void |
startup(org.eclipse.core.runtime.IProgressMonitor monitor)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NotificationManager(Workspace workspace)
Method Detail |
---|
public void addListener(IResourceChangeListener listener, int eventMask)
public boolean beginAvoidNotify()
public void beginNotify()
public void broadcastChanges(ElementTree lastState, ResourceChangeEvent event, boolean lockTree)
public void broadcastChanges(IResourceChangeListener listener, int type, IResourceDelta delta)
public void endAvoidNotify()
public void requestNotify()
public void handleEvent(LifecycleEvent event)
handleEvent
in interface ILifecycleListener
public void removeListener(IResourceChangeListener listener)
public boolean shouldNotify()
public void shutdown(org.eclipse.core.runtime.IProgressMonitor monitor)
shutdown
in interface IManager
public void startup(org.eclipse.core.runtime.IProgressMonitor monitor)
startup
in interface IManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |