Class ItemDefinitionHandler
- java.lang.Object
-
- org.kie.workbench.common.dmn.client.editors.included.imports.persistence.ItemDefinitionHandler
-
- All Implemented Interfaces:
DRGElementHandler
@Dependent public class ItemDefinitionHandler extends Object implements DRGElementHandler
-
-
Constructor Summary
Constructors Constructor Description ItemDefinitionHandler(ItemDefinitionUtils itemDefinitionUtils, javax.enterprise.event.Event<RefreshDataTypesListEvent> refreshDataTypesListEvent, PropertiesPanelNotifier panelNotifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy(String oldModelName)DestroysDRGElementwhen an imported model is removed.voidupdate(String oldModelName, String newModelName)UpdatesDRGElementwhen an imported model name changes.
-
-
-
Constructor Detail
-
ItemDefinitionHandler
@Inject public ItemDefinitionHandler(ItemDefinitionUtils itemDefinitionUtils, javax.enterprise.event.Event<RefreshDataTypesListEvent> refreshDataTypesListEvent, PropertiesPanelNotifier panelNotifier)
-
-
Method Detail
-
update
public void update(String oldModelName, String newModelName)
Description copied from interface:DRGElementHandlerUpdatesDRGElementwhen an imported model name changes.- Specified by:
updatein interfaceDRGElementHandler
-
destroy
public void destroy(String oldModelName)
Description copied from interface:DRGElementHandlerDestroysDRGElementwhen an imported model is removed.- Specified by:
destroyin interfaceDRGElementHandler
-
-