org.eclipse.hyades.trace.views.internal
Class AbstractLazyHandler
java.lang.Object
org.eclipse.hyades.trace.views.internal.AbstractLazyHandler
- All Implemented Interfaces:
- org.eclipse.hyades.trace.ui.IViewSelectionChangedListener
- Direct Known Subclasses:
- Pattern, SinglePattern, StatisticView
public abstract class AbstractLazyHandler
- extends java.lang.Object
- implements org.eclipse.hyades.trace.ui.IViewSelectionChangedListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LAZY_UPDATE
protected static final int LAZY_UPDATE
- See Also:
- Constant Field Values
LAZY_UPDATE_BUTTONS
protected static final int LAZY_UPDATE_BUTTONS
- See Also:
- Constant Field Values
LAZY_HANDLE_SELECTION_EVENT
protected static final int LAZY_HANDLE_SELECTION_EVENT
- See Also:
- Constant Field Values
LAZY_HANDLE_VIEWER_SELECTION_EVENT
protected static final int LAZY_HANDLE_VIEWER_SELECTION_EVENT
- See Also:
- Constant Field Values
LAZY_UPDATE_WITH_REFRESH
protected static final int LAZY_UPDATE_WITH_REFRESH
- See Also:
- Constant Field Values
LAZY_UPDATE_UI
protected static final int LAZY_UPDATE_UI
- See Also:
- Constant Field Values
LAZY_REFRESH
protected static final int LAZY_REFRESH
- See Also:
- Constant Field Values
lazyOperations
protected int lazyOperations
lazySelectionEventSource
protected java.lang.Object lazySelectionEventSource
AbstractLazyHandler
public AbstractLazyHandler(boolean lazyMode)
checkSetLazyViewerSelectionOperation
protected final boolean checkSetLazyViewerSelectionOperation(org.eclipse.hyades.trace.ui.ViewSelectionChangedEvent event)
addPostponedSelectionEventSource
protected void addPostponedSelectionEventSource(java.lang.Object source)
isHandleSelectionEventNeeded
protected boolean isHandleSelectionEventNeeded(java.lang.Object source)
nextPostponedSelectionEventSource
protected java.lang.Object nextPostponedSelectionEventSource()
lazyHandlesOpType
protected boolean lazyHandlesOpType(int opType)
checkSetLazyOperation
protected final boolean checkSetLazyOperation(int opType)
isLazyMode
public boolean isLazyMode()
setLazyMode
public void setLazyMode(boolean lazy)
processLazyPostponedOperations
protected final void processLazyPostponedOperations()
doProcessLazyPostponedOperations
protected void doProcessLazyPostponedOperations()
isVisible
protected final boolean isVisible()
setVisible
public final void setVisible()
- this method is called by the framework to notify the view that
it has become visible
- See Also:
setHidden()
setHidden
public final void setHidden()
- this method is called by the framework to notify the view that
it has become hidden
- See Also:
setVisible()
handleVisible
protected void handleVisible()
handleHidden
protected void handleHidden()
checkSetLazyUpdateOperation
protected final boolean checkSetLazyUpdateOperation(boolean refresh)
update
public void update()
update
public void update(boolean refresh)
updateButtons
protected void updateButtons()
handleSelectionEvent
protected void handleSelectionEvent()
handleViewSelectionChangedEvent
public void handleViewSelectionChangedEvent(org.eclipse.hyades.trace.ui.ViewSelectionChangedEvent event)
- Specified by:
handleViewSelectionChangedEvent in interface org.eclipse.hyades.trace.ui.IViewSelectionChangedListener
updateUI
public void updateUI()
refresh
public void refresh()
doUpdate
protected abstract void doUpdate(boolean refresh,
boolean isPostponedOperation,
int processedOperations)
doUpdateButtons
protected abstract void doUpdateButtons(boolean isPostponedOperation,
int processedOperations)
doHandleSelectionEvent
protected abstract void doHandleSelectionEvent(boolean isPostponedOperation,
int processedOperations)
doHandleViewSelectionChangedEvent
protected abstract void doHandleViewSelectionChangedEvent(org.eclipse.hyades.trace.ui.ViewSelectionChangedEvent event,
boolean isPostponedOperation,
int processedOperations)
doUpdateUI
protected abstract void doUpdateUI(boolean isPostponedOperation,
int processedOperations)
doRefresh
protected abstract void doRefresh(boolean isPostponedOperation,
int processedOperations)