blob: ea13c775cea7ae406111862aab6e522b0844a7b7 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2007 Oracle Corporation 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:
* Oracle Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.pagedesigner.properties.internal;
import java.util.List;
import java.util.Vector;
import org.eclipse.ui.views.properties.tabbed.AbstractTabDescriptor;
import org.eclipse.ui.views.properties.tabbed.ISectionDescriptor;
/**
* Attributes tab descriptor
*
*/
public class AttributesTabDescriptor extends AbstractTabDescriptor {
/**
* Attributes tab id
*/
public static final String TAB_ID = "jst.pagedesigner.tabbed.properties.attributes";
private Vector<ISectionDescriptor> descriptors;
/**
* Constructor
*/
public AttributesTabDescriptor(){
super();
descriptors = new Vector<ISectionDescriptor>(1);
descriptors.add(new AllPropertySectionDescriptor());
}
@Override
public List getSectionDescriptors() {
return descriptors;
}
public String getCategory() {
return "attributes";
}
public String getId() {
return TAB_ID;
}
public String getLabel() {
return "Attributes";
}
}