Commit | Line | Data |
---|---|---|
06b9339e | 1 | /********************************************************************** |
11252342 AM |
2 | * Copyright (c) 2012, 2013 Ericsson |
3 | * | |
06b9339e BH |
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 | |
11252342 AM |
8 | * |
9 | * Contributors: | |
06b9339e BH |
10 | * Bernd Hufmann - Initial API and implementation |
11 | **********************************************************************/ | |
115b4a01 | 12 | package org.eclipse.linuxtools.internal.lttng2.ui.views.control.property; |
06b9339e BH |
13 | |
14 | import org.eclipse.ui.views.properties.IPropertyDescriptor; | |
15 | import org.eclipse.ui.views.properties.IPropertySource; | |
16 | ||
17 | /** | |
06b9339e BH |
18 | * <p> |
19 | * Base property source implementation. | |
20 | * </p> | |
11252342 | 21 | * |
dbd4432d | 22 | * @author Bernd Hufmann |
06b9339e | 23 | */ |
77735e82 | 24 | public abstract class BasePropertySource implements IPropertySource { |
06b9339e BH |
25 | |
26 | // ------------------------------------------------------------------------ | |
27 | // Operations | |
28 | // ------------------------------------------------------------------------ | |
11252342 | 29 | |
06b9339e BH |
30 | @Override |
31 | public Object getEditableValue() { | |
32 | return null; | |
33 | } | |
34 | ||
06b9339e | 35 | @Override |
77735e82 | 36 | public abstract IPropertyDescriptor[] getPropertyDescriptors(); |
06b9339e | 37 | |
06b9339e | 38 | @Override |
77735e82 | 39 | public abstract Object getPropertyValue(Object id); |
06b9339e | 40 | |
06b9339e BH |
41 | @Override |
42 | public boolean isPropertySet(Object id) { | |
43 | return false; | |
44 | } | |
45 | ||
06b9339e BH |
46 | @Override |
47 | public void resetPropertyValue(Object id) { | |
48 | } | |
49 | ||
06b9339e BH |
50 | @Override |
51 | public void setPropertyValue(Object id, Object value) { | |
52 | } | |
53 | } |