|
Lines 1-5
Link Here
|
| 1 |
/******************************************************************************* |
1 |
/******************************************************************************* |
| 2 |
* Copyright (c) 2000, 2003 IBM Corporation and others. |
2 |
* Copyright (c) 2000, 2004 IBM Corporation and others. |
| 3 |
* All rights reserved. This program and the accompanying materials |
3 |
* All rights reserved. This program and the accompanying materials |
| 4 |
* are made available under the terms of the Common Public License v1.0 |
4 |
* are made available under the terms of the Common Public License v1.0 |
| 5 |
* which accompanies this distribution, and is available at |
5 |
* which accompanies this distribution, and is available at |
|
Lines 7-12
Link Here
|
| 7 |
* |
7 |
* |
| 8 |
* Contributors: |
8 |
* Contributors: |
| 9 |
* IBM Corporation - initial API and implementation |
9 |
* IBM Corporation - initial API and implementation |
|
|
10 |
* Gunnar Wagenknecht - fix for bug 21756 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=21756) |
| 10 |
*******************************************************************************/ |
11 |
*******************************************************************************/ |
| 11 |
package org.eclipse.ui.views.properties; |
12 |
package org.eclipse.ui.views.properties; |
| 12 |
|
13 |
|
|
Lines 99-111
Link Here
|
| 99 |
public Object getPropertyValue(Object id); |
100 |
public Object getPropertyValue(Object id); |
| 100 |
/** |
101 |
/** |
| 101 |
* Returns whether the value of the property with the given id has changed from |
102 |
* Returns whether the value of the property with the given id has changed from |
| 102 |
* its default value. Returns <code>false</code> if the notion of default value |
103 |
* its default value. Returns <code>false</code> if this source does not have |
| 103 |
* is not meaningful for the specified property, or if this source does not have |
|
|
| 104 |
* the specified property. |
104 |
* the specified property. |
|
|
105 |
* <p> |
| 106 |
* If the notion of default value is not meaningful for the specified property |
| 107 |
* than <code>true</code> is returned. |
| 108 |
* </p> |
| 105 |
* |
109 |
* |
| 106 |
* @param id the id of the property |
110 |
* @param id the id of the property |
| 107 |
* @return <code>true</code> if the value of the specified property has changed |
111 |
* @return <code>true</code> if the value of the specified property has changed |
| 108 |
* from its original default value, and <code>false</code> otherwise |
112 |
* from its original default value or if the specified property does not have |
|
|
113 |
* a meaningfull default value, and <code>false</code> otherwise |
| 109 |
*/ |
114 |
*/ |
| 110 |
public boolean isPropertySet(Object id); |
115 |
public boolean isPropertySet(Object id); |
| 111 |
/** |
116 |
/** |