Class EditorVSRows

All Implemented Interfaces:
IPropDesigner, EventListener, IGProp<GProp<?>[]>, IPropCnr, Cloneable, org.eclipse.core.runtime.IAdaptable

public class EditorVSRows extends VSRows implements IPropDesigner
The rows property class that only allows VSRow children properties.
Author:
Christopher Mindus
  • Constructor Details

    • EditorVSRows

      public EditorVSRows()
      Creates a VirtualSpace Rows property with the specified name with a null value.
    • EditorVSRows

      public EditorVSRows(Atom propertyAtom)
      Creates an VirtualSpace Rows property with the specified name with a null value.
      Parameters:
      propertyAtom - The property atom.
  • Method Details

    • createRow

      public EditorVSRow createRow()
      Creates a row with a unique name.
      Overrides:
      createRow in class VSRows
      Returns:
      A new row with a unique name, not yet added to this row container.
    • getRows

      public EditorVSRow[] getRows()
      Gets the rows in this rows container.
      Overrides:
      getRows in class VSRows
    • getTable

      public EditorVSTable getTable()
      Gets the table of the row.
      Overrides:
      getTable in class VSRows
      Returns:
      The VirtualSpace Table instance, or null if row is not added to a table.
    • getRow

      public EditorVSRow getRow(int rowIndex)
      Gets the row at specified index.
      Overrides:
      getRow in class VSRows
      Parameters:
      rowIndex - The row index.
      Returns:
      The row, or null if row is not found.
    • getDesigner

      public VirtualSpaceDesignerProp getDesigner()
      Gets the Designer Extension for Properties.
      Specified by:
      getDesigner in interface IPropDesigner
      Returns:
      The instance of the Designer Extension.
    • clone

      public EditorVSRows clone()
      Clones the property.
      Overrides:
      clone in class VSRows
      Returns:
      A new cloned property.
    • verify

      public boolean verify(PropVerification verification)
      Verifies this property container for row selections in table.
      Specified by:
      verify in interface IGProp<GProp<?>[]>
      Overrides:
      verify in class PropCnr
      Parameters:
      verification - The property verification class.
      Returns:
      true if verification should proceed, false if disposed of and verification should not take place.