/*******************************************************************************
* Copyright (c) 2015, 2016 Pivotal, Inc.
* 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:
* Pivotal, Inc. - initial API and implementation
*******************************************************************************/
package org.springframework.ide.eclipse.boot.dash.views.properties;
import org.springframework.ide.eclipse.boot.dash.model.BootDashElement;
/**
* General properties section for Local apps
*
* @author Alex Boyko
*
*/
public class LocalGeneralPropertiesSection extends AbstractBdeGeneralPropertiesSection {
@Override
protected BootDashElementPropertyControl[] createPropertyControls() {
return new BootDashElementPropertyControl[] {
new RunStatePropertyControl(),
new InstancesPropertyControl(),
new ProjectPropertyControl(),
new AppPropertyControl(),
new UrlPropertyControl<>(BootDashElement.class, "URL:", (e) -> e.getUrl()),
new DefaultPathPropertyControl(),
new TagsPropertyControl(),
new ExposedPropertyControl()
};
}
}