summaryrefslogtreecommitdiff
path: root/propertysheet/src/org/eclipse/wb/internal/core/model/property/PropertyManager.java
blob: 7152999b0b94d4b5b731d5918198e02f7c4c95f8 (plain)
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
/*******************************************************************************
 * Copyright (c) 2011 Google, Inc.
 * 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:
 *    Google, Inc. - initial API and implementation
 *******************************************************************************/
package org.eclipse.wb.internal.core.model.property;

import org.eclipse.wb.internal.core.model.property.category.PropertyCategory;


/**
 * {@link PropertyManager} is used to get/set attributes of {@link Property}.
 *
 * @author scheglov_ke
 * @coverage core.model.property
 */
public final class PropertyManager {
  public static PropertyCategory getCategory(Property property) {
    // Note: In WindowBuilder there was a bunch of support for loading custom
    // categories here based on toolkits; in ADT we'll need to do it differently
    // so this code was all stripped out.
    return property.getCategory();
  }

  /**
   * @return the forced {@link PropertyCategory} of given Property, may be <code>null</code>.
   */
  public static PropertyCategory getCategoryForced(Property property) {
    return null;
  }
}