Examples of IFixer


Examples of org.locationtech.udig.core.IFixer

    public static final String XPID_ISSUEFIXER = "org.locationtech.udig.issues.issueFixer"; //$NON-NLS-1$
   
    IMemento fixerMemento = null;
   
    public void fixIssue( IViewPart part, IEditorPart editor ) {
        IFixer fixer = findIssueFixer(fixerMemento);
        if (fixer == null) {
            return;
        }
        setResolution(Resolution.IN_PROGRESS);
        fixer.fix(this, fixerMemento);
    }
View Full Code Here

Examples of org.locationtech.udig.core.IFixer

                    }
                }
            }
            if (isValid) {
                //extension point
                IFixer fixer = null;
                try {
                    fixer = (IFixer) element.createExecutableExtension(ATT_CLASS);
                } catch (Exception e) {
                    e.printStackTrace();
                    IssuesActivator.log("Could not instantiate IssueFixer extension", e); //$NON-NLS-1$
                }
                if (fixer != null && fixer.canFix(this, fixerMemento)) {
                    return fixer;
                }
            }
        }
        return null;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.