Project

General

Profile

Download (1.27 KB) Statistics
| Branch: | Tag: | Revision:
1
/*******************************************************************************
2
 * Copyright (c) 2010 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     Research Group Software Construction,
10
 *     RWTH Aachen University, Germany - initial API and implementation
11
 */
12
package org.eclipse.gef.editparts;
13

    
14
import org.eclipse.draw2d.IScrollableFigure;
15

    
16
import org.eclipse.gef.GraphicalEditPart;
17
import org.eclipse.gef.editpolicies.ScrollableSelectionFeedbackEditPolicy;
18

    
19
/**
20
 * Should be implemented by EditParts, to which an
21
 * {@link ScrollableSelectionFeedbackEditPolicy} is to be registered, as it
22
 * grants the edit policy type-safe access to the edit part's
23
 * {@link IScrollableFigure}.
24
 * 
25
 * @author Alexander Nyssen
26
 * @author Philip Ritzkopf
27
 * 
28
 * @since 3.6
29
 */
30
public interface IScrollableEditPart extends GraphicalEditPart {
31

    
32
	/**
33
	 * Offers type-safe access to the GraphicalEditPart's figure.
34
	 * 
35
	 * @return The figure of this edit part, which has to be an
36
	 *         IScrollableFigure
37
	 */
38
	IScrollableFigure getScrollableFigure();
39

    
40
}
(9-9/21)