2
* This file is part of Zaluum
4
* Zaluum is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
9
* Zaluum is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU Lesser General Public License for more details.
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with Zaluum. If not, see <http://www.gnu.org/licenses/>.
17
* Copyright 2008,2009 Frederic Perez Ordeig
18
* Copyright 2008,2009 Elias Hortas Garcia
20
package org.zaluum.model;
23
import java.util.List;
30
public interface Model {
32
Port getPortByFqName(String fqName);
34
ComposedBox getRootBox();
36
Map<Port, Boolean> getTargetLeafPorts(Port port, boolean crossedDirect);
38
Port getSourcePort(Port port);
40
List<Wire> getPortWiresForward(Port p);
42
List<Wire> getPortWiresBackward(Port p);
b'\\ No newline at end of file'