/** * Releases the resources consumed by this {@link JEventListPanel} so that it * may eventually be garbage collected. * * <p><strong><font color="#FF0000">Warning:</font></strong> It is an error * to call any method on a {@link JEventListPanel} after it has been disposed. */ public void dispose() { swingSource.removeListEventListener(sourceChangeHandler); swingSource.dispose(); }
/** * Releases the resources consumed by this {@link JEventListPanel} so that it * may eventually be garbage collected. * * <p><strong><font color="#FF0000">Warning:</font></strong> It is an error * to call any method on a {@link JEventListPanel} after it has been disposed. */ public void dispose() { swingSource.removeListEventListener(sourceChangeHandler); swingSource.dispose(); }
/** * Releases the resources consumed by this {@link JEventListPanel} so that it * may eventually be garbage collected. * * <p><strong><font color="#FF0000">Warning:</font></strong> It is an error * to call any method on a {@link JEventListPanel} after it has been disposed. */ public void dispose() { swingSource.removeListEventListener(sourceChangeHandler); swingSource.dispose(); }
/** * Releases the resources consumed by this {@link EventComboViewer} so that it * may eventually be garbage collected. * * <p>An {@link EventComboViewer} will be garbage collected without a call to * {@link #dispose()}, but not before its source {@link EventList} is garbage * collected. By calling {@link #dispose()}, you allow the {@link EventComboViewer} * to be garbage collected before its source {@link EventList}. This is * necessary for situations where an {@link EventComboViewer} is short-lived but * its source {@link EventList} is long-lived. * * <p><strong><font color="#FF0000">Warning:</font></strong> It is an error * to call any method on a {@link EventComboViewer} after it has been disposed. */ public void dispose() { swtSource.removeListEventListener(this); swtSource.dispose(); } }
/** * Releases the resources consumed by this {@link EventTreeModel} so that it * may eventually be garbage collected. * * <p>An {@link EventTreeModel} will be garbage collected without a call to * {@link #dispose()}, but not before its source {@link EventList} is garbage * collected. By calling {@link #dispose()}, you allow the {@link EventTreeModel} * to be garbage collected before its source {@link EventList}. This is * necessary for situations where an {@link EventTreeModel} is short-lived but * its source {@link EventList} is long-lived. * * <p><strong><font color="#FF0000">Warning:</font></strong> It is an error * to call any method on an {@link EventTreeModel} after it has been disposed. */ public void dispose() { swingThreadSource.removeListEventListener(this); // if we created the swingThreadSource then we must also dispose it if(disposeSwingThreadSource) { swingThreadSource.dispose(); } // this encourages exceptions to be thrown if this model is incorrectly accessed again swingThreadSource = null; } }
/** * Releases the resources consumed by this {@link EventTreeModel} so that it * may eventually be garbage collected. * * <p>An {@link EventTreeModel} will be garbage collected without a call to * {@link #dispose()}, but not before its source {@link EventList} is garbage * collected. By calling {@link #dispose()}, you allow the {@link EventTreeModel} * to be garbage collected before its source {@link EventList}. This is * necessary for situations where an {@link EventTreeModel} is short-lived but * its source {@link EventList} is long-lived. * * <p><strong><font color="#FF0000">Warning:</font></strong> It is an error * to call any method on an {@link EventTreeModel} after it has been disposed. */ public void dispose() { swingThreadSource.removeListEventListener(this); // if we created the swingThreadSource then we must also dispose it if(disposeSwingThreadSource) { swingThreadSource.dispose(); } // this encourages exceptions to be thrown if this model is incorrectly accessed again swingThreadSource = null; } }
/** * Releases the resources consumed by this {@link EventTreeModel} so that it * may eventually be garbage collected. * * <p>An {@link EventTreeModel} will be garbage collected without a call to * {@link #dispose()}, but not before its source {@link EventList} is garbage * collected. By calling {@link #dispose()}, you allow the {@link EventTreeModel} * to be garbage collected before its source {@link EventList}. This is * necessary for situations where an {@link EventTreeModel} is short-lived but * its source {@link EventList} is long-lived. * * <p><strong><font color="#FF0000">Warning:</font></strong> It is an error * to call any method on an {@link EventTreeModel} after it has been disposed. */ public void dispose() { swingThreadSource.removeListEventListener(this); // if we created the swingThreadSource then we must also dispose it if(disposeSwingThreadSource) { swingThreadSource.dispose(); } // this encourages exceptions to be thrown if this model is incorrectly accessed again swingThreadSource = null; } }
/** * Releases the resources consumed by this {@link EventListViewer} so that it * may eventually be garbage collected. * * <p>An {@link EventListViewer} will be garbage collected without a call to * {@link #dispose()}, but not before its source {@link EventList} is garbage * collected. By calling {@link #dispose()}, you allow the {@link EventListViewer} * to be garbage collected before its source {@link EventList}. This is * necessary for situations where an {@link EventListViewer} is short-lived but * its source {@link EventList} is long-lived. * * <p><strong><font color="#FF0000">Warning:</font></strong> It is an error * to call any method on a {@link EventListViewer} after it has been disposed. */ public void dispose() { selection.dispose(); swtThreadSource.removeListEventListener(this); swtThreadSource.dispose(); } }
swingThreadSource.get(i).removePropertyChangeListener(this); swingThreadSource.removeListEventListener(this);
swingThreadSource.get(i).removePropertyChangeListener(this); swingThreadSource.removeListEventListener(this);
swingThreadSource.get(i).removePropertyChangeListener(this); swingThreadSource.removeListEventListener(this);