/** * Called by ConnectionWidget to unregister the usage of the anchor. * @param entry the anchor entry */ public final void removeEntry (Entry entry) { entries.remove (entry); notifyEntryRemoved (entry); if (attachedToWidget && entries.size () <= 0) { attachedToWidget = false; if (relatedWidget != null) relatedWidget.removeDependency (this); notifyUnused (); } revalidateDependency (); }
/** * Called by ConnectionWidget to unregister the usage of the anchor. * @param entry the anchor entry */ public final void removeEntry (Entry entry) { entries.remove (entry); notifyEntryRemoved (entry); if (attachedToWidget && entries.size () <= 0) { attachedToWidget = false; if (relatedWidget != null) relatedWidget.removeDependency (this); notifyUnused (); } revalidateDependency (); }