/*******************************************************************************
* Copyright (c) 2009 EclipseSource and others. 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:
* EclipseSource - initial API and implementation
*******************************************************************************/
package org.eclipse.rap.internal.design.example.fancy.layoutsets;
import org.eclipse.rap.internal.design.example.ILayoutSetConstants;
import org.eclipse.rap.ui.interactiondesign.layout.model.ILayoutSetInitializer;
import org.eclipse.rap.ui.interactiondesign.layout.model.LayoutSet;
public class HeaderInitializer implements ILayoutSetInitializer {
public void initializeLayoutSet( final LayoutSet layoutSet ) {
// images
String path = ILayoutSetConstants.IMAGE_PATH_FANCY;
layoutSet.addImagePath( ILayoutSetConstants.HEADER_LEFT,
path + "header_left.png" );
layoutSet.addImagePath( ILayoutSetConstants.HEADER_LEFT_BG,
path + "header_left_bg.png" );
layoutSet.addImagePath( ILayoutSetConstants.HEADER_WAVE,
path + "header_wave.png" );
layoutSet.addImagePath( ILayoutSetConstants.HEADER_RIGHT_BG,
path + "header_right_bg.png" );
layoutSet.addImagePath( ILayoutSetConstants.HEADER_RIGHT,
path + "header_right.png" );
}
}