1 package com.proalpha.java.oea.plugins.oeaextension.codefoldingutility.handlers;
3 import org.eclipse.core.commands.ExecutionEvent;
4 import org.eclipse.core.commands.ExecutionException;
6 import com.openedge.pdt.text.editor.OETextEditor;
10 public Object execute(ExecutionEvent event)
throws ExecutionException {
12 OETextEditor editor = getOETextEditor();
15 editor.getOESourceViewer().getProjectionAnnotationModel()
16 .collapseAll(0, editor.getDocument().getLength());