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 FacetEditorFacade
public Facet createFacet(FacetInfo parent, FacetType type)
createFacet
in interface FacetEditorFacade
public java.util.Collection<FacetInfo> getFacetsByType(FacetType<?,?> type)
getFacetsByType
in interface FacetEditorFacade
public FacetInfo getParent(FacetInfo facetInfo)
getParent
in interface FacetEditorFacade
public ModuleType getSelectedModuleType()
getSelectedModuleType
in interface FacetEditorFacade
public FacetInfo getSelectedFacetInfo()
getSelectedFacetInfo
in interface FacetEditorFacade
public void clearMaps(boolean clearNodes)