for (LinkedPositionGroup currGroup : groups) {
model.addGroup(currGroup);
}
model.forceInstall();
LinkedModeUI ui = new LinkedModeUI(model, viewer);
ui.setExitPosition(viewer, startOffset + importOffset + methodStr.length(), 0, Integer.MAX_VALUE);
ui.enter();
selectedRegion = ui.getSelectedRegion();
}
catch (BadLocationException e) {
StatusHandler.log(new Status(Status.ERROR, DataCorePlugin.PLUGIN_ID, e.getMessage(), e));
}
catch (JavaModelException e) {