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); }
114115116117118119120121122123124
needShortReschedule.set(true); /* Open Cleanup Reminder Dialog */ else if (visibleInstance == null && new CleanUpReminderDialog(shell).open() == IDialogConstants.OK_ID) { OwlUI.restoreWindow(shell); new CleanUpAction().openWizard(shell); } } }); /* Shell is Minimized to Tray, try again after a short delay */