Action representing a generic import operation.
This class may be instantiated. It is not intended to be subclassed.
This method automatically registers listeners so that it can keep its
enablement state up to date. Ordinarily, the window's references to these
listeners will be dropped automatically when the window closes. However,
if the client needs to get rid of an action while the window is still open,
the client must call IWorkbenchAction#dispose to give the
action an opportunity to deregister its listeners and to perform any other
cleanup.
Note: Despite the name, an import operation can deal with things other than
resources; the current name was retained for historical reasons.
since: 2.0 |