summaryrefslogtreecommitdiff
path: root/propertysheet/src/org/eclipse/wb/internal/core/model/property/PropertyManager.java
diff options
context:
space:
mode:
Diffstat (limited to 'propertysheet/src/org/eclipse/wb/internal/core/model/property/PropertyManager.java')
-rw-r--r--propertysheet/src/org/eclipse/wb/internal/core/model/property/PropertyManager.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/propertysheet/src/org/eclipse/wb/internal/core/model/property/PropertyManager.java b/propertysheet/src/org/eclipse/wb/internal/core/model/property/PropertyManager.java
new file mode 100644
index 0000000..7152999
--- /dev/null
+++ b/propertysheet/src/org/eclipse/wb/internal/core/model/property/PropertyManager.java
@@ -0,0 +1,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;
+ }
+}