Skip to main content
summaryrefslogtreecommitdiffstats
blob: 819087880a3299e5235523d5565c6f2de57ea403 (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
/*******************************************************************************
 * Copyright (c) 2006, 2007 Sybase, Inc. and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     Sybase, Inc. - initial API and implementation
 *******************************************************************************/
package org.eclipse.jst.pagedesigner.validation.caret;

/**
 * @author mengbo
 */
public interface IMovementRule extends IValidationRule {
	/**
	 * @param target
	 * @return true if allows move in
	 */
	public boolean allowsMoveIn(Target target);

	/**
	 * @param target
	 * @return true allows move out
	 */
	public boolean allowsMoveOut(Target target);
}

Back to the top