com.ibm.portal.model.controller
Interface WireModelControllerProvider
- All Known Subinterfaces:
- LayoutModelController<T,M>
public interface WireModelControllerProvider
An interface for a provider of wire model controllers.
A wire model controller provider is the LayoutModelController
.
- Since:
- 6.1.0
- See Also:
WireModelController
,
LayoutModelController
getWireModelController
WireModelController<Wire,ModifiableWire> getWireModelController()
throws CannotInstantiateControllerException
- Returns a wire model controller. The model controller is not thread-safe
and thus must only be used by one thread at any given time.
Note The WireModelController
can only operate on
LayoutControl
instances that either
already exist or are known to the LayoutModelController
this
WireModelController
was obtained from, i. e. if a control is
created through a LayoutModelController
it must be
inserted prior to using a WireModelController
that
tries to wire that control.
- Returns:
- A wire model controller.
- Throws:
CannotInstantiateControllerException
- in case the wire model controller can not be instantiated.