Examples of createMarker()


Examples of org.eclipse.core.resources.IResource.createMarker()

        XPath bPath1 = new XPath("/bone");
        XPath bPath2 = new XPath("/bone/btwo");

        IMarker marker1 = resource.createMarker(IMarker.PROBLEM);
        marker1.setAttribute(XPath.class.getName(), aPath2.getExternalForm());
        IMarker marker2 = resource.createMarker(IMarker.PROBLEM);
        marker2.setAttribute(XPath.class.getName(), aPath1.getExternalForm());
        IMarker marker3 = resource.createMarker(IMarker.PROBLEM);
        marker3.setAttribute(XPath.class.getName(), bPath2.getExternalForm());
        IMarker marker4 = resource.createMarker(IMarker.MESSAGE);
        marker4.setAttribute(XPath.class.getName(), bPath1.getExternalForm());
View Full Code Here

Examples of org.eclipse.core.resources.IResource.createMarker()

        IMarker marker1 = resource.createMarker(IMarker.PROBLEM);
        marker1.setAttribute(XPath.class.getName(), aPath2.getExternalForm());
        IMarker marker2 = resource.createMarker(IMarker.PROBLEM);
        marker2.setAttribute(XPath.class.getName(), aPath1.getExternalForm());
        IMarker marker3 = resource.createMarker(IMarker.PROBLEM);
        marker3.setAttribute(XPath.class.getName(), bPath2.getExternalForm());
        IMarker marker4 = resource.createMarker(IMarker.MESSAGE);
        marker4.setAttribute(XPath.class.getName(), bPath1.getExternalForm());

        IMarker markers [];
View Full Code Here

Examples of org.eclipse.core.resources.IResource.createMarker()

        marker1.setAttribute(XPath.class.getName(), aPath2.getExternalForm());
        IMarker marker2 = resource.createMarker(IMarker.PROBLEM);
        marker2.setAttribute(XPath.class.getName(), aPath1.getExternalForm());
        IMarker marker3 = resource.createMarker(IMarker.PROBLEM);
        marker3.setAttribute(XPath.class.getName(), bPath2.getExternalForm());
        IMarker marker4 = resource.createMarker(IMarker.MESSAGE);
        marker4.setAttribute(XPath.class.getName(), bPath1.getExternalForm());

        IMarker markers [];

        markers = PolicyUtils.findProblemMarkers(resource, root);
View Full Code Here

Examples of org.eclipse.core.resources.IResource.createMarker()

                XPath parent2Path = new XPath(parent2);
                XPath child2aPath = new XPath(child2a);
                XPath child2bPath = new XPath(child2b);


                IMarker marker0 = resource.createMarker(IMarker.PROBLEM);
                marker0.setAttribute(XPath.class.getName(),
                        rootPath.getExternalForm());
                marker0.setAttribute(Element.class.getName(), rootNode.getName());

                IMarker marker1 = resource.createMarker(IMarker.PROBLEM);
View Full Code Here

Examples of org.eclipse.core.resources.IResource.createMarker()

                IMarker marker0 = resource.createMarker(IMarker.PROBLEM);
                marker0.setAttribute(XPath.class.getName(),
                        rootPath.getExternalForm());
                marker0.setAttribute(Element.class.getName(), rootNode.getName());

                IMarker marker1 = resource.createMarker(IMarker.PROBLEM);
                marker1.setAttribute(XPath.class.getName(),
                        parent1Path.getExternalForm());
                marker1.setAttribute(Element.class.getName(), rootNode.getName());

                IMarker marker2 = resource.createMarker(IMarker.PROBLEM);
View Full Code Here

Examples of org.eclipse.core.resources.IResource.createMarker()

                IMarker marker1 = resource.createMarker(IMarker.PROBLEM);
                marker1.setAttribute(XPath.class.getName(),
                        parent1Path.getExternalForm());
                marker1.setAttribute(Element.class.getName(), rootNode.getName());

                IMarker marker2 = resource.createMarker(IMarker.PROBLEM);
                marker2.setAttribute(XPath.class.getName(),
                        child1aPath.getExternalForm());
                marker2.setAttribute(Element.class.getName(), child1a.getName());

                IMarker marker3 = resource.createMarker(IMarker.PROBLEM);
View Full Code Here

Examples of org.eclipse.core.resources.IResource.createMarker()

                IMarker marker2 = resource.createMarker(IMarker.PROBLEM);
                marker2.setAttribute(XPath.class.getName(),
                        child1aPath.getExternalForm());
                marker2.setAttribute(Element.class.getName(), child1a.getName());

                IMarker marker3 = resource.createMarker(IMarker.PROBLEM);
                marker3.setAttribute(XPath.class.getName(),
                        child1bPath.getExternalForm());
                marker3.setAttribute(Element.class.getName(), child1b.getName());

                IMarker marker4 = resource.createMarker(IMarker.PROBLEM);
View Full Code Here

Examples of org.eclipse.core.resources.IResource.createMarker()

                IMarker marker3 = resource.createMarker(IMarker.PROBLEM);
                marker3.setAttribute(XPath.class.getName(),
                        child1bPath.getExternalForm());
                marker3.setAttribute(Element.class.getName(), child1b.getName());

                IMarker marker4 = resource.createMarker(IMarker.PROBLEM);
                marker4.setAttribute(XPath.class.getName(),
                        parent2Path.getExternalForm());
                marker4.setAttribute(Element.class.getName(), parent2.getName());

                IMarker marker5 = resource.createMarker(IMarker.PROBLEM);
View Full Code Here

Examples of org.epic.core.util.MarkerUtilities.createMarker()

        factory.deleteMarkers(resource, METRICS_MARKER);

        for (int i = 0; i < violations.length; i++)
        {
            Map attributes = createMarkerAttributes(factory, violations[i]);
            factory.createMarker(resource, METRICS_MARKER, attributes);
        }
    }

    /*
     * @see org.epic.perleditor.actions.PerlJobAction#doJob(org.eclipse.core.resources.IResource)
View Full Code Here

Examples of org.epic.core.util.MarkerUtilities.createMarker()

                if (monitor.isCanceled()) { return Status.CANCEL_STATUS; }

                for (int i = 0; i < violations.length; i++)
                {
                    Map attributes = createMarkerAttributes(factory, violations[i]);
                    factory.createMarker(resource, marker, attributes);
                }

                return Status.OK_STATUS;
            }
        };
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.