Package it.tidalwave.role.ui.spi
Class DefaultPresentationModelFactory
- java.lang.Object
-
- it.tidalwave.role.ui.spi.DefaultPresentationModelFactory
-
- All Implemented Interfaces:
PresentationModelFactory
public class DefaultPresentationModelFactory extends java.lang.Object implements PresentationModelFactory
An implementation ofPresentationModelFactory
that creates instances ofDefaultPresentationModel
.- Author:
- Fabrizio Giudici
-
-
Field Summary
-
Fields inherited from interface it.tidalwave.role.ui.PresentationModelFactory
_PresentationModelFactory_
-
-
Constructor Summary
Constructors Constructor Description DefaultPresentationModelFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PresentationModel
createPresentationModel(java.lang.Object owner, java.util.Collection<java.lang.Object> localroles)
Creates a new instance ofPresentationModel
with some roles or role factories.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface it.tidalwave.role.ui.PresentationModelFactory
createPresentationModel
-
-
-
-
Method Detail
-
createPresentationModel
@Nonnull public PresentationModel createPresentationModel(@Nonnull java.lang.Object owner, @Nonnull java.util.Collection<java.lang.Object> localroles)
Creates a new instance ofPresentationModel
with some roles or role factories.- Specified by:
createPresentationModel
in interfacePresentationModelFactory
- Parameters:
owner
- the related datumlocalroles
- roles orRoleFactory
instances to put in the presentation model- Returns:
- the new instance
-
-