[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[gef3d-commits] r458 - trunk/org.eclipse.gef3d.ext/src/java/org/eclipse/gef3d/ext/multieditor

Author: jvonpilgrim
Date: 2010-05-05 11:15:53 -0400 (Wed, 05 May 2010)
New Revision: 458

Modified:
   trunk/org.eclipse.gef3d.ext/src/java/org/eclipse/gef3d/ext/multieditor/MultiEditorModelContainerEditPart.java
Log:
javadoc

Modified: trunk/org.eclipse.gef3d.ext/src/java/org/eclipse/gef3d/ext/multieditor/MultiEditorModelContainerEditPart.java
===================================================================
--- trunk/org.eclipse.gef3d.ext/src/java/org/eclipse/gef3d/ext/multieditor/MultiEditorModelContainerEditPart.java	2010-05-05 15:11:57 UTC (rev 457)
+++ trunk/org.eclipse.gef3d.ext/src/java/org/eclipse/gef3d/ext/multieditor/MultiEditorModelContainerEditPart.java	2010-05-05 15:15:53 UTC (rev 458)
@@ -22,8 +22,11 @@
 import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
 
 /**
- * MultiEditorModelContainerEditPart There should really be more documentation
- * here.
+ * Edit Part for multi container, that is the content of a multi editor. The
+ * root elements of all nested editors are children of this element, i.e., the
+ * children edit parts of this part are the content edit parts of the nested
+ * editors. This edit part uses a simple {@link StackLayout3D} for layouting
+ * the children planes.
  * 
  * @author Jens von Pilgrim
  * @version $Revision$
@@ -46,7 +49,6 @@
 	 */
 	@Override
 	protected IFigure createFigure() {
-
 		Figure fig = new MultiEditorModelContainerFigure();
 		fig.setLayoutManager(new StackLayout3D(500));
 
@@ -70,10 +72,8 @@
 	 * 
 	 * @see org.eclipse.gef.editparts.AbstractEditPart#getModelChildren()
 	 */
-	@SuppressWarnings("unchecked")
 	@Override
 	protected List getModelChildren() {
-
 		MultiEditorModelContainer base = (MultiEditorModelContainer) getModel();
 		return base.getModelContainers();
 	}