blob: 5eb6ef6fdf59b326837633c494139a34cb2be6ed [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 Innoopract Informationssysteme GmbH.
* 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:
* Innoopract Informationssysteme GmbH - initial API and implementation
******************************************************************************/
package org.eclipse.epp.wizard.model;
import java.util.List;
/**
* @author Jordi Boehme Lopez <jboehme@innoopract.com>
*/
public class Screen {
public Group[] getGroups() {
return groups.toArray( new Group[ groups.size() ] );
}
public String getLabel() {
return label;
}
public Screen( String label, List<Group> groups ) {
super();
this.groups = groups;
this.label = label;
for( Group group : groups ) {
group.setParent( this );
}
}
private final List<Group> groups;
private final String label;
}