Package com._1c.g5.v8.dt.ui.aef.events
Class ProjectParametersConsumer
- java.lang.Object
-
- com._1c.g5.aef2.events.AbstractServiceConsumer<IEvent,IProjectParameterChangeEvent>
-
- com._1c.g5.v8.dt.ui.aef.events.ProjectParametersConsumer
-
- All Implemented Interfaces:
IServiceConsumer<IEvent>
,IEventListener
public class ProjectParametersConsumer extends AbstractServiceConsumer<IEvent,IProjectParameterChangeEvent> implements IEventListener
TheIServiceConsumer
that listens toIV8ProjectManager
and notifies the AEF event tracker about changing one of the following parameters:- list of languages
- script variant
- See Also:
IV8ProjectManager
-
-
Constructor Summary
Constructors Constructor Description ProjectParametersConsumer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IProjectParameterChangeEvent
convertToAefEvent(IEvent event)
Converts the given external event to AEF service event.void
handleEvent(IEvent event)
Process event of specified type-
Methods inherited from class com._1c.g5.aef2.events.AbstractServiceConsumer
accept, dispose, getEventTracker, intitialize, notifyServiceEventQualifierScopeChanged
-
-
-
-
Method Detail
-
handleEvent
public void handleEvent(IEvent event)
Description copied from interface:IEventListener
Process event of specified type- Specified by:
handleEvent
in interfaceIEventListener
- Parameters:
event
- the event to handle (cannot benull
)
-
convertToAefEvent
protected IProjectParameterChangeEvent convertToAefEvent(IEvent event)
Description copied from class:AbstractServiceConsumer
Converts the given external event to AEF service event.- Specified by:
convertToAefEvent
in classAbstractServiceConsumer<IEvent,IProjectParameterChangeEvent>
- Parameters:
event
- the external service event.- Returns:
- the AEF
IServiceEvent
successor.
-
-