1 /*******************************************************************************
2 * Copyright (c) 2017 Association for Decentralized Information Management
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the Eclipse Public License v1.0
6 * which accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Semantum Oy - initial API and implementation
11 *******************************************************************************/
12 package org.simantics.g2d.element.handler;
16 import org.simantics.g2d.element.IElement;
19 * @author Antti Villberg
22 public interface Parameters extends ElementHandler {
25 * @return A map of element parameters. A <code>null</code> value is allowed
26 * which indicates no parameters.
28 Map<String,Object> getParameters(IElement e);
32 * the parameter map for an element. A <code>null</code> value is
33 * allowed which indicates no parameters.
35 void setParameters(IElement e, Map<String,Object> p);