The {@link CleanUpAction} class provides the {@link Action} behind Erlangmodule source code clean up.
272273274275276277278279280281282
fContextMenuGroup = new CompositeActionGroup(new ActionGroup[] { esg }); createCommonActions(); if (getModule() != null) { cleanUpAction = new CleanUpAction(getModule().getResource()); cleanUpAction .setActionDefinitionId(IErlangEditorActionDefinitionIds.CLEAN_UP); setAction("cleanUp", cleanUpAction); }