private boolean isBeforeSelectedLine(SimpleAdapter firstSelectedVariable, SimpleAdapter adapter) { return adapter.getNodeFirstLine() < firstSelectedVariable.getNodeFirstLine(); }
private boolean isAfterSelectedLine(SimpleAdapter lastSelectedVariable, SimpleAdapter adapter) { return adapter.getNodeFirstLine() > lastSelectedVariable.getNodeFirstLine(); }
private boolean isBeforeOnSameLine(SimpleAdapter firstSelectedVariable, SimpleAdapter adapter) { return adapter.getNodeFirstLine() == firstSelectedVariable.getNodeFirstLine() && (adapter.getNodeIndent() < firstSelectedVariable.getNodeIndent()); }
private boolean isAfterOnSameLine(SimpleAdapter lastSelectedVariable, SimpleAdapter adapter) { return adapter.getNodeFirstLine() == lastSelectedVariable.getNodeFirstLine() && (adapter.getNodeIndent() > lastSelectedVariable.getNodeIndent()); }