blob: 2e8982e1a22920b9ab0981e62de6113faaf7e3ea [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 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* 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()),
};
}
}