Subversion Repositories DevTools

Rev

Rev 2106 | Rev 2116 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2106 Rev 2108
Line 47... Line 47...
47
 
47
 
48
 
48
 
49
      // Element Types list
49
      // Element Types list
50
      public static ArrayList opt_ElementTypes = null;
50
      public static ArrayList opt_ElementTypes = null;
51
 
51
 
-
 
52
 
52
      public static void initialise()
53
      public static void initialise()
53
      {
54
      {
-
 
55
         if (opt_ElementTypes == null)
54
         opt_ElementTypes = new ArrayList();
56
            opt_ElementTypes = new ArrayList();
-
 
57
         opt_ElementTypes.Clear();
55
         setDefaults();
58
         setDefaults();
56
      }
59
      }
57
 
60
 
58
      private static void setDefaults()
61
      private static void setDefaults()
59
      {
62
      {
Line 78... Line 81...
78
      /// <param name="parentPackage"></param>
81
      /// <param name="parentPackage"></param>
79
      /// <returns></returns>
82
      /// <returns></returns>
80
      public static bool lookForAndProcess_EA_DocGen_Element( EA.Package parentPackage )
83
      public static bool lookForAndProcess_EA_DocGen_Element( EA.Package parentPackage )
81
      {
84
      {
82
         options_found  = false;
85
         options_found  = false;
83
         setDefaults();
-
 
84
 
86
 
85
         // Look for an EA_DocGen element in this package
87
         // Look for an EA_DocGen element in this package
86
         foreach(EA.Element theElement in parentPackage.Elements)
88
         foreach(EA.Element theElement in parentPackage.Elements)
87
         {
89
         {
88
            options_found = lookForAndProcess_EA_DocGen_Element(theElement);
90
            options_found = lookForAndProcess_EA_DocGen_Element(theElement);
Line 92... Line 94...
92
         return options_found;
94
         return options_found;
93
      }
95
      }
94
 
96
 
95
      public static bool lookForAndProcess_EA_DocGen_Element( EA.Element theElement )
97
      public static bool lookForAndProcess_EA_DocGen_Element( EA.Element theElement )
96
      {
98
      {
-
 
99
         initialise();
-
 
100
 
97
         options_string = null;
101
         options_string = null;
98
         options_found  = false;
102
         options_found  = false;
99
         setDefaults();
-
 
100
 
103
 
101
         // Special handling for the EA_DocGen element designed to control this document
104
         // Special handling for the EA_DocGen element designed to control this document
102
         // generator
105
         // generator
103
         if (0 == theElement.Name.CompareTo(EA_Constants.EA_DocGenBaseName))
106
         if (0 == theElement.Name.CompareTo(EA_Constants.EA_DocGenBaseName))
104
         {
107
         {