Eclipse Platform
Release 3.3

org.eclipse.ui
Interface ISaveableFilter


public interface ISaveableFilter

A filter for selecting Saveables.

Since:
3.3
See Also:
IWorkbench.saveAll(org.eclipse.jface.window.IShellProvider, org.eclipse.jface.operation.IRunnableContext, ISaveableFilter, boolean)

Method Summary
 boolean select(Saveable saveable, IWorkbenchPart[] containingParts)
          Indicate whether the given saveable matches this filter.
 

Method Detail

select

public boolean select(Saveable saveable,
                      IWorkbenchPart[] containingParts)
Indicate whether the given saveable matches this filter.

Parameters:
saveable - the saveable being tested
containingParts - the parts that contain the saveable. This list may contain zero or more parts.
Returns:
whether the given saveable matches this filter

Eclipse Platform
Release 3.3

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.