- All Implemented Interfaces:
GuiProvider<Security>,TableConfigurationProvider<Security>,DomainContextProvider,PdoProvider<Security>
@GuiProviderService(org.tentackle.security.pdo.Security.class)
public class SecurityGuiProvider
extends DefaultGuiProvider<Security>
GUI provider for Security.
- Author:
- harald
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a controller to edit or view this object.javafx.scene.NodeCreates the PDO's icon.
The icon is displayed in trees, for example.booleanReturns whether a controller is available to edit or view this object.Methods inherited from class org.tentackle.fx.rdc.DefaultGuiProvider
createDragboard, createEmptyTableConfiguration, createEmptyTableConfiguration, createFinder, createTableView, createTreeItem, dropDragboard, dropPdo, getBundle, getDomainContext, getPdo, getToolTipText, getTreeCellFactory, getTreeChildObjects, getTreeExpandMaxDepth, getTreeParentObjects, getTreeRoot, getTreeText, isBundleProvided, isDragAccepted, isEditAllowed, isFinderAvailable, isViewAllowed, providesTreeChildObjects, providesTreeParentObjects, setPdo, stopTreeExpansion, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.tentackle.pdo.DomainContextProvider
isWithinContext, isWithinContext, on, on, op, opMethods inherited from interface org.tentackle.pdo.PdoProvider
on, on
-
Constructor Details
-
SecurityGuiProvider
Creates the provider.- Parameters:
pdo- the pdo
-
-
Method Details
-
createGraphic
public javafx.scene.Node createGraphic()Description copied from interface:GuiProviderCreates the PDO's icon.
The icon is displayed in trees, for example.- Specified by:
createGraphicin interfaceGuiProvider<Security>- Overrides:
createGraphicin classDefaultGuiProvider<Security>- Returns:
- the icon
-
createEditor
Description copied from interface:GuiProviderCreates a controller to edit or view this object.- Specified by:
createEditorin interfaceGuiProvider<Security>- Overrides:
createEditorin classDefaultGuiProvider<Security>- Returns:
- the controller
-
isEditorAvailable
public boolean isEditorAvailable()Description copied from interface:GuiProviderReturns whether a controller is available to edit or view this object.- Specified by:
isEditorAvailablein interfaceGuiProvider<Security>- Overrides:
isEditorAvailablein classDefaultGuiProvider<Security>- Returns:
- true if a controller exists, false by default
- See Also:
-
createTableConfiguration
Description copied from class:DefaultGuiProviderThe default implementation creates the column configurations by analyzing the PDO class via reflection.
Application specific subclasses overriding this method should consider usingDefaultGuiProvider.createEmptyTableConfiguration(String)orDefaultGuiProvider.createEmptyTableConfiguration()to create the empty configuration first.- Specified by:
createTableConfigurationin interfaceTableConfigurationProvider<Security>- Overrides:
createTableConfigurationin classDefaultGuiProvider<Security>
-