The following code snippet, that gets the "ignore launch command" setting from pereferences is duplicated across serveral classes
String tmp = callback.getServer().getAttribute(IJBossToolingConstants.IGNORE_LAUNCH_COMMANDS, (String)null); Boolean b = tmp == null ? new Boolean(false) : new Boolean(tmp); executeShellScripts.setSelection(b.booleanValue());