private String getLineDelimiter() { BundleInputContext inputContext = getBundleContext(); if (inputContext != null) { return inputContext.getLineDelimiter(); } return System.getProperty("line.separator"); // $NON-NLS-1$ }
private IBundleModel getBundleModel() { BundleInputContext context = getBundleContext(); return (context != null) ? (IBundleModel) context.getModel() : null; }