Interface IEditorMatchingStrategy

    • Method Detail

      • matches

        boolean matches​(IEditorReference editorRef,
                        IEditorInput input)
        Returns whether the editor represented by the given editor reference matches the given editor input.

        Implementations should inspect the given editor input first, and try to reject it early before calling IEditorReference.getEditorInput(), since that method may be expensive.

        Parameters:
        editorRef - the editor reference to match against
        input - the editor input to match
        Returns:
        true if the editor matches the given editor input, false if it does not match