public static final ManualImportModulesAction INSTANCE = new ManualImportModulesAction();
public ManualImportModulesAction() {
- super("Add freeform module", 100.0);
+ super(Messages.ManualImportModulesAction_AddFreeformModule, 100.0);
}
@Override
public boolean editImports(Shell shell, ArrayList<CommandSessionImportEntry> imports) {
- InputDialog dialog = new InputDialog(shell, "Select module", "Write the full name of the module",
- "", null);
+ InputDialog dialog = new InputDialog(shell, Messages.ManualImportModulesAction_SelectModule,
+ Messages.ManualImportModulesAction_SelectModuleMsg, "", null); //$NON-NLS-1$
if(dialog.open() == Dialog.OK) {
- new CommandSessionImportEntry(dialog.getValue(), "", true).addTo(imports);
+ new CommandSessionImportEntry(dialog.getValue(), "", true).addTo(imports); //$NON-NLS-1$
return true;
}
else