Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 7bc5d52fc3603630e592be438145ceb7d86c3a3b (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
/*******************************************************************************
 * 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.draw2d.geometry.Dimension;
import org.eclipse.swt.graphics.Color;

/**
 * LayerPane has muliple layers, this interface will be used to set different
 * layer's style.
 * 
 * @author Xiao-guang Zhang
 * 
 */
public interface ILayerPanePreference extends IFigurePreference {
	public static int LINE_ROUTING_MANUAL = 0;

	public static int LINE_ROUTING_MANHATTAN = 1;

	/**
	 * sets the grid to be shown or not
	 * 
	 * @param bVisible
	 */
	void setGridVisible(boolean bVisible);

	/**
	 * sets the grid's dimension
	 * 
	 * @param d
	 *            The new grid spacing
	 */
	void setGridSpacing(Dimension d);

	/**
	 * set the grid's foregoundColor
	 * 
	 * @param c -
	 *            The new foreground color
	 */
	void setGridForegroundColor(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