Package com._1c.g5.v8.dt.pw.ui.builders
Class PrintWizardParser
java.lang.Object
com._1c.g5.v8.dt.pw.ui.builders.PrintWizardParser
Parse object manager module and commands modules
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classField selected in templatestatic classParse result, got from parserstatic classFields selected in template -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancompareQueries(String defaultQuery, QuerySchema defaultQuerySchema, String query, QuerySchema querySchema, org.eclipse.core.resources.IProject poject, IV8ProjectManager v8ProjectManager, IBmModelManager bmModelManager) Compare queries for print wizardstatic org.eclipse.emf.ecore.EReferencefindFeature(org.eclipse.emf.ecore.EObject object, String name) Find feature in EObjectstatic List<?>getAllTemplates(org.eclipse.emf.ecore.EObject parent) Get all templates from objectstatic List<PrintWizardParser.ParseResult>parse(org.eclipse.emf.ecore.EObject object) Parse manager module, command mobule and template
-
Field Details
-
HEADER_NAME
- See Also:
-
HEADER_NAME_RU
- See Also:
-
FOOTER_NAME
- See Also:
-
FOOTER_NAME_RU
- See Also:
-
PRINT_WIZARD_END
- See Also:
-
PRINT_WIZARD_START_RU
- See Also:
-
PRINT_WIZARD_START
- See Also:
-
-
Method Details
-
parse
Parse manager module, command mobule and template- Parameters:
object- - parent MD object- Returns:
- parse result
-
findFeature
public static org.eclipse.emf.ecore.EReference findFeature(org.eclipse.emf.ecore.EObject object, String name) Find feature in EObject- Parameters:
object- - EObjectname- - feature name- Returns:
- feature. Return null if feature not found.
-
compareQueries
public static boolean compareQueries(String defaultQuery, QuerySchema defaultQuerySchema, String query, QuerySchema querySchema, org.eclipse.core.resources.IProject poject, IV8ProjectManager v8ProjectManager, IBmModelManager bmModelManager) Compare queries for print wizard- Parameters:
defaultQuery- - default print wizard query, cannot benulldefaultQuerySchema- - default QuerySchema, cannot benullquery- - query for compare, cannot benullquerySchema- - QuerySchema, cannot benullproject- - project, cannot benullv8ProjectManager- - v8 Project Manager, cannot benullbmModelManager-IBmModelManagerservice reference, cannot benull- Returns:
- true if queries equals for print wizard
-
getAllTemplates
Get all templates from object- Parameters:
parent- - parent object- Returns:
- templates collection
-