blob: 40d07971a4d681e4087d6f39a1579b40d86c14d1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2007 Sybase, Inc. and others.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Sybase, Inc. - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.pagedesigner.editpolicies;
/**
* @author mengbo
* @version 1.5
*/
public interface ITableEditAdapter {
/**
* @return the column count
*/
public int getColumnCount();
/**
* @return the row count
*/
public int getRowCount();
/**
* @param atPosition
*/
public void insertColumn(int atPosition);
/**
* @param rowPosition
*/
public void insertRow(int rowPosition);
/**
* @param columnIndex
* @return the starting point for resize
*/
public int getColumnResizeStart(int columnIndex);
/**
* @return the resize width
*/
public int getColumnResizeWidth();
/**
* @param columnIndex
* @return column start
*/
public int getColumnStart(int columnIndex);
/**
* @param columnIndex
* @return the column width
*/
public int getColumnWidth(int columnIndex);
/**
* @param rowIndex
* @return the row start
*/
public int getRowStart(int rowIndex);
/**
* @param rowIndex
* @return the row height
*/
public int getRowHeight(int rowIndex);
/**
* @param rowIndex
* @return starting point of the row resize
*/
public int getRowResizeStart(int rowIndex);
/**
* @return the row resize width
*/
public int getRowResizeWidth();
}