blob: c56bc59cbf0e003bcb5c765142c47ac6b2a04c29 [file] [log] [blame]
/**
* Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf, Austria), 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.core.ui.core.editparts.extension.presentation;
import org.eclipse.osbp.ecview.core.common.presentation.IWidgetPresentation;
// TODO: Auto-generated Javadoc
/**
* TabSheetPresentations are an abstraction above a tabSheet an are responsible
* to create the UI-Kit specific elements and to handle them. One important
* thing to notice is, that the life cycle of tabs is handled by their edit
* parts. And so an tabs must never dispose its tab tabs!
*
* @param <C>
* the generic type
*/
public interface IMasterDetailPresentation<C> extends IWidgetPresentation<C> {
/**
* Returns the master presentation.
*
* @return presentation
*/
IWidgetPresentation<?> getMaster();
/**
* Returns the detail presentation.
*
* @return presentation
*/
IWidgetPresentation<?> getDetail();
/**
* Sets the master presentation.
*
* @param master
* the new master
*/
void setMaster(IWidgetPresentation<?> master);
/**
* Sets the detail presentation.
*
* @param detail
* the new detail
*/
void setDetail(IWidgetPresentation<?> detail);
}