Package com._1c.g5.v8.dt.pw.ui.builders
Class PrintWizardParser
- java.lang.Object
-
- com._1c.g5.v8.dt.pw.ui.builders.PrintWizardParser
-
public class PrintWizardParser extends Object
Parse object manager module and commands modules
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPrintWizardParser.FieldField selected in templatestatic classPrintWizardParser.ParseResultParse result, got from parserstatic classPrintWizardParser.TablesSelectFieldsFields selected in template
-
Field Summary
Fields Modifier and Type Field Description static StringFOOTER_NAMEstatic StringFOOTER_NAME_RUstatic StringHEADER_NAMEstatic StringHEADER_NAME_RUstatic StringPRINT_WIZARD_ENDstatic StringPRINT_WIZARD_STARTstatic StringPRINT_WIZARD_START_RU
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancompareQueries(String defaultQuery, QuerySchema defaultQuerySchema, String query, QuerySchema querySchema, org.eclipse.core.resources.IProject poject)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 Detail
-
HEADER_NAME
public static final String HEADER_NAME
- See Also:
- Constant Field Values
-
HEADER_NAME_RU
public static final String HEADER_NAME_RU
- See Also:
- Constant Field Values
-
FOOTER_NAME
public static final String FOOTER_NAME
- See Also:
- Constant Field Values
-
FOOTER_NAME_RU
public static final String FOOTER_NAME_RU
- See Also:
- Constant Field Values
-
PRINT_WIZARD_END
public static final String PRINT_WIZARD_END
- See Also:
- Constant Field Values
-
PRINT_WIZARD_START_RU
public static final String PRINT_WIZARD_START_RU
- See Also:
- Constant Field Values
-
PRINT_WIZARD_START
public static final String PRINT_WIZARD_START
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
public static List<PrintWizardParser.ParseResult> parse(org.eclipse.emf.ecore.EObject object)
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)
Compare queries for print wizard- Parameters:
defaultQuery- - default print wizard querydefaultQuerySchema- - default QuerySchemaquery- - query for comparequerySchema- - QuerySchemapoject- - project- Returns:
- true if queries equals for print wizard
-
getAllTemplates
public static List<?> getAllTemplates(org.eclipse.emf.ecore.EObject parent)
Get all templates from object- Parameters:
parent- - parent object- Returns:
- templates collection
-
-