use of org.erlide.ui.editors.erl.actions.ClearAllCachesAction in project erlide_eclipse by erlang.
the class ErlangEditor method setupClearCacheActions.
private void setupClearCacheActions() {
if (clearAllCachesAction == null) {
clearAllCachesAction = new ClearAllCachesAction(ErlangEditorMessages.getBundleForConstructedKeys(), "ClearAllCaches.", this);
clearAllCachesAction.setActionDefinitionId(IErlangEditorActionDefinitionIds.CLEAR_ALL_CACHES);
setAction("ClearAllCaches", clearAllCachesAction);
markAsStateDependentAction("ClearAllCaches", false);
markAsSelectionDependentAction("ClearAllCaches", false);
}
if (clearCacheAction == null) {
clearCacheAction = new ClearCacheAction(ErlangEditorMessages.getBundleForConstructedKeys(), "ClearCache.", this);
clearCacheAction.setActionDefinitionId(IErlangEditorActionDefinitionIds.CLEAR_CACHE);
setAction("ClearCache", clearCacheAction);
markAsStateDependentAction("ClearCache", true);
markAsSelectionDependentAction("ClearCache", true);
}
}
Aggregations