Package org.pentaho.di.ui.spoon
Class BreadcrumbManager
- java.lang.Object
-
- org.pentaho.di.ui.spoon.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 Summary
Constructors Constructor Description BreadcrumbManager()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCaller(String caller, String callee)
Adds a link between a caller id a callee id.String
getCaller(String callee)
Returns the id of the caller for a given callee id.static BreadcrumbManager
getInstance()
void
removeCaller(String callee)
Removes the caller id of the callee from the breadcrumb manager
-
-
-
Method Detail
-
getInstance
public static BreadcrumbManager getInstance()
-
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
-
-
-