blob: cbaf34e91341051a766b63748af543dfdd76f951 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* 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:
* Florian Pirchner - Initial implementation
*
*/
package org.eclipse.osbp.ecview.extension.editparts;
import org.eclipse.osbp.ecview.core.common.editpart.IElementEditpart;
import org.eclipse.osbp.ecview.core.common.editpart.IEmbeddableEditpart;
import org.eclipse.osbp.ecview.core.common.editpart.IViewEditpart;
/**
* Is used to set the focus to a field.
* <p>
* Attention: Do not call {@link #dispose()}! Its for internal use only. Use
* {@link #requestDispose()}.
*/
public interface ILayoutingInfoEditpart extends IElementEditpart {
/**
* Returns the view edit part of this editpart.<br>
* May be <code>null</code> as far as this element and no of its parents are
* attached to a view.
*
* @return editpart The view editpart
*/
IViewEditpart getView();
/**
* Returns the parent that contains this editpart.
*
* @return the parent
*/
IStrategyLayoutEditpart getParent();
/**
* Returns the content editpart.
*
* @return the content
*/
IEmbeddableEditpart getContent();
/**
* Requests disposal of the current editpart. This method will forward the
* request to the parent if available and the parent will handle the steps
* required to disposal the editpart properly.
*/
void requestDispose();
}