* supporting classes.
*/
// rest of javadoc inherited
public void createPartControl(Composite parent) {
super.createPartControl(parent);
final IVerticalRuler rule = getVerticalRuler();
Control control = rule.getControl();
control.addMouseListener(new MouseListener() {
public void mouseDoubleClick(MouseEvent event) {
mouseUp(event);
}
public void mouseDown(MouseEvent event) {
}
public void mouseUp(MouseEvent event) {
int line = rule.getLineOfLastMouseButtonActivity();
IFileEditorInput input = (IFileEditorInput) getEditorInput();
IResource resource = input.getFile();
try {
final IMarker markers [] =
PolicyUtils.findProblemMarkers(resource, line + 1);