Package com.e1c.langtool.ui.collector
Interface FeatureValueCollectingResult
- All Known Implementing Classes:
CommonFeatureValueCollectingResult
public interface FeatureValueCollectingResult
The of the collecting result with the context of request (UI part, project, source object) and editing context
that may be different depending of UI source part. The editor part may store changes in the input content
and save it with editor saving.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Dispose the result and it cannot be used in future.Gets the editing context.Gets the translating project of the source object.org.eclipse.ui.IWorkbenchPartGets the selected part.Gets the selection in the part.Gets the source translating object.Gets the collected values.booleanChecks if the result is disposed.
-
Method Details
-
getProject
ITranslatingProject getProject()Gets the translating project of the source object.- Returns:
- the project, cannot be
null.
-
getSourceObject
TranslationSource getSourceObject()Gets the source translating object.- Returns:
- the source translating object, cannot be
null.
-
getSelectedPart
org.eclipse.ui.IWorkbenchPart getSelectedPart()Gets the selected part.- Returns:
- the selected part, cannot be
null.
-
getSelection
ISelection getSelection()Gets the selection in the part.- Returns:
- the selection, cannot return
null
-
getValues
Collection<FeatureValue> getValues()Gets the collected values.- Returns:
- the collected values, cannot be
null.
-
getEditingContext
IEditingContext getEditingContext()Gets the editing context.- Returns:
- the editing context, cannot be
null.
-
dispose
void dispose()Dispose the result and it cannot be used in future. -
isDisposed
boolean isDisposed()Checks if the result is disposed.- Returns:
- true, if the result is disposed
-