01: /*
02: * The contents of this file are subject to the terms of the Common Development
03: * and Distribution License (the License). You may not use this file except in
04: * compliance with the License.
05: *
06: * You can obtain a copy of the License at http://www.netbeans.org/cddl.html
07: * or http://www.netbeans.org/cddl.txt.
08: *
09: * When distributing Covered Code, include this CDDL Header Notice in each file
10: * and include the License file at http://www.netbeans.org/cddl.txt.
11: * If applicable, add the following below the CDDL Header, with the fields
12: * enclosed by brackets [] replaced by your own identifying information:
13: * "Portions Copyrighted [year] [name of copyright owner]"
14: *
15: * The Original Software is NetBeans. The Initial Developer of the Original
16: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
17: * Microsystems, Inc. All Rights Reserved.
18: */
19:
20: package org.netbeans.modules.soa.mapper.common.gtk;
21:
22: import java.awt.Dimension;
23: import java.awt.Point;
24:
25: /**
26: * <p>
27: *
28: * Title: </p> <p>
29: *
30: * Description: </p> <p>
31: *
32: * Copyright: Copyright (c) 2002</p> <p>
33: *
34: * Company: </p>
35: *
36: * @author unascribed
37: * @created December 3, 2002
38: * @version 1.0
39: */
40:
41: public interface ICanvasControlNode extends ICanvasNode {
42:
43: /**
44: * Description of the Method
45: *
46: * @param swComponent Description of the Parameter
47: * @param initSize Description of the Parameter
48: */
49: void initialize(IJComponentControlComponent swComponent,
50: Dimension initSize);
51:
52: /**
53: * Gets the componentControlComponent attribute of the
54: * ICanvasControlNode object
55: *
56: * @return The componentControlComponent value
57: */
58: IJComponentControlComponent getComponentControlComponent();
59:
60: /**
61: * Description of the Method
62: *
63: * @param location Description of the Parameter
64: */
65: void setupINPort(Point location);
66:
67: /**
68: * Description of the Method
69: *
70: * @param location Description of the Parameter
71: */
72: void setupOUTPort(Point location);
73:
74: /**
75: * Description of the Method
76: *
77: * @param node Description of the Parameter
78: * @param location Description of the Parameter
79: * @param coord Description of the Parameter
80: * @param isLeftSide Description of the Parameter
81: */
82: void createNewPort(ICanvasNode node, Point location, int coord,
83: boolean isLeftSide);
84: }
|