Bug 331290 Allowed subclassing of DefaultContextButtonPadData (JavaDoc)
diff --git a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/tb/DefaultContextButtonPadData.java b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/tb/DefaultContextButtonPadData.java
index 15bcfbc..97a845f 100644
--- a/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/tb/DefaultContextButtonPadData.java
+++ b/plugins/org.eclipse.graphiti/src/org/eclipse/graphiti/tb/DefaultContextButtonPadData.java
@@ -9,6 +9,7 @@
  *
  * Contributors:
  *    SAP AG - initial API, implementation and documentation
+ *    mwenz - Bug 331290 - Allowed subclassing (JavaDoc) 
  *
  * </copyright>
  *
@@ -25,8 +26,16 @@
  * A very simple implementation of {@link IContextButtonPadData} without any
  * real functionality.
  * 
+ * Users may subclass this class.
+ * <p>
+ * NOTE: By doing so it is also possible to alter the standard behavior of the
+ * editor (e.g. change the location of the standard context button pad). This
+ * might lead to inconsistent behavior in different editor implemented on top of
+ * Graphiti, which might be irritating to users. From a consistency point of
+ * view it is advisable in such cases to stick to the Graphiti standard, and to
+ * only change it in case you really need to.
+ * 
  * @noinstantiate This class is not intended to be instantiated by clients.
- * @noextend This class is not intended to be subclassed by clients.
  */
 public class DefaultContextButtonPadData implements IContextButtonPadData {
 
@@ -44,22 +53,27 @@
 		this.location = new RectangleImpl(0, 0, 0, 0);
 	}
 
+	@Override
 	public List<IContextButtonEntry> getGenericContextButtons() {
 		return this.genericContextButtons;
 	}
 
+	@Override
 	public List<IContextButtonEntry> getDomainSpecificContextButtons() {
 		return this.domainSpecificContextButtons;
 	}
 
+	@Override
 	public IContextButtonEntry getCollapseContextButton() {
 		return this.collapseContextButton;
 	}
 
+	@Override
 	public void setCollapseContextButton(IContextButtonEntry collapseContextButton) {
 		this.collapseContextButton = collapseContextButton;
 	}
 
+	@Override
 	public IRectangle getPadLocation() {
 		return this.location;
 	}