summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Drossel2008-06-16 08:16:55 (EDT)
committerCarsten Drossel2008-06-16 08:16:55 (EDT)
commit1649353caabd90adc5ef50a3a8a2798eecd9f988 (patch)
tree0c885ed1d08c04f5ff0654a864e35af85de10f63
parent34ae352fd7923de54816a1fc3a4f2634b4c64758 (diff)
downloadorg.eclipse.riena-1649353caabd90adc5ef50a3a8a2798eecd9f988.zip
org.eclipse.riena-1649353caabd90adc5ef50a3a8a2798eecd9f988.tar.gz
org.eclipse.riena-1649353caabd90adc5ef50a3a8a2798eecd9f988.tar.bz2
fixed copyright headers and comments to comply with Riena standards
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/ICursor.java23
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DefaultObservableTreeTableModel.java19
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DefaultTreeTableModel.java19
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DynamicLoadTreeTableModel.java41
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DynamicTreeTableNode.java48
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/ITreeTableModel.java54
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/ITreeTableNode.java34
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/IUserTreeTableElement.java30
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/IWritableTreeTableNode.java32
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IAccelerator.java19
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IAcceleratorConstants.java31
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IComboBoxEntryFactory.java19
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/AbstractBean.java44
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BeanUtilFailure.java19
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BeanUtils.java139
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BooleanBean.java40
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/DateBean.java19
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/DoubleBean.java41
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/GregorianCalendarBean.java45
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/IntegerBean.java37
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/ListBean.java19
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/Person.java20
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PersonManager.java19
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyAccessFailure.java35
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyFailure.java17
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyNotBindableFailure.java17
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyNotFoundFailure.java17
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyUnboundFailure.java17
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/StringBean.java21
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/StringManager.java18
-rw-r--r--org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/TestBean.java19
31 files changed, 525 insertions, 447 deletions
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/ICursor.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/ICursor.java
index ac708bf..9fd20f4 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/ICursor.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/ICursor.java
@@ -1,16 +1,17 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets;
/**
* The state of the mouse cursor.
- *
- * @author Carsten Drossel
*/
public interface ICursor {
@@ -42,8 +43,8 @@ public interface ICursor {
int CURSOR_HAND = 16;
/**
- * Background activity cursor. Indicates that some background activity
- * is going on but that the UI is still responsive.
+ * Background activity cursor. Indicates that some background activity is
+ * going on but that the UI is still responsive.
*/
int CURSOR_BACKGROUND_ACTIVITY = 32;
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DefaultObservableTreeTableModel.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DefaultObservableTreeTableModel.java
index ecb8a69..e422c98 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DefaultObservableTreeTableModel.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DefaultObservableTreeTableModel.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.treetable;
import org.eclipse.riena.ui.ridgets.tree.DefaultObservableTreeModel;
@@ -13,8 +16,6 @@ import org.eclipse.riena.ui.ridgets.tree.DefaultObservableTreeNode;
/**
* An extension of the DefaultTreeModel to be used as a data model for tree
* tables.
- *
- * @author Carsten Drossel
*/
public class DefaultObservableTreeTableModel extends DefaultObservableTreeModel implements IObservableTreeTableModel {
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DefaultTreeTableModel.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DefaultTreeTableModel.java
index ab303a7..7fb32dc 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DefaultTreeTableModel.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DefaultTreeTableModel.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.treetable;
import org.eclipse.riena.ui.ridgets.tree.DefaultTreeModel;
@@ -13,8 +16,6 @@ import org.eclipse.riena.ui.ridgets.tree.ITreeNode;
/**
* An extension of the DefaultTreeModel to be used as a data model for tree
* tables.
- *
- * @author Carsten Drossel
*/
public class DefaultTreeTableModel extends DefaultTreeModel implements ITreeTableModel {
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DynamicLoadTreeTableModel.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DynamicLoadTreeTableModel.java
index ce71ad3..2772652 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DynamicLoadTreeTableModel.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DynamicLoadTreeTableModel.java
@@ -1,18 +1,19 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.treetable;
import org.eclipse.riena.ui.ridgets.tree.DynamicLoadTreeModel;
/**
* Model of a dynamic tree table.
- *
- * @author Carsten Drossel
*/
public class DynamicLoadTreeTableModel extends DynamicLoadTreeModel implements ITreeTableModel {
@@ -20,13 +21,14 @@ public class DynamicLoadTreeTableModel extends DynamicLoadTreeModel implements I
/**
* Constructor.
- *
- * @param root The root of the tree.
+ *
+ * @param root
+ * The root of the tree.
* @param columnNames
*/
- public DynamicLoadTreeTableModel( DynamicTreeTableNode root, String[] columnNames ) {
- super( root );
- treeTabelModelDelegate = new DefaultTreeTableModel( root, columnNames );
+ public DynamicLoadTreeTableModel(DynamicTreeTableNode root, String[] columnNames) {
+ super(root);
+ treeTabelModelDelegate = new DefaultTreeTableModel(root, columnNames);
}
/**
@@ -39,8 +41,8 @@ public class DynamicLoadTreeTableModel extends DynamicLoadTreeModel implements I
/**
* @see de.compeople.spirit.core.client.uibinding.adapter.treetable.ITreeTableModel#getColumnName(int)
*/
- public String getColumnName( int column ) {
- return treeTabelModelDelegate.getColumnName( column );
+ public String getColumnName(int column) {
+ return treeTabelModelDelegate.getColumnName(column);
}
/**
@@ -51,10 +53,11 @@ public class DynamicLoadTreeTableModel extends DynamicLoadTreeModel implements I
}
/**
- * @see de.compeople.spirit.core.client.uibinding.adapter.treetable.ITreeTableModel#getValueAt(de.compeople.spirit.core.client.uibinding.adapter.treetable.ITreeTableNode, int)
+ * @see de.compeople.spirit.core.client.uibinding.adapter.treetable.ITreeTableModel#getValueAt(de.compeople.spirit.core.client.uibinding.adapter.treetable.ITreeTableNode,
+ * int)
*/
- public Object getValueAt( ITreeTableNode node, int column ) {
- return treeTabelModelDelegate.getValueAt( node, column );
+ public Object getValueAt(ITreeTableNode node, int column) {
+ return treeTabelModelDelegate.getValueAt(node, column);
}
}
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DynamicTreeTableNode.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DynamicTreeTableNode.java
index de1130e..aeb5c89 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DynamicTreeTableNode.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/DynamicTreeTableNode.java
@@ -1,51 +1,55 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.treetable;
import org.eclipse.riena.ui.ridgets.tree.DynamicTreeNode;
/**
* A node of a tree table that is dynamic.
- *
- * @author Carsten Drossel
*/
public class DynamicTreeTableNode extends DynamicTreeNode implements ITreeTableNode {
/**
- * Constructor. Creates a tree node with the given parent and initializes it with
- * the specified user element.
- *
- * @param parent The parent of the tree element.
- * @param userElement An element that constitutes the data of the tree element.
+ * Constructor. Creates a tree node with the given parent and initializes it
+ * with the specified user element.
+ *
+ * @param parent
+ * The parent of the tree element.
+ * @param userElement
+ * An element that constitutes the data of the tree element.
*/
- public DynamicTreeTableNode( DynamicTreeTableNode parent, IUserTreeTableElement userElement ) {
- super( parent, userElement );
+ public DynamicTreeTableNode(DynamicTreeTableNode parent, IUserTreeTableElement userElement) {
+ super(parent, userElement);
}
/**
* @see de.compeople.spirit.core.client.uibinding.adapter.treetable.ITreeTableNode#getValueAt(int)
*/
- public Object getValueAt( int column ) {
+ public Object getValueAt(int column) {
- if ( getUserObject() == null ) {
+ if (getUserObject() == null) {
return null;
} // end if
IUserTreeTableElement userElement = (IUserTreeTableElement) getUserObject();
- return userElement.getValueAt( column );
+ return userElement.getValueAt(column);
}
/**
- * @see de.compeople.spirit.ui.swing.uicomponents.tree.DynamicTreeNode#createChildNode(de.compeople.spirit.ui.swing.uicomponents.tree.IUserTreeElement[], int)
+ * @see de.compeople.spirit.ui.swing.uicomponents.tree.DynamicTreeNode#createChildNode(de.compeople.spirit.ui.swing.uicomponents.tree.IUserTreeElement[],
+ * int)
*/
@Override
protected DynamicTreeNode createChildNode() {
- return new DynamicTreeTableNode( this, null );
+ return new DynamicTreeTableNode(this, null);
}
/**
@@ -58,7 +62,7 @@ public class DynamicTreeTableNode extends DynamicTreeNode implements ITreeTableN
private class PlaceholderUserTreeTableElement extends PlaceholderUserTreeElement implements IUserTreeTableElement {
- public Object getValueAt( int column ) {
+ public Object getValueAt(int column) {
return null;
}
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/ITreeTableModel.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/ITreeTableModel.java
index 4c685c2..d773dd6 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/ITreeTableModel.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/ITreeTableModel.java
@@ -1,54 +1,58 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
-
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.treetable;
import org.eclipse.riena.ui.ridgets.tree.ITreeModel;
/**
- * The data model for a tree table. A tree table is a tree with additional values
- * per node that is displayed as a table with a tree column.
- *
- * @author Carsten Drossel
+ * The data model for a tree table. A tree table is a tree with additional
+ * values per node that is displayed as a table with a tree column.
*/
public interface ITreeTableModel extends ITreeModel {
/**
* Returns the number of columns including the tree column.
- *
+ *
* @return The number of columns including the tree column.
*/
int getColumnCount();
/**
* Returns the index of the tree column.
- *
+ *
* @return The index of the tree column.
*/
int getTreeColumnIndex();
/**
- * Returns the name of the specified column that will be used in the table header.
- *
- * @param column The column index.
+ * Returns the name of the specified column that will be used in the table
+ * header.
+ *
+ * @param column
+ * The column index.
* @return The name of the column.
*/
- String getColumnName( int column );
+ String getColumnName(int column);
/**
- * Returns the value of a table cell. The row index is specified by a tree node. The
- * actual index will vary depending on the expansion state of the tree. The value of
- * the tree column is node itself.
- *
- * @param node The node representing the table row.
- * @param column The column index.
+ * Returns the value of a table cell. The row index is specified by a tree
+ * node. The actual index will vary depending on the expansion state of the
+ * tree. The value of the tree column is node itself.
+ *
+ * @param node
+ * The node representing the table row.
+ * @param column
+ * The column index.
* @return The value of a table cell.
*/
- Object getValueAt( ITreeTableNode node, int column );
+ Object getValueAt(ITreeTableNode node, int column);
}
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/ITreeTableNode.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/ITreeTableNode.java
index 83447dc..cc80d7c 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/ITreeTableNode.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/ITreeTableNode.java
@@ -1,29 +1,31 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.treetable;
import org.eclipse.riena.ui.ridgets.tree.ITreeNode;
/**
- * A node in a tree table. A tree table is a tree with additional values per node
- * that is displayed as a table with a tree column.
- *
- * @author Carsten Drossel
+ * A node in a tree table. A tree table is a tree with additional values per
+ * node that is displayed as a table with a tree column.
*/
public interface ITreeTableNode extends ITreeNode {
/**
- * Returns the values of all columns except the tree column. The value of the
- * tree column is the node itself.
- *
- * @param column The column index.
+ * Returns the values of all columns except the tree column. The value of
+ * the tree column is the node itself.
+ *
+ * @param column
+ * The column index.
* @return The nodes value for the specified column
*/
- Object getValueAt( int column );
+ Object getValueAt(int column);
}
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/IUserTreeTableElement.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/IUserTreeTableElement.java
index 49dd8bf..0eb5ea0 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/IUserTreeTableElement.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/IUserTreeTableElement.java
@@ -1,28 +1,30 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.treetable;
import org.eclipse.riena.ui.ridgets.tree.IUserTreeElement;
/**
* Element used inside a dynamic tree table.
- *
- * @author Carsten Drossel
*/
public interface IUserTreeTableElement extends IUserTreeElement {
/**
- * Returns the values of all columns except the tree column. The value of the
- * tree column is the node itself.
- *
- * @param column The column index.
+ * Returns the values of all columns except the tree column. The value of
+ * the tree column is the node itself.
+ *
+ * @param column
+ * The column index.
* @return The value for the specified column
*/
- Object getValueAt( int column );
+ Object getValueAt(int column);
}
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/IWritableTreeTableNode.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/IWritableTreeTableNode.java
index bad7424..0dfdd26 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/IWritableTreeTableNode.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/treetable/IWritableTreeTableNode.java
@@ -1,33 +1,37 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.treetable;
/**
* A node in a tree table that allows its column values to be modified.
- *
- * @author Carsten Drossel
*/
public interface IWritableTreeTableNode extends ITreeTableNode {
/**
* Indicates whether the nodes value for the specified column is editable.
*
- * @param column The column index.
+ * @param column
+ * The column index.
* @return true if the specified cell is editable, false otherwise.
*/
- boolean isColumnEditable( int column );
+ boolean isColumnEditable(int column);
/**
* Sets the nodes value for the specified column.
*
- * @param value The new value for the specified column.
- * @param column The column index.
+ * @param value
+ * The new value for the specified column.
+ * @param column
+ * The column index.
*/
- void setValueAt( Object value, int column );
+ void setValueAt(Object value, int column);
}
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IAccelerator.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IAccelerator.java
index f1d1165..8d77688 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IAccelerator.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IAccelerator.java
@@ -1,16 +1,17 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util;
/**
* Interface for accelerators.
- *
- * @author Frank Schepp
*/
public interface IAccelerator {
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IAcceleratorConstants.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IAcceleratorConstants.java
index 8ec313d..b249b08 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IAcceleratorConstants.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IAcceleratorConstants.java
@@ -1,26 +1,24 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util;
/**
* Define key constants for accelerators.
- *
- * @author Frank Schepp
*/
public interface IAcceleratorConstants {
/*
- * Key constants to define accelerators using keys other than 0-9, A-Z
- * and a-z. When adding new constants, avoid:
- * 0x00 = char default value
- * 0x30-0x39 = '0'-'9'
- * 0x41-0x5A = 'A'-'Z'
- * 0x61-0x7A = 'a'-'z'
+ * Key constants to define accelerators using keys other than 0-9, A-Z and
+ * a-z. When adding new constants, avoid: 0x00 = char default value
+ * 0x30-0x39 = '0'-'9' 0x41-0x5A = 'A'-'Z' 0x61-0x7A = 'a'-'z'
*/
/** Key PageUp */
char KEY_PAGE_UP = (char) 0x01;
@@ -83,7 +81,8 @@ public interface IAcceleratorConstants {
*/
int SHIFT_MASK = 1 << 0;
/**
- * This flag indicates that the Control key was down when the event occurred.
+ * This flag indicates that the Control key was down when the event
+ * occurred.
*/
int CTRL_MASK = 1 << 1;
/**
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IComboBoxEntryFactory.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IComboBoxEntryFactory.java
index 6271cec..c6ab529 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IComboBoxEntryFactory.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/IComboBoxEntryFactory.java
@@ -1,17 +1,18 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util;
/**
* Interface to be implemented by classes, which may be used by a
* <code>ListAdapter</code> to create list entries from a string.
- *
- * @author Erich Achilles
*/
public interface IComboBoxEntryFactory {
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/AbstractBean.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/AbstractBean.java
index 7db5336..aafdbe7 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/AbstractBean.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/AbstractBean.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
import java.beans.PropertyChangeEvent;
@@ -16,8 +19,6 @@ import java.util.Set;
/**
* base class for beans
- *
- * @author Juergen Becker
*/
public abstract class AbstractBean {
protected Set<PropertyChangeListener> propertyChangeListeners;
@@ -32,38 +33,39 @@ public abstract class AbstractBean {
/**
* @param listener
*/
- public void addPropertyChangeListener( PropertyChangeListener listener ) {
- propertyChangeListeners.add( listener );
+ public void addPropertyChangeListener(PropertyChangeListener listener) {
+ propertyChangeListeners.add(listener);
}
/**
* @param listener
*/
- public void removePropertyChangeListener( PropertyChangeListener listener ) {
- propertyChangeListeners.remove( listener );
+ public void removePropertyChangeListener(PropertyChangeListener listener) {
+ propertyChangeListeners.remove(listener);
}
protected void removeAllPropertyChangeListeners() {
propertyChangeListeners.clear();
}
- protected void firePropertyChanged( String aProperty, Object oldValue, Object newValue ) {
- firePropertyChanged( new PropertyChangeEvent( this, aProperty, oldValue, newValue ) );
+ protected void firePropertyChanged(String aProperty, Object oldValue, Object newValue) {
+ firePropertyChanged(new PropertyChangeEvent(this, aProperty, oldValue, newValue));
}
- protected void firePropertyChanged( PropertyChangeEvent event ) {
+ protected void firePropertyChanged(PropertyChangeEvent event) {
// prepare for comodification
- List<PropertyChangeListener> tmpListeners = new ArrayList<PropertyChangeListener>( propertyChangeListeners );
- for ( PropertyChangeListener listener : tmpListeners ) {
- listener.propertyChange( event );
+ List<PropertyChangeListener> tmpListeners = new ArrayList<PropertyChangeListener>(propertyChangeListeners);
+ for (PropertyChangeListener listener : tmpListeners) {
+ listener.propertyChange(event);
}
}
/**
- * @return Anwers <code>true</code> if a listener exists otherwise <code>false</code>
+ * @return Anwers <code>true</code> if a listener exists otherwise
+ * <code>false</code>
*/
protected boolean hasListener() {
- return ( propertyChangeListeners.size() > 0 );
+ return (propertyChangeListeners.size() > 0);
}
} \ No newline at end of file
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BeanUtilFailure.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BeanUtilFailure.java
index c0be4f8..00abe3f 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BeanUtilFailure.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BeanUtilFailure.java
@@ -1,18 +1,19 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
import org.eclipse.riena.core.util.UtilFailure;
/**
* Failure class for bean util specific failures.
- *
- * @author Stefan Liebig
*/
public class BeanUtilFailure extends UtilFailure {
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BeanUtils.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BeanUtils.java
index 69a1fa5..e9ebb63 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BeanUtils.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BeanUtils.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
import java.beans.BeanInfo;
@@ -93,7 +96,7 @@ public final class BeanUtils {
* </pre>
*
* @param clazz
- * the class to test
+ * the class to test
* @return true if the class supports bound properties, false otherwise
*/
public static boolean supportsBoundProperties(Class clazz) {
@@ -101,17 +104,17 @@ public final class BeanUtils {
}
/**
- * Looks up and returns a <code>PropertyDescriptor</code> for the given Java
- * Bean and property name using the standard Java Bean introspection
+ * Looks up and returns a <code>PropertyDescriptor</code> for the given
+ * Java Bean and property name using the standard Java Bean introspection
* behavior.
*
* @param bean
- * the bean that holds the property
+ * the bean that holds the property
* @param propertyName
- * the name of the Bean property
+ * the name of the Bean property
* @return the <code>PropertyDescriptor</code>
* @throws IntrospectionException
- * if an exception occurs during introspection.
+ * if an exception occurs during introspection.
*/
public static PropertyDescriptor getPropertyDescriptor(Object bean, String propertyName)
throws IntrospectionException {
@@ -152,7 +155,7 @@ public final class BeanUtils {
* Returns a String which capitalizes the first letter of the string.
*
* @param name
- * The string to capitalize.
+ * The string to capitalize.
* @return The capitalized string.
*/
public static String capitalize(String name) {
@@ -163,22 +166,22 @@ public final class BeanUtils {
}
/**
- * Looks up and returns a <code>PropertyDescriptor</code> for the given bean
- * and property name. If a getter name or setter name is available, these
- * are used to create a PropertyDescriptor. Otherwise, the standard Java
- * Bean introspection is used to determine the property descriptor.
+ * Looks up and returns a <code>PropertyDescriptor</code> for the given
+ * bean and property name. If a getter name or setter name is available,
+ * these are used to create a PropertyDescriptor. Otherwise, the standard
+ * Java Bean introspection is used to determine the property descriptor.
*
* @param bean
- * the bean that holds the property
+ * the bean that holds the property
* @param propertyName
- * the name of the property to be accessed
+ * the name of the property to be accessed
* @param getterName
- * the optional name of the property's getter
+ * the optional name of the property's getter
* @param setterName
- * the optional name of the property's setter
+ * the optional name of the property's setter
* @return the <code>PropertyDescriptor</code>
* @throws PropertyNotFoundFailure
- * if the property could not be found
+ * if the property could not be found
*/
public static PropertyDescriptor getPropertyDescriptor(Object bean, String propertyName, String getterName,
String setterName) {
@@ -210,7 +213,7 @@ public final class BeanUtils {
* PropertyChangeListener to instances of the given class.
*
* @param clazz
- * the class that provides the adder method
+ * the class that provides the adder method
* @return the method that adds multicast PropertyChangeListeners
*/
public static Method getPCLAdder(Class clazz) {
@@ -226,7 +229,7 @@ public final class BeanUtils {
* PropertyChangeListener from instances of the given class.
*
* @param clazz
- * the class that provides the remover method
+ * the class that provides the remover method
* @return the method that removes multicast PropertyChangeListeners
*/
public static Method getPCLRemover(Class clazz) {
@@ -242,7 +245,7 @@ public final class BeanUtils {
* specified property name to instances of the given class.
*
* @param clazz
- * the class that provides the adder method
+ * the class that provides the adder method
* @return the method that adds the PropertyChangeListeners
*/
public static Method getNamedPCLAdder(Class clazz) {
@@ -258,7 +261,7 @@ public final class BeanUtils {
* a specified property name from instances of the given class.
*
* @param clazz
- * the class that provides the remover method
+ * the class that provides the remover method
* @return the method that removes the PropertyChangeListeners
*/
public static Method getNamedPCLRemover(Class clazz) {
@@ -271,18 +274,18 @@ public final class BeanUtils {
/**
* Adds a property change listener to the given bean . First checks whether
- * the bean supports <em>bound properties</em>, i.e. it provides a pair of
- * methods to register multicast property change event listeners; see
+ * the bean supports <em>bound properties</em>, i.e. it provides a pair
+ * of methods to register multicast property change event listeners; see
* section 7.4.1 of the Java Beans specification for details.
*
* @param bean
- * the bean to add the property change listener from
+ * the bean to add the property change listener from
* @param listener
- * the listener to remove
+ * the listener to remove
* @throws NullPointerException
- * if the bean or listener is null
+ * if the bean or listener is null
* @throws PropertyNotBindableFailure
- * if the property change handler cannot be added successfully
+ * if the property change handler cannot be added successfully
*/
public static void addPropertyChangeListener(Object bean, PropertyChangeListener listener) {
if (listener == null) {
@@ -326,15 +329,15 @@ public final class BeanUtils {
* </pre>
*
* @param bean
- * the bean to add a property change handler
+ * the bean to add a property change handler
* @param propertyName
- * the name of the property to be observed
+ * the name of the property to be observed
* @param listener
- * the listener to add
+ * the listener to add
* @throws NullPointerException
- * if the bean, propertyName or listener is null
+ * if the bean, propertyName or listener is null
* @throws PropertyNotBindableFailure
- * if the property change handler cannot be added successfully
+ * if the property change handler cannot be added successfully
*/
public static void addPropertyChangeListener(Object bean, String propertyName, PropertyChangeListener listener) {
@@ -365,15 +368,15 @@ public final class BeanUtils {
* Removes a property change listener from the given bean.
*
* @param bean
- * the bean to remove the property change listener from
+ * the bean to remove the property change listener from
* @param listener
- * the listener to remove
+ * the listener to remove
* @throws NullPointerException
- * if the bean or listener is null
+ * if the bean or listener is null
* @throws PropertyUnboundFailure
- * if the bean does not support bound properties
+ * if the bean does not support bound properties
* @throws PropertyNotBindableFailure
- * if the property change handler cannot be removed successfully
+ * if the property change handler cannot be removed successfully
*/
public static void removePropertyChangeListener(Object bean, PropertyChangeListener listener) {
Class beanClass = bean.getClass();
@@ -407,15 +410,15 @@ public final class BeanUtils {
* </pre>
*
* @param bean
- * the bean to remove the property change listener from
+ * the bean to remove the property change listener from
* @param propertyName
- * the name of the observed property
+ * the name of the observed property
* @param listener
- * the listener to remove
+ * the listener to remove
* @throws NullPointerException
- * if the bean, propertyName or listener is null
+ * if the bean, propertyName or listener is null
* @throws PropertyNotBindableFailure
- * if the property change handler cannot be removed successfully
+ * if the property change handler cannot be removed successfully
*/
public static void removePropertyChangeListener(Object bean, String propertyName, PropertyChangeListener listener) {
@@ -447,12 +450,12 @@ public final class BeanUtils {
* Returns the value of the specified property of the given non-null bean.
*
* @param bean
- * the bean to read the value from
+ * the bean to read the value from
* @param propertyDescriptor
- * describes the property to be read
+ * describes the property to be read
* @return the bean's property value
* @throws NullPointerException
- * if the bean is null
+ * if the bean is null
*/
public static Object getValue(Object bean, PropertyDescriptor propertyDescriptor) {
if (bean == null) {
@@ -479,13 +482,13 @@ public final class BeanUtils {
* read-only.
*
* @param bean
- * the bean that holds the adapted property
+ * the bean that holds the adapted property
* @param propertyDescriptor
- * describes the property to be set
+ * describes the property to be set
* @param newValue
- * the property value to be set
+ * the property value to be set
* @throws NullPointerException
- * if the bean is null
+ * if the bean is null
*/
public static void setValue(Object bean, PropertyDescriptor propertyDescriptor, Object newValue) {
if (bean == null) {
@@ -515,9 +518,9 @@ public final class BeanUtils {
* calls the given method of the object
*
* @param bean
- * the bean that holds the adapted property
+ * the bean that holds the adapted property
* @param methodName
- * the method name to call
+ * the method name to call
*/
public static void callVoidMethod(Object bean, String methodName) {
try {
@@ -534,11 +537,11 @@ public final class BeanUtils {
* calls the given method of the object
*
* @param bean
- * the bean that holds the adapted property
+ * the bean that holds the adapted property
* @param methodName
- * the method name to call
+ * the method name to call
* @param param
- * the param to pass
+ * the param to pass
*/
public static void callSingleParamMethod(Object bean, String methodName, Object param) {
try {
@@ -556,14 +559,14 @@ public final class BeanUtils {
/**
* Calls the given method of the object
*
- * @param bean
- * - the bean that holds the adapted property
- * @param methodName
- * - the method name to call
- * @param paramClass
- * - the the class of the param
- * @param param
- * - the param to pass
+ * @param bean -
+ * the bean that holds the adapted property
+ * @param methodName -
+ * the method name to call
+ * @param paramClass -
+ * the the class of the param
+ * @param param -
+ * the param to pass
*/
public static void callSingleParamMethod(Object bean, String methodName, Class paramClass, Object param) {
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BooleanBean.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BooleanBean.java
index 09eb063..f7ffa3b 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BooleanBean.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/BooleanBean.java
@@ -1,16 +1,17 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
/**
* Boolean bean provides a boolean value for simple adapter UI-Binding
- *
- * @author Alexander Ziegler
*/
public class BooleanBean extends AbstractBean {
@@ -25,17 +26,21 @@ public class BooleanBean extends AbstractBean {
/**
* Creates a boolean bean with the given value;
- * @param value The value.
+ *
+ * @param value
+ * The value.
*/
- public BooleanBean( boolean value ) {
+ public BooleanBean(boolean value) {
this.value = value;
}
/**
* Creates a boolean bean with the given value;
- * @param value The value.
+ *
+ * @param value
+ * The value.
*/
- public BooleanBean( Boolean value ) {
+ public BooleanBean(Boolean value) {
this.value = value;
}
@@ -47,13 +52,14 @@ public class BooleanBean extends AbstractBean {
}
/**
- * @param value The value to set.
+ * @param value
+ * The value to set.
*/
- public void setValue( boolean value ) {
- if ( this.value != value ) {
+ public void setValue(boolean value) {
+ if (this.value != value) {
boolean old = this.value;
this.value = value;
- firePropertyChanged( "value", old, this.value );
+ firePropertyChanged("value", old, this.value);
}
}
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/DateBean.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/DateBean.java
index b7265a9..d419caf 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/DateBean.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/DateBean.java
@@ -1,18 +1,19 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
import java.util.Date;
/**
* DateBean provides a Date value for simple adapter UI-Binding
- *
- * @author Erich Achilles
*/
public class DateBean extends AbstractBean {
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/DoubleBean.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/DoubleBean.java
index 5a1addb..b78d697 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/DoubleBean.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/DoubleBean.java
@@ -1,16 +1,17 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
/**
* Double bean provides a boolean value for simple adapter UI-Binding.
- *
- * @author Alexander Ziegler
*/
public class DoubleBean extends AbstractBean {
@@ -18,6 +19,7 @@ public class DoubleBean extends AbstractBean {
/**
* Creates a double bean with a default 0.0
+ *
* @param value
*/
public DoubleBean() {
@@ -26,39 +28,42 @@ public class DoubleBean extends AbstractBean {
/**
* Creates a double bean with the given value
+ *
* @param value
*/
- public DoubleBean( Double value ) {
+ public DoubleBean(Double value) {
this.value = value;
}
/**
* Creates a double bean with the given value
+ *
* @param value
*/
- public DoubleBean( double value ) {
+ public DoubleBean(double value) {
this.value = value;
}
/**
* Sets the value of this bean
- *
- * @param value - value to set
+ *
+ * @param value -
+ * value to set
*/
- public void setValue( Double value ) {
- //System.out.println( "Double bean setValue: " + value.toString() );
+ public void setValue(Double value) {
+ // System.out.println( "Double bean setValue: " + value.toString() );
Object old = this.value;
this.value = value;
- firePropertyChanged( "value", old, this.value );
+ firePropertyChanged("value", old, this.value);
}
/**
* Returns the value of this bean
- *
+ *
* @return value
*/
public Double getValue() {
- //System.out.println( "Double bean getValue: " + value.toString() );
+ // System.out.println( "Double bean getValue: " + value.toString() );
return value;
}
}
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/GregorianCalendarBean.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/GregorianCalendarBean.java
index 18663bf..d9812ec 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/GregorianCalendarBean.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/GregorianCalendarBean.java
@@ -1,18 +1,20 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
import java.util.GregorianCalendar;
/**
- * GregorianCalendarBean provides a GregorianCalendar value for simple adapter UI-Binding
- *
- * @author Erich Achilles
+ * GregorianCalendarBean provides a GregorianCalendar value for simple adapter
+ * UI-Binding
*/
public class GregorianCalendarBean extends AbstractBean {
@@ -20,6 +22,7 @@ public class GregorianCalendarBean extends AbstractBean {
/**
* Creates a GregorianCalendar bean with a default null
+ *
* @param value
*/
public GregorianCalendarBean() {
@@ -28,36 +31,38 @@ public class GregorianCalendarBean extends AbstractBean {
/**
* Creates a GregorianCalendar bean with the given value
+ *
* @param value
*/
- public GregorianCalendarBean( GregorianCalendar value ) {
+ public GregorianCalendarBean(GregorianCalendar value) {
this.value = value;
}
/**
* Sets the value of this bean
- *
- * @param value - value to set
+ *
+ * @param value -
+ * value to set
*/
- public void setValue( GregorianCalendar value ) {
- if ( value != null ) {
- //System.out.println( "Greg bean setValue: " + value.toString() );
+ public void setValue(GregorianCalendar value) {
+ if (value != null) {
+ // System.out.println( "Greg bean setValue: " + value.toString() );
} else {
- //System.out.println( "Greg bean setValue: " + null );
+ // System.out.println( "Greg bean setValue: " + null );
}
Object old = this.value;
this.value = value;
- firePropertyChanged( "value", old, this.value );
+ firePropertyChanged("value", old, this.value);
}
/**
* Returns the value of this bean
- *
+ *
* @return value
*/
public GregorianCalendar getValue() {
- //System.out.println( "Greg bean getValue: " + value.toString() );
+ // System.out.println( "Greg bean getValue: " + value.toString() );
return value;
}
}
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/IntegerBean.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/IntegerBean.java
index 07faff2..364def7 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/IntegerBean.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/IntegerBean.java
@@ -1,16 +1,17 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
/**
* Integer bean provides a boolean value for simple adapter UI-Binding
- *
- * @author Alexander Ziegler
*/
public class IntegerBean extends AbstractBean {
@@ -18,6 +19,7 @@ public class IntegerBean extends AbstractBean {
/**
* Creates an integer bean with a default 0
+ *
* @param value
*/
public IntegerBean() {
@@ -26,35 +28,38 @@ public class IntegerBean extends AbstractBean {
/**
* Creates a integer bean with the given value
+ *
* @param value
*/
- public IntegerBean( Integer value ) {
+ public IntegerBean(Integer value) {
this.value = value;
}
/**
* Creates a integer bean with the given value
+ *
* @param value
*/
- public IntegerBean( int value ) {
+ public IntegerBean(int value) {
this.value = value;
}
/**
* Sets the value of this bean
- *
- * @param value - value to set
+ *
+ * @param value -
+ * value to set
*/
- public void setValue( Integer value ) {
+ public void setValue(Integer value) {
Object old = this.value;
this.value = value;
- firePropertyChanged( "value", old, this.value );
+ firePropertyChanged("value", old, this.value);
}
/**
* Returns the value of this bean
- *
+ *
* @return value
*/
public Integer getValue() {
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/ListBean.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/ListBean.java
index 3fd40fb..8882995 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/ListBean.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/ListBean.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2005 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
import java.util.ArrayList;
@@ -15,8 +18,6 @@ import org.eclipse.core.runtime.Assert;
/**
* List bean provides a list value for simple adapter UI-Binding
- *
- * @author Alexander Ziegler
*/
public class ListBean extends AbstractBean {
private List<?> values;
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/Person.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/Person.java
index b306258..a2b4b86 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/Person.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/Person.java
@@ -1,17 +1,17 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
-
/**
* List element of the list held by the <code>PersonManager</code>
- *
- * @author Frank Schepp
*/
public class Person extends AbstractBean {
/**
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PersonManager.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PersonManager.java
index 6c23b5d..9efa064 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PersonManager.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PersonManager.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
import java.beans.PropertyChangeListener;
@@ -15,7 +18,7 @@ import java.util.StringTokenizer;
import org.eclipse.riena.ui.ridgets.util.IComboBoxEntryFactory;
/**
- * @author Frank Schepp
+ *
*/
public class PersonManager implements IComboBoxEntryFactory {
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyAccessFailure.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyAccessFailure.java
index e40e400..b3c1f88 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyAccessFailure.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyAccessFailure.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
import java.beans.PropertyDescriptor;
@@ -44,7 +47,8 @@ public final class PropertyAccessFailure extends PropertyFailure {
* the Throwable that caused this exception
* @return an exception that describes a read access problem
*/
- public static PropertyAccessFailure createReadAccessException(Object bean, PropertyDescriptor propertyDescriptor, Throwable cause) {
+ public static PropertyAccessFailure createReadAccessException(Object bean, PropertyDescriptor propertyDescriptor,
+ Throwable cause) {
String beanType;
if (bean == null) {
@@ -52,8 +56,9 @@ public final class PropertyAccessFailure extends PropertyFailure {
} else {
beanType = bean.getClass().getName();
}
- String message = "Failed to read an adapted Java Bean property." + "\nbean =" + bean + "\nbean type=" + beanType + "\nproperty name ="
- + propertyDescriptor.getName() + "\nproperty type =" + propertyDescriptor.getPropertyType().getName() + "\nproperty reader="
+ String message = "Failed to read an adapted Java Bean property." + "\nbean =" + bean + "\nbean type="
+ + beanType + "\nproperty name =" + propertyDescriptor.getName() + "\nproperty type ="
+ + propertyDescriptor.getPropertyType().getName() + "\nproperty reader="
+ propertyDescriptor.getReadMethod();
return new PropertyAccessFailure(message, cause);
@@ -74,7 +79,8 @@ public final class PropertyAccessFailure extends PropertyFailure {
* the Throwable that caused this exception
* @return an exception that describes a write access problem
*/
- public static PropertyAccessFailure createWriteAccessException(Object bean, Object value, PropertyDescriptor propertyDescriptor, Throwable cause) {
+ public static PropertyAccessFailure createWriteAccessException(Object bean, Object value,
+ PropertyDescriptor propertyDescriptor, Throwable cause) {
String beanType;
if (bean == null) {
@@ -89,9 +95,10 @@ public final class PropertyAccessFailure extends PropertyFailure {
valueType = value.getClass().getName();
}
- String message = "Failed to set an adapted Java Bean property." + "\nbean =" + bean + "\nbean type =" + beanType + "\nvalue =" + value
- + "\nvalue type=" + valueType + "\nproperty name =" + propertyDescriptor.getName() + "\nproperty type ="
- + propertyDescriptor.getPropertyType().getName() + "\nproperty setter=" + propertyDescriptor.getWriteMethod();
+ String message = "Failed to set an adapted Java Bean property." + "\nbean =" + bean + "\nbean type ="
+ + beanType + "\nvalue =" + value + "\nvalue type=" + valueType + "\nproperty name ="
+ + propertyDescriptor.getName() + "\nproperty type =" + propertyDescriptor.getPropertyType().getName()
+ + "\nproperty setter=" + propertyDescriptor.getWriteMethod();
return new PropertyAccessFailure(message, cause);
}
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyFailure.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyFailure.java
index 7d209f0..e23d4ea 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyFailure.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyFailure.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
import org.eclipse.riena.core.exception.Failure;
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyNotBindableFailure.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyNotBindableFailure.java
index d079798..65af08a 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyNotBindableFailure.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyNotBindableFailure.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
/**
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyNotFoundFailure.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyNotFoundFailure.java
index d995c0f..096d799 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyNotFoundFailure.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyNotFoundFailure.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
/**
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyUnboundFailure.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyUnboundFailure.java
index 81b0fb2..f4e10b1 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyUnboundFailure.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/PropertyUnboundFailure.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
/**
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/StringBean.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/StringBean.java
index 674915a..f099fd4 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/StringBean.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/StringBean.java
@@ -1,16 +1,17 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2008 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
/**
* String bean provides a boolean value for simple adapter UI-Binding
- *
- * @author Alexander Ziegler
*/
public class StringBean extends AbstractBean {
@@ -43,7 +44,7 @@ public class StringBean extends AbstractBean {
* Sets the value of this bean
*
* @param value
- * to set
+ * to set
*/
public void setValue(String value) {
Object old = this.value;
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/StringManager.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/StringManager.java
index a3271f2..671c187 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/StringManager.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/StringManager.java
@@ -1,10 +1,13 @@
-/****************************************************************
- * *
- * Copyright (c) 2004 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
import java.util.Arrays;
@@ -12,7 +15,6 @@ import java.util.Collection;
/**
*
- * @author Frank Schepp
*/
public class StringManager {
diff --git a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/TestBean.java b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/TestBean.java
index af5eefb..ec7c590 100644
--- a/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/TestBean.java
+++ b/org.eclipse.riena.ui.ridgets/src/org/eclipse/riena/ui/ridgets/util/beans/TestBean.java
@@ -1,16 +1,17 @@
-/****************************************************************
- * *
- * Copyright (c) 2004-2008 compeople AG *
- * All rights reserved. The use of this program and the *
- * accompanying materials are subject to license terms. *
- * *
- ****************************************************************/
+/*******************************************************************************
+ * Copyright (c) 2007, 2008 compeople AG and others.
+ * 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:
+ * compeople AG - initial API and implementation
+ *******************************************************************************/
package org.eclipse.riena.ui.ridgets.util.beans;
/**
* A simple bean.
- *
- * @author Carsten Drossel
*/
public class TestBean {