1 /*******************************************************************************
\r
2 * Copyright (c) 2012, 2013 Association for Decentralized Information Management in
\r
4 * All rights reserved. This program and the accompanying materials
\r
5 * are made available under the terms of the Eclipse Public License v1.0
\r
6 * which accompanies this distribution, and is available at
\r
7 * http://www.eclipse.org/legal/epl-v10.html
\r
10 * VTT Technical Research Centre of Finland - initial API and implementation
\r
11 *******************************************************************************/
\r
12 package org.simantics.g3d.property;
\r
15 * Interfaces for manipulating properties.
\r
17 * @author Marko Luukkainen <marko.luukkainen@vtt.fi>
\r
20 public interface PropertyManipulator {
\r
23 * Returns number of individual values.
\r
26 int getValueCount();
\r
29 * Returns value at given index.
\r
33 String getValue(int i);
\r
36 * Sets value at given index.
\r
40 String setValue(String value, int i);
\r
43 * Returns description of a value at given index. The description is shown in the table header.
\r
47 String getDescription(int i);
\r
50 * Gets edit mode status.
\r
53 boolean getEditMode();
\r
56 * Sets edit mode status.
\r
59 void setEditMode(boolean b);
\r