| |
|
| org.eclipse.ui.actions.SelectionListenerAction org.eclipse.ui.actions.DeleteResourceAction
DeleteResourceAction | public class DeleteResourceAction extends SelectionListenerAction (Code) | | Standard action for deleting the currently selected resources.
This class may be instantiated; it is not intended to be subclassed.
|
Inner Class :static class DeleteProjectDialog extends MessageDialog | |
Field Summary | |
final public static String | ID The id of this action. | protected boolean | fTestingMode Flag that allows testing mode ... |
Method Summary | |
public String[] | getModelProviderIds() Returns the model provider ids that are known to the client that
instantiated this operation. | public void | run() | public void | setModelProviderIds(String[] modelProviderIds) Sets the model provider ids that are known to the client that
instantiated this operation. | protected boolean | updateSelection(IStructuredSelection selection) |
ID | final public static String ID(Code) | | The id of this action.
|
fTestingMode | protected boolean fTestingMode(Code) | | Flag that allows testing mode ... it won't pop up the project delete
dialog, and will return "delete all content".
|
DeleteResourceAction | public DeleteResourceAction(Shell shell)(Code) | | Creates a new delete resource action.
Parameters: shell - the shell for any dialogs |
getModelProviderIds | public String[] getModelProviderIds()(Code) | | Returns the model provider ids that are known to the client that
instantiated this operation.
the model provider ids that are known to the client thatinstantiated this operation. since: 3.2 |
setModelProviderIds | public void setModelProviderIds(String[] modelProviderIds)(Code) | | Sets the model provider ids that are known to the client that
instantiated this operation. Any potential side effects reported by these
models during validation will be ignored.
Parameters: modelProviderIds - the model providers known to the client who is using thisoperation. since: 3.2 |
updateSelection | protected boolean updateSelection(IStructuredSelection selection)(Code) | | The DeleteResourceAction implementation of this
SelectionListenerAction method disables the action if the
selection contains phantom resources or non-resources
|
|
|
|