Skip to main content

This CGIT instance is deprecated, and repositories have been moved to Gitlab or Github. See the repository descriptions for specific locations.

summaryrefslogtreecommitdiffstats
blob: 54acd8cf6e308b38987cc7b01183f5a2a49fa96f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*******************************************************************************
 * Copyright (c) 2001, 2004 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.wst.xsd.ui.internal.properties.section;

import org.eclipse.wst.common.ui.properties.internal.provisional.ISectionDescriptor;
import org.eclipse.wst.common.ui.properties.internal.provisional.ISectionDescriptorProvider;


public class XSDSectionDescriptorProvider implements ISectionDescriptorProvider
{
  /**
   * 
   */
  public XSDSectionDescriptorProvider()
  {
    super();
  }

  /* (non-Javadoc)
   * @see org.eclipse.wst.common.ui.properties.internal.provisional.ISectionDescriptorProvider#getSectionDescriptors()
   */
  public ISectionDescriptor[] getSectionDescriptors()
  {
    ISectionDescriptor[] descriptors = new ISectionDescriptor[18];
    descriptors[0] = new NameSectionDescriptor();
    descriptors[1] = new TypesSectionDescriptor();
    descriptors[2] = new OtherAttributesSectionDescriptor();
    descriptors[3] = new AttributesViewSectionDescriptor();
    descriptors[4] = new ModelGroupSectionDescriptor();
    descriptors[5] = new NamespaceProcessContentsSectionDescriptor();
    descriptors[6] = new ReferenceSectionDescriptor();
    descriptors[7] = new ComplexTypeSectionDescriptor();
    descriptors[8] = new ValueSectionDescriptor();
    descriptors[9] = new PatternSectionDescriptor();
    descriptors[10] = new AnnotationSectionDescriptor();
    descriptors[11] = new SimpleTypeSectionDescriptor();
    descriptors[12] = new FacetsSectionDescriptor();
    descriptors[13] = new EnumerationsSectionDescriptor();
    descriptors[14] = new NamespaceSectionDescriptor();
    descriptors[15] = new SchemaLocationDescriptor();
    descriptors[16] = new NamespaceAndSchemaLocationDescriptor();
    descriptors[17] = new MinMaxSectionDescriptor();
    
//  descriptors[18] = new SimpleTypeUnionSectionDescriptor();
//  descriptors[19] = new FixedDefaultSectionDescriptor();    
    return descriptors;
  }

}

Back to the top