public class ModuleDeleteProvider extends java.lang.Object implements DeleteProvider, TitledHandler
Constructor and Description |
---|
ModuleDeleteProvider() |
Modifier and Type | Method and Description |
---|---|
boolean |
canDeleteElement(DataContext dataContext) |
void |
deleteElement(DataContext dataContext) |
java.lang.String |
getActionTitle() |
static void |
removeModule(Module moduleToRemove,
java.util.Collection<? extends ModifiableRootModel> otherModuleRootModels,
ModifiableModuleModel moduleModel) |
public boolean canDeleteElement(DataContext dataContext)
canDeleteElement
in interface DeleteProvider
public void deleteElement(DataContext dataContext)
deleteElement
in interface DeleteProvider
public java.lang.String getActionTitle()
getActionTitle
in interface TitledHandler
public static void removeModule(Module moduleToRemove, java.util.Collection<? extends ModifiableRootModel> otherModuleRootModels, ModifiableModuleModel moduleModel)