diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SubSystemConfigurationAdapter.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SubSystemConfigurationAdapter.java index fb67921365b..0b185d06a12 100644 --- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SubSystemConfigurationAdapter.java +++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/view/SubSystemConfigurationAdapter.java @@ -704,6 +704,30 @@ public class SubSystemConfigurationAdapter implements ISubSystemConfigurationAda { return RSEUIPlugin.getDefault().getImageDescriptor(ISystemIconConstants.ICON_SYSTEM_FILTER_ID); } + + /** + * Supply the image to be used for filter pool references. This implementation + * just gets the referenced filter pool and calls the method + * getSystemFilterPoolImage(ISystemFilterPool) on it. + * Override this method to provide custom images for filter pool references. + */ + public ImageDescriptor getSystemFilterPoolImage(ISystemFilterPoolReference filterPoolRef) + { + return getSystemFilterPoolImage(filterPoolRef.getReferencedFilterPool()); + } + + /** + * Supply the image to be used for filter references. This implementation + * just gets the referenced filter and calls the method + * getSystemFilterImage(ISystemFile) on it. + * Override this method to provide custom images for filter references. + */ + public ImageDescriptor getSystemFilterImage(ISystemFilterReference filterRef) + { + return getSystemFilterImage(filterRef.getReferencedFilter()); + } + + /* * Supply the image to be used for the given filter string, within actions. * REQUIRED BY SYSTEMFILTERPOOLMANAGERPROVIDER INTERFACE diff --git a/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/util/ISubSystemConfigurationAdapter.java b/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/util/ISubSystemConfigurationAdapter.java index c3f48796759..7ff27b85ba1 100644 --- a/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/util/ISubSystemConfigurationAdapter.java +++ b/rse/plugins/org.eclipse.rse.ui/subsystems/org/eclipse/rse/core/subsystems/util/ISubSystemConfigurationAdapter.java @@ -234,6 +234,19 @@ public interface ISubSystemConfigurationAdapter * REQUIRED BY SYSTEMFILTERPOOLMANAGERPROVIDER INTERFACE */ public ImageDescriptor getSystemFilterImage(ISystemFilter filter); + + + /** + * Supply the image to be used for filter pool references + */ + public ImageDescriptor getSystemFilterPoolImage(ISystemFilterPoolReference filterPool); + + /** + * Supply the image to be used for filter references + */ + public ImageDescriptor getSystemFilterImage(ISystemFilterReference filter); + + /* * Supply the image to be used for the given filter string, within actions. * REQUIRED BY SYSTEMFILTERPOOLMANAGERPROVIDER INTERFACE