| /** |
| * |
| * 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 PreferencePageHybridClient extends APreferencePage { |
| |
| public PreferencePageHybridClient() { |
| super( |
| "hybridclient", |
| "Configuration needed, when OSBP is embedded inside a Web-Client:" |
| ); |
| } |
| |
| @Override |
| protected Item[] initializeItems() { |
| return new Item[] { |
| new Item(Type.TEXT, Preference.SHOW_PRODUCT_CONFIGURATION, "Product Configuration", false), |
| new Item(""), |
| new Item(Type.INTEGER, Preference.HYBRID_AUTH_SERVICE_PORT, "Auth-Service-Port"), |
| new Item("This port is provided, when the Web-Client has to connect to the same authentication service."), |
| new Item(""), |
| new Item("Refreshing the application list in the Web-Client in milliseconds on an ..."), |
| new Item(Type.INTEGER, Preference.HYBRID_REFRESH_PERSPECTIVE_ACTIVE, "...active perspective"), |
| new Item(Type.INTEGER, Preference.HYBRID_REFRESH_PERSPECTIVE_INACTIVE, "...inactive perspective") |
| }; |
| } |
| |
| } |