/******************************************************************************* * Copyright (c) 2012, 2013 Association for Decentralized Information Management in * Industry THTH ry. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * VTT Technical Research Centre of Finland - initial API and implementation *******************************************************************************/ package org.simantics.g3d.property; /** * Interfaces for manipulating properties. * * @author Marko Luukkainen * */ public interface PropertyManipulator { /** * Returns number of individual values. * @return */ int getValueCount(); /** * Returns value at given index. * @param i * @return */ String getValue(int i); /** * Sets value at given index. * @param i * @return */ String setValue(String value, int i); /** * Returns description of a value at given index. The description is shown in the table header. * @param i * @return */ String getDescription(int i); /** * Gets edit mode status. * @return */ boolean getEditMode(); /** * Sets edit mode status. * @param b */ void setEditMode(boolean b); }