Class MoxelPropertiesCollectorDelegate
java.lang.Object
com.e1c.langtool.ui.collector.BaseDelegatedSelectionCollector
com.e1c.langtool.v8.dt.internal.ui.selection.MoxelPropertiesCollectorDelegate
- All Implemented Interfaces:
IDelegatingSelectionCollector
The delegate collector from special moxel properties object.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMoxelPropertiesCollectorDelegate(ITranslatingProjectManager translatingProjectManager, IFeatureValueCollectingService collectingService, ITranslationStorageManager translationStorageManager) -
Method Summary
Modifier and TypeMethodDescriptioncollectSelection(org.eclipse.ui.IWorkbenchPart part, ISelection selection, ICollectingParameters parameters, org.eclipse.core.runtime.IProgressMonitor monitor) Delegating collector from selection content to return collecting result by selected translatable objects.Methods inherited from class com.e1c.langtool.ui.collector.BaseDelegatedSelectionCollector
collectSource, createEditingContext
-
Constructor Details
-
MoxelPropertiesCollectorDelegate
@Inject protected MoxelPropertiesCollectorDelegate(ITranslatingProjectManager translatingProjectManager, IFeatureValueCollectingService collectingService, ITranslationStorageManager translationStorageManager)
-
-
Method Details
-
collectSelection
public FeatureValueCollectingResult collectSelection(org.eclipse.ui.IWorkbenchPart part, ISelection selection, ICollectingParameters parameters, org.eclipse.core.runtime.IProgressMonitor monitor) Description copied from interface:IDelegatingSelectionCollectorDelegating collector from selection content to return collecting result by selected translatable objects.This method is called when the selection changes from one to a
non-nullvalue, but not when the selection changes tonull. If there is a requirement to be notified in the latter scenario, implementINullSelectionListener. The event will be posted through this method.- Parameters:
part- the workbench part containing the selectionselection- the current selection. This may benullifINullSelectionListeneris implemented.parameters- the parameters of collecting, cannot benullmonitor- the monitor, cannot benull- Returns:
- the feature value collecting result, may return
nullif cannot supply result or monitor is canceled.
-