2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2009 - DIGITEO - Bruno JOFRET
5 * This file must be used under the terms of the CeCILL.
6 * This source file is licensed as described in the file COPYING, which
7 * you should have received as part of this distribution. The terms
8 * are also available at
9 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
13 package org.scilab.modules.xcos.link.commandcontrol;
15 import org.scilab.modules.xcos.link.BasicLink;
18 * An command control link connect an
19 * {@link org.scilab.modules.xcos.port.control.ControlPort} to an
20 * {@link org.scilab.modules.xcos.port.command.CommandPort}.
22 public class CommandControlLink extends BasicLink {
24 private static final long serialVersionUID = 5092221307994387276L;
26 // -1 means activation link
27 private static final double[][] COLOR_AND_TYPE = { { 5.0, -1.0 } };
29 /** Default constructor */
30 public CommandControlLink(long uid) {
31 super(uid, "CommandControlLink");
34 /** @return A red colored activation link identifier */
36 public double[][] getColorAndType() {
37 return COLOR_AND_TYPE;
41 public int getLinkKind() {