@Dependent public class ItemDefinitionHandler extends Object implements DRGElementHandler
Constructor and Description |
---|
ItemDefinitionHandler(ItemDefinitionUtils itemDefinitionUtils,
javax.enterprise.event.Event<RefreshDataTypesListEvent> refreshDataTypesListEvent,
PropertiesPanelNotifier panelNotifier) |
Modifier and Type | Method and Description |
---|---|
void |
destroy(String oldModelName)
Destroys
DRGElement when an imported model is removed. |
void |
update(String oldModelName,
String newModelName)
Updates
DRGElement when an imported model name changes. |
@Inject public ItemDefinitionHandler(ItemDefinitionUtils itemDefinitionUtils, javax.enterprise.event.Event<RefreshDataTypesListEvent> refreshDataTypesListEvent, PropertiesPanelNotifier panelNotifier)
public void update(String oldModelName, String newModelName)
DRGElementHandler
DRGElement
when an imported model name changes.update
in interface DRGElementHandler
public void destroy(String oldModelName)
DRGElementHandler
DRGElement
when an imported model is removed.destroy
in interface DRGElementHandler
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.