Package it.tidalwave.role.ui.spi
Class DefaultPresentationModelFactory
java.lang.Object
it.tidalwave.role.ui.spi.DefaultPresentationModelFactory
- All Implemented Interfaces:
PresentationModelFactory
An implementation of
PresentationModelFactory that creates instances of DefaultPresentationModel.- Author:
- Fabrizio Giudici
-
Field Summary
Fields inherited from interface it.tidalwave.role.ui.PresentationModelFactory
_PresentationModelFactory_ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatePresentationModel(Object owner, Collection<Object> localRoles) Creates a new instance ofPresentationModelwith some roles or role factories.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface it.tidalwave.role.ui.PresentationModelFactory
createPresentationModel
-
Constructor Details
-
DefaultPresentationModelFactory
public DefaultPresentationModelFactory()
-
-
Method Details
-
createPresentationModel
@Nonnull public PresentationModel createPresentationModel(@Nonnull Object owner, @Nonnull Collection<Object> localRoles) Creates a new instance ofPresentationModelwith some roles or role factories.- Specified by:
createPresentationModelin interfacePresentationModelFactory- Parameters:
owner- the related datumlocalRoles- roles orRoleFactoryinstances to put in the presentation model- Returns:
- the new instance
-