1
|
/*******************************************************************************
|
2
|
* Copyright 2005, CHISEL Group, University of Victoria, Victoria, BC, Canada.
|
3
|
* All rights reserved. This program and the accompanying materials are made
|
4
|
* available under the terms of the Eclipse Public License v1.0 which
|
5
|
* accompanies this distribution, and is available at
|
6
|
* http://www.eclipse.org/legal/epl-v10.html
|
7
|
*
|
8
|
* Contributors: The Chisel Group, University of Victoria
|
9
|
*******************************************************************************/
|
10
|
package org.eclipse.zest.layouts.constraints;
|
11
|
|
12
|
/**
|
13
|
* @author Ian Bull
|
14
|
* @author Chris Bennett
|
15
|
*/
|
16
|
public class BasicEdgeConstraints implements LayoutConstraint {
|
17
|
|
18
|
// These should all be accessed directly.
|
19
|
public boolean isBiDirectional = false;
|
20
|
public int weight = 1;
|
21
|
|
22
|
/*
|
23
|
* (non-Javadoc)
|
24
|
* @see org.eclipse.zest.layouts.constraints.LayoutConstraint#clear()
|
25
|
*/
|
26
|
public void clear() {
|
27
|
this.isBiDirectional = false;
|
28
|
this.weight = 1;
|
29
|
}
|
30
|
|
31
|
}
|