org.eclipse.emf.ecp.edit.internal.swt.table
Class TableControlConfiguration

java.lang.Object
  extended by org.eclipse.emf.ecp.edit.internal.swt.table.TableControlConfiguration

public class TableControlConfiguration
extends Object

Description for table configurations.

Author:
Eugen Neufeld

Constructor Summary
TableControlConfiguration()
           
 
Method Summary
 List<TableColumnConfiguration> getColumns()
          The list of column configurations to use for showing columns in the table.
 boolean isAddRemoveDisabled()
          Whether the add and remove buttons should be active.
 void setAddRemoveDisabled(boolean addRemoveDisabled)
          Sets whether the add and remove buttons should be active.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableControlConfiguration

public TableControlConfiguration()
Method Detail

getColumns

public List<TableColumnConfiguration> getColumns()
The list of column configurations to use for showing columns in the table.

Returns:
the List of TableColumnConfiguration

isAddRemoveDisabled

public boolean isAddRemoveDisabled()
Whether the add and remove buttons should be active.

Returns:
true if the buttons should be disabled, false other wise

setAddRemoveDisabled

public void setAddRemoveDisabled(boolean addRemoveDisabled)
Sets whether the add and remove buttons should be active.

Parameters:
addRemoveDisabled - true if the buttons should be disabled, false otherwise


Copyright © 2014. All Rights Reserved.