lttng: Move plugins to the Trace Compass namespace
[deliverable/tracecompass.git] / org.eclipse.tracecompass.lttng2.control.ui / src / org / eclipse / linuxtools / internal / lttng2 / control / ui / views / property / BasePropertySource.java
1 /**********************************************************************
2 * Copyright (c) 2012, 2013 Ericsson
3 *
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
8 *
9 * Contributors:
10 * Bernd Hufmann - Initial API and implementation
11 **********************************************************************/
12 package org.eclipse.linuxtools.internal.lttng2.control.ui.views.property;
13
14 import org.eclipse.ui.views.properties.IPropertyDescriptor;
15 import org.eclipse.ui.views.properties.IPropertySource;
16
17 /**
18 * <p>
19 * Base property source implementation.
20 * </p>
21 *
22 * @author Bernd Hufmann
23 */
24 public abstract class BasePropertySource implements IPropertySource {
25
26 // ------------------------------------------------------------------------
27 // Operations
28 // ------------------------------------------------------------------------
29
30 @Override
31 public Object getEditableValue() {
32 return null;
33 }
34
35 @Override
36 public abstract IPropertyDescriptor[] getPropertyDescriptors();
37
38 @Override
39 public abstract Object getPropertyValue(Object id);
40
41 @Override
42 public boolean isPropertySet(Object id) {
43 return false;
44 }
45
46 @Override
47 public void resetPropertyValue(Object id) {
48 }
49
50 @Override
51 public void setPropertyValue(Object id, Object value) {
52 }
53 }
This page took 0.043898 seconds and 5 git commands to generate.