public void dispose() { super.dispose(); FeatureModelManager mng = PDECore.getDefault().getFeatureModelManager(); mng.removeFeatureModelListener(this); fModel.removeModelChangedListener(this); if (fSiteLabelProvider != null) fSiteLabelProvider.dispose(); }
public void addPages() { super.addPages(); FeatureModelManager manager = PDECore.getDefault().getFeatureModelManager(); IFeatureModel model = manager.getDeltaPackFeature(); if (model != null) { fPage2 = new CrossPlatformExportPage("environment", model); // $NON-NLS-1$ addPage(fPage2); } }
public void initialize() { refresh(); FeatureModelManager mng = PDECore.getDefault().getFeatureModelManager(); mng.addFeatureModelListener(this); }