use of org.eclipse.linuxtools.internal.rpm.ui.editor.outline.SpecfileQuickOutlineDialog in project linuxtools by eclipse.
the class SpecfileEditorShowOutlineActionDelegate method execute.
@Override
public Object execute(ExecutionEvent event) {
IEditorPart editor = HandlerUtil.getActiveEditor(event);
ITextEditor textEditor = editor.getAdapter(ITextEditor.class);
SpecfileQuickOutlineDialog quickOutlinePopupDialog = new SpecfileQuickOutlineDialog(editor.getSite().getShell(), SWT.NONE, textEditor);
quickOutlinePopupDialog.setVisible(true);
return null;
}
Aggregations