Package com.iizigo.link.ui
Class UIBuilderManager
java.lang.Object
com.iizigo.link.ui.UIBuilderManager
The UI builder manager holding all possible UI builders.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- void- addBuilderOperations- (LinkData data, org.eclipse.core.runtime.IAdaptable source, Collection<ILinkOperation> linkOps) Gets the link operation for the UI building.- booleanReturns if this property container could potentially be link capable.- static UIBuilderManagerGets the instance of the UI builder manager.- getTargetContainer- (LinkData data) Returns the target container for the link data.
- Method Details- getInstanceGets the instance of the UI builder manager.
- getTargetContainerReturns the target container for the link data.- Returns:
- The container, or null for none.
 
- canBuildReturns if this property container could potentially be link capable.- This call is done many times during drag-drop and must be very fast and not cause too much garbage collection. - Parameters:
- data- The link data.
- source- The source for the building operation.
- Returns:
- true if the builder supports building with the data.
 
- addBuilderOperationspublic void addBuilderOperations- (LinkData data, org.eclipse.core.runtime.IAdaptable source, Collection<ILinkOperation> linkOps) Gets the link operation for the UI building.- Parameters:
- data- The link data.
- source- The source for the building operation.
- linkOps- The link operations to add to.