1/*******************************************************************************
2 * Copyright (c) 2011 Google, Inc.
3 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
7 *
8 * Contributors:
9 *    Google, Inc. - initial API and implementation
10 *******************************************************************************/
11package org.eclipse.wb.internal.core.model.property;
12
13import org.eclipse.wb.internal.core.model.property.category.PropertyCategory;
14
15
16/**
17 * {@link PropertyManager} is used to get/set attributes of {@link Property}.
18 *
19 * @author scheglov_ke
20 * @coverage core.model.property
21 */
22public final class PropertyManager {
23  public static PropertyCategory getCategory(Property property) {
24    // Note: In WindowBuilder there was a bunch of support for loading custom
25    // categories here based on toolkits; in ADT we'll need to do it differently
26    // so this code was all stripped out.
27    return property.getCategory();
28  }
29
30  /**
31   * @return the forced {@link PropertyCategory} of given Property, may be <code>null</code>.
32   */
33  public static PropertyCategory getCategoryForced(Property property) {
34    return null;
35  }
36}
37