/******************************************************************************* * 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.scenegraph.structural; import java.util.Collection; import java.util.List; @SuppressWarnings("rawtypes") public interface IComponentNode extends IStructuralNode{ public List getAllConnections(); //public void addConnection(Connection c); public void removeConnection(T c); public void connectionChanged(T c, T2 node, boolean add); public List getConnections(String id); public void addConnection(String id,T c); public void removeConnection(String id,T c); public void removeConnection(String id); public String getConnectionId(T c); public Collection getConnectionIds(T2 node); public List getAllConnectedNodes(); public List getConnectedNodes(String id); }