/*******************************************************************************
* Copyright (c) 2007 Red Hat, Inc.
* Distributed under license by Red Hat, Inc. All rights reserved.
* This program is 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:
* Red Hat, Inc. - initial API and implementation
******************************************************************************/
package org.jboss.tools.seam.xml.ui.editor.form.core;
import org.jboss.tools.common.model.ui.forms.FormData;
import org.jboss.tools.common.model.ui.forms.FormLayoutDataUtil;
import org.jboss.tools.common.model.ui.forms.IFormData;
import org.jboss.tools.seam.xml.ui.editor.form.SeamXMLFormLayoutData;
public class ActorFormLayoutData {
static String ENT_SEAM_ACTOR = "SeamCoreActor"; //$NON-NLS-1$
static String ENT_SEAM_DISPATCHER = "SeamCoreDispatcher"; //$NON-NLS-1$
private final static IFormData[] SEAM_ACTOR_DEFINITIONS = new IFormData[] {
new FormData(
"Seam Actor", //$NON-NLS-1$
SeamXMLFormLayoutData.EMPTY_DESCRIPTION,
FormLayoutDataUtil.createGeneralFormAttributeData(ENT_SEAM_ACTOR)
),
new FormData(
"Advanced", //$NON-NLS-1$
SeamXMLFormLayoutData.EMPTY_DESCRIPTION,
FormLayoutDataUtil.createAdvancedFormAttributeData(ENT_SEAM_ACTOR)
)
};
final static IFormData SEAM_ACTOR_FORM_DEFINITION = new FormData(
ENT_SEAM_ACTOR, new String[]{null}, SEAM_ACTOR_DEFINITIONS);
}