/*******************************************************************************
* 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 MenuBarInitializer implements ILayoutSetInitializer {
public void initializeLayoutSet( final LayoutSet layoutSet ) {
String path = ILayoutSetConstants.IMAGE_PATH_FANCY;
layoutSet.addImagePath( ILayoutSetConstants.MENUBAR_ARROW,
path + "menu_arrow.png" );
layoutSet.addImagePath( ILayoutSetConstants.MENUBAR_BG,
path + "menubar_bg.png" );
}
}