01: /**
02: *
03: */package org.drools.reteoo;
04:
05: import org.eclipse.draw2d.ColorConstants;
06: import org.eclipse.swt.graphics.Color;
07:
08: /**
09: * Wraps {@link RightInputAdapterNode} and adds visual extras like color information
10: *
11: */
12: public class RightInputAdapterNodeVertex extends BaseVertex {
13:
14: private static final String NODE_NAME = "RightInputAdapterNode";
15:
16: /**
17: * Constructor
18: *
19: * @param node node to be wrapped
20: */
21: public RightInputAdapterNodeVertex(final RightInputAdapterNode node) {
22: super ();
23: }
24:
25: public String getHtml() {
26: return NODE_NAME;
27: }
28:
29: public String toString() {
30: return NODE_NAME;
31: }
32:
33: public Color getFillColor() {
34: return ColorConstants.orange;
35: }
36:
37: }
|