/** The default implementation caches properties pages in the MW plug-in. */ public Component propertiesPage(WorkbenchContext context) { AbstractPropertiesPage propertiesPage = (AbstractPropertiesPage) this.getMappingsPlugin().buildPropertiesPage(this.propertiesPageClass()); propertiesPage.setNode(this, this.buildLocalWorkbenchContext(context)); return propertiesPage; }
/** The default implementation caches properties pages in the MW plug-in. */ protected void releasePropertiesPage(AbstractPropertiesPage propertiesPage) { // clear out the node so it can be garbage-collected if necessary and // replace the workbench context with a shell propertiesPage.setNode(null, this.buildShellWorkbenchContext()); this.getMappingsPlugin().releasePropertiesPage(propertiesPage); }