~vil/pydev/upstream

« back to all changes in this revision

Viewing changes to org.python.pydev/src/org/python/pydev/editor/correctionassist/PyQuickFix.java

  • Committer: Vladimír Lapáček
  • Date: 2006-08-30 18:38:44 UTC
  • Revision ID: vladimir.lapacek@gmail.com-20060830183844-f4d82c1239a7770a
Initial import of upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.python.pydev.editor.correctionassist;
 
2
 
 
3
import org.eclipse.core.resources.IMarker;
 
4
import org.eclipse.ui.IMarkerResolution;
 
5
import org.eclipse.ui.IMarkerResolutionGenerator;
 
6
 
 
7
/**
 
8
 * This class can later be used to make quick fixes. 
 
9
 * 
 
10
 * 
 
11
 * @author Fabio Zadrozny
 
12
 */
 
13
public class PyQuickFix implements IMarkerResolutionGenerator {
 
14
 
 
15
    public static String CONTENT_GENERATOR_MARKER = "org.python.pydev.editor.markers.pycontentgeneratormarker"; 
 
16
 
 
17
    public IMarkerResolution[] getResolutions(IMarker mk) {
 
18
        return new IMarkerResolution[] {};
 
19
//        try {
 
20
//           Object problem = mk.getAttribute("WhatsUp");
 
21
//           return new IMarkerResolution[] {
 
22
//              new MarkerResolution("Fix #1 for "+problem),
 
23
//              new MarkerResolution("Fix #2 for "+problem),
 
24
//           };
 
25
//        }
 
26
//        catch (CoreException e) {
 
27
//           return new IMarkerResolution[0];
 
28
//        }
 
29
     }
 
30
 
 
31
}