/**
* @see de.loskutov.branchview.connection.Command#exec(java.lang.Object)
*/
protected void exec(IJavaElement element1, IJavaElement element2) throws Exception {
final BitSet modes = getModes();
CompareUI.openCompareEditor(new BytecodeCompare(
createTypedElement(element1, modes),
createTypedElement(element2, modes)));
}