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 class
Field selected in templatestatic class
Parse result, got from parserstatic class
Fields selected in template -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
compareQueries
(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.EReference
findFeature
(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 benull
defaultQuerySchema
- - default QuerySchema, cannot benull
query
- - query for compare, cannot benull
querySchema
- - QuerySchema, cannot benull
project
- - project, cannot benull
v8ProjectManager
- - v8 Project Manager, cannot benull
bmModelManager
-IBmModelManager
service reference, cannot benull
- Returns:
- true if queries equals for print wizard
-
getAllTemplates
Get all templates from object- Parameters:
parent
- - parent object- Returns:
- templates collection
-