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 Summary
Modifier and TypeMethodDescriptionvoid
addBuilderOperations
(LinkData data, org.eclipse.core.runtime.IAdaptable source, Collection<ILinkOperation> linkOps) Gets the link operation for the UI building.boolean
Returns if this property container could potentially be link capable.static UIBuilderManager
Gets the instance of the UI builder manager.getTargetContainer
(LinkData data) Returns the target container for the link data.
Method Details
getInstance
Gets the instance of the UI builder manager.getTargetContainer
Returns the target container for the link data.- Returns:
- The container, or null for none.
canBuild
Returns 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.
addBuilderOperations
public 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.