欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

markerresolution.java

Python Development Environment (Python IDE plugin for Eclipse). Features editor, code completion, re
JAVA
字号:
/*
 * Created on Sep 22, 2004
 *
 * @author Fabio Zadrozny
 */
package org.python.pydev.editor.correctionassist;

import org.eclipse.core.resources.IMarker;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.ui.IMarkerResolution;

/**
 * @author Fabio Zadrozny
 */
public class MarkerResolution implements IMarkerResolution {

    private String label;

    /**
     * @param string
     */
    public MarkerResolution(String string) {
        
        this.label = string;
    }

    /* (non-Javadoc)
     * @see org.eclipse.ui.IMarkerResolution#getLabel()
     */
    public String getLabel() {
        return label;
    }

    public void run(IMarker marker) {
        MessageDialog.openInformation(null, "QuickFix Demo",
           "This quick-fix is not yet implemented");
     }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -