public interface ComponentController
unregisterListeners() implementation. The method should be called each time the desktop is
removed and needs to remove all references to view components, since these will no longer be valid.
Example:
public class MySuperViewComponent implements DesktopRemovalAwareComponent
{
ComponentController myController = new MyComponentController(someView, someModel);
...
public void desktopRemoved(final Desktop desktop)
{
this.myController.unregisterListeners();
}
}
DesktopRemovalAwareComponent| Modifier and Type | Method and Description |
|---|---|
void |
initialize()
Initialized this controller i.e.
|
void |
unregisterListeners()
Removes all references to view components which are held by this controller.
|
void unregisterListeners()
void initialize()
Copyright © 2018 SAP SE. All Rights Reserved.