Class BmMarkerWrapper

    • Field Detail

      • openHelper

        protected OpenHelper openHelper
        Open editor helper.
    • Constructor Detail

      • BmMarkerWrapper

        public BmMarkerWrapper​(Marker marker,
                               org.eclipse.core.resources.IProject project,
                               IBmModelManager modelManager,
                               IV8ProjectManager projectManager,
                               ISymbolicLinkLocalizer symbolicLinkLocalizer,
                               OpenHelper openHelper)
        Creates a new instance.
        Parameters:
        marker - the wrapped marker, can't be null.
        project - the project the marker is attached to, can't be null.
        modelManager - the IBmModelManager instance, can't be null.
        projectManager - the IV8ProjectManager instance, can't be null.
        symbolicLinkLocalizer - the ISymbolicLinkLocalizer instance, can't be null.
        openHelper - service for for opening and activating editors, can't be null.
    • Method Detail

      • getObject

        public Object getObject()
        Description copied from interface: IMarkerWrapper
        Gets the object the wrapped marker is associated with.
        Returns:
        the associated object, can be null when there is no linked EObject with Marker.
      • getStringPresentation

        public String getStringPresentation()
        Description copied from interface: IMarkerWrapper
        Gets string representation of the wrapped marker for view.
        Returns:
        string representation of the wrapped marker for view, never null.
      • isModelCheck

        public boolean isModelCheck()
        Description copied from interface: IMarkerWrapper
        Indicates that the marker belongs to model check
        Returns:
        true if the marker belongs to model check, false if it's module check