IDE-1569 custom jsps add ability to quickly disable validation

That is fine, yes.

On Mon, Sep 29, 2014 at 10:39 AM, simon.jiang <notifications@github.com>
wrote:

> In
> tools/plugins/com.liferay.ide.hook.ui/src/com/liferay/ide/hook/ui/HookCustomJspValidationResolution.java:
>
> > +
> > +    public void run( IMarker marker )
> > +    {
> > +        final IProject project = marker.getResource().getProject();
> > +
> > +        IPath customJspPath = HookUtil.getCustomJspPath( project );
> > +
> > +        if( customJspPath != null )
> > +        {
> > +            final boolean returnCode =
> > +                HookUtil.configureJSPSyntaxValidationExclude(
> > +                project, project.getFolder( customJspPath.makeRelativeTo( project.getFullPath() ) ) );
> > +
> > +            if( returnCode )
> > +            {
> > +                UIJob validateJob = new UIJob( "Validation Job" )
>
> I think it use UIUtil.async look better because the confirm dialog will be
> displayed after the quick fix window finished.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/gamerson/liferay-ide/pull/688/files#r18135494>.
>



-- 
Greg Amerson
Liferay Developer Tools
Liferay, Inc. www.liferay.com