IEditorPart activeEditor = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor();
String filename = activeEditor.getEditorInput().getName();
String ext = XVRUtils.getFileExtension(filename);
if(XVRUtils.isS3D(ext))
try {
new XVRLineBreakpointAdapter().toggleLineBreakpoints(activeEditor, selection);
} catch (CoreException e) {
e.printStackTrace();
}
}