public class FacetEditorFacadeImpl extends java.lang.Object implements FacetEditorFacade
| Constructor and Description |
|---|
FacetEditorFacadeImpl(ModuleStructureConfigurable structureConfigurable,
java.lang.Runnable treeUpdater) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addFacetsNodes(Module module,
MasterDetailsComponent.MyNode moduleNode) |
void |
clearMaps(boolean clearNodes) |
Facet |
createAndAddFacet(FacetType type,
Module module,
Facet underlying) |
Facet |
createFacet(FacetInfo parent,
FacetType type) |
java.util.Collection<FacetInfo> |
getFacetsByType(FacetType<?,?> type) |
FacetConfigurable |
getOrCreateConfigurable(Facet facet) |
FacetInfo |
getParent(FacetInfo facetInfo) |
FacetInfo |
getSelectedFacetInfo() |
ModuleType |
getSelectedModuleType() |
boolean |
nodeHasFacetOfType(FacetInfo facet,
FacetTypeId typeId) |
public FacetEditorFacadeImpl(ModuleStructureConfigurable structureConfigurable, java.lang.Runnable treeUpdater)
public boolean addFacetsNodes(Module module, MasterDetailsComponent.MyNode moduleNode)
public FacetConfigurable getOrCreateConfigurable(Facet facet)
public boolean nodeHasFacetOfType(FacetInfo facet, FacetTypeId typeId)
nodeHasFacetOfType in interface FacetEditorFacadepublic Facet createFacet(FacetInfo parent, FacetType type)
createFacet in interface FacetEditorFacadepublic java.util.Collection<FacetInfo> getFacetsByType(FacetType<?,?> type)
getFacetsByType in interface FacetEditorFacadepublic FacetInfo getParent(FacetInfo facetInfo)
getParent in interface FacetEditorFacadepublic ModuleType getSelectedModuleType()
getSelectedModuleType in interface FacetEditorFacadepublic FacetInfo getSelectedFacetInfo()
getSelectedFacetInfo in interface FacetEditorFacadepublic void clearMaps(boolean clearNodes)