Class Util
java.lang.Object
com.e1c.langtool.v8.dt.internal.ui.refactoring.Util
-
Method Summary
Modifier and TypeMethodDescriptionstatic Set<FeatureValue>collectFeatureValues(Object object, IFeatureValueCollectingService collectingService, ICollectingParameters collectingParameters, org.eclipse.core.runtime.IProgressMonitor monitor) getProjectStorages(org.eclipse.core.resources.IProject project, IStorageSettingsManager storageSettingsManager, ITranslationStorageManager storageManager) static org.eclipse.xtext.ui.editor.XtextEditorgetXtextEditor(org.eclipse.ui.IEditorPart part) static booleanstatic booleanisTranslationRefactoringEnabled(org.eclipse.core.resources.IProject project) static voidperformBatchMoveTranslation(Map<FeatureValue, FeatureValue> matches, Collection<ITranslationStorageProvider.Storage> storages, Collection<TranslateLanguage> languages) static FeatureKeyreplaceFeatureKey(FeatureKey featureKey, FeatureKey oldPrefix, FeatureKey newPrefix)
-
Method Details
-
getXtextEditor
public static org.eclipse.xtext.ui.editor.XtextEditor getXtextEditor(org.eclipse.ui.IEditorPart part) -
replaceFeatureKey
public static FeatureKey replaceFeatureKey(FeatureKey featureKey, FeatureKey oldPrefix, FeatureKey newPrefix) -
getProjectStorages
public static List<ITranslationStorageProvider.Storage> getProjectStorages(org.eclipse.core.resources.IProject project, IStorageSettingsManager storageSettingsManager, ITranslationStorageManager storageManager) -
collectFeatureValues
public static Set<FeatureValue> collectFeatureValues(Object object, IFeatureValueCollectingService collectingService, ICollectingParameters collectingParameters, org.eclipse.core.runtime.IProgressMonitor monitor) -
performBatchMoveTranslation
public static void performBatchMoveTranslation(Map<FeatureValue, FeatureValue> matches, Collection<ITranslationStorageProvider.Storage> storages, Collection<TranslateLanguage> languages) -
isCalledFromComparisonManager
public static boolean isCalledFromComparisonManager() -
isTranslationRefactoringEnabled
public static boolean isTranslationRefactoringEnabled(org.eclipse.core.resources.IProject project)
-