blob: dd89ca5c2ea2088abafb5d0c4334425e8ede387f [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* 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:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*/
package org.eclipse.osbp.preferences.ui.page;
import org.eclipse.osbp.preferences.Preference;
import org.eclipse.osbp.preferences.ui.component.APreferencePage;
import org.eclipse.osbp.preferences.ui.component.Item;
import org.eclipse.osbp.preferences.ui.component.Type;
public class PreferencePageDataSources extends APreferencePage {
public PreferencePageDataSources() {
super(
"dataSources",
"accessible internal data sources"
);
}
@Override
protected Item[] initializeItems() {
return new Item[] {
new Item(Type.TEXT, Preference.SHOW_PRODUCT_CONFIGURATION, "Product Configuration", false),
new Item(""),
new Item(Type.TREE_DATASOURCES, Preference.DATASOURCES, "JNDI Data Sources"),
// new Item(""),
// new Item("Assignments"),
// new Item(Type.SELECT, Preference.DATASOURCE_PRODUCTION, "production data source", store.getDataSourcesSelectItems()),
// new Item(Type.SELECT, Preference.DATASOURCE_BPM, "data source for BPM", store.getDataSourcesSelectItems()),
};
}
}