Package com.iizigo.link.ui
Class UIBuilderManager
- java.lang.Object
- com.iizigo.link.ui.UIBuilderManager
 
- public class UIBuilderManager extends java.lang.ObjectThe UI builder manager holding all possible UI builders.- Author:
- Christopher Mindus
 
- Method Summary- All Methods Static Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - void- addBuilderOperations(LinkData data, org.eclipse.core.runtime.IAdaptable source, java.util.Collection<ILinkOperation> linkOps)Gets the link operation for the UI building.- boolean- canBuild(LinkData data, org.eclipse.core.runtime.IAdaptable source)Returns if this property container could potentially be link capable.- static UIBuilderManager- getInstance()Gets the instance of the UI builder manager.- IEUIContainer- getTargetContainer(LinkData data)Returns the target container for the link data.
 
- Method Detail- getInstance- public static UIBuilderManager getInstance() Gets the instance of the UI builder manager.
 - getTargetContainer- public IEUIContainer getTargetContainer(LinkData data) Returns the target container for the link data.- Returns:
- The container, or null for none.
 
 - canBuild- public boolean canBuild(LinkData data, org.eclipse.core.runtime.IAdaptable source) 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, java.util.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.