Skip to main content
summaryrefslogtreecommitdiffstats
blob: 8ff1b9a997ca9b60ded734243ca457c472fd6d13 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*******************************************************************************
 * Copyright (c) 2004, 2005 Sybase, Inc. and others.
 *
 * 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:
 *     Sybase, Inc. - initial API and implementation
 *******************************************************************************/

package org.eclipse.jst.jsf.facesconfig.ui.pageflow.editpart;

import org.eclipse.swt.graphics.Color;

/**
 * This interface can be used to set Connection's preference
 * 
 * @author Xiaoguang Zhang
 * 
 */
public interface IConnectionPreference extends IFigurePreference {

	/**
	 * set the connection line width
	 * 
	 * @param w
	 */
	void setLineWidth(int w);

	/**
	 * set the label visible or not
	 * 
	 * @param b
	 */
	void setLabelVisible(boolean b);

	/**
	 * set the label's foreground color
	 * 
	 * @param c
	 */
	void setLabelForegroundColor(Color c);

	/**
	 * set the label's background color
	 * 
	 * @param c
	 */
	void setLabelBackgroundColor(Color c);

	/**
	 * set the connection router's style, it can be LINE_ROUTING_MANUAL,
	 * LINE_ROUTING_MANHATTAN
	 * 
	 * @param style -
	 *            The new connection router's style
	 */
	void setConnectionRouterStyle(int style);

}

Back to the top