Class BreadcrumbManager


  • public class BreadcrumbManager
    extends Object
    A class to manage breadcrumbing so that we know which document/tab/perspective opened a given document.
    Author:
    jamesdixon
    • Constructor Detail

      • BreadcrumbManager

        public BreadcrumbManager()
    • Method Detail

      • addCaller

        public void addCaller​(String caller,
                              String callee)
        Adds a link between a caller id a callee id.
        Parameters:
        caller -
        callee -
      • getCaller

        public String getCaller​(String callee)
        Returns the id of the caller for a given callee id. Will return null if there is no caller registered for the callee id.
        Parameters:
        callee -
        Returns:
      • removeCaller

        public void removeCaller​(String callee)
        Removes the caller id of the callee from the breadcrumb manager
        Parameters:
        callee -