⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jadotapropertieseditorpage.java

📁 eclipseme的最新版本的source,欢迎j2me程序员使用
💻 JAVA
字号:
/**
 * Copyright (c) 2003-2005 Craig Setera
 * All Rights Reserved.
 * Licensed under the Eclipse Public License - v 1.0
 * For more information see http://www.eclipse.org/legal/epl-v10.html
 */
package eclipseme.ui.internal.editor.jad;

import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.PlatformUI;

import eclipseme.core.model.DescriptorPropertyDescription;
import eclipseme.core.model.IJADConstants;

/**
 * JAD editor page for handling the over the air properties.
 * <p />
 * Copyright (c) 2003-2005 Craig Setera<br>
 * All Rights Reserved.<br>
 * Licensed under the Eclipse Public License - v 1.0<p/>
 * <br>
 * $Revision: 1.7 $
 * <br>
 * $Date: 2005/10/08 23:21:40 $
 * <br>
 * @author Craig Setera
 */
public class JADOTAPropertiesEditorPage extends JADPropertiesEditorPage {
	public static final String ID = "ota";
	
	/**
	 * OTA property descriptors.
	 */
	private static final DescriptorPropertyDescription[] 
		OTA_DESCRIPTORS = new DescriptorPropertyDescription[] {
			new DescriptorPropertyDescription(
				IJADConstants.JAD_MIDLET_DELETE_CONFIRM,
				getResourceString("property.jad.midlet_delete_confirm"),
				DescriptorPropertyDescription.DATATYPE_STRING),
			new DescriptorPropertyDescription(
				IJADConstants.JAD_MIDLET_DELETE_NOTIFY,
				getResourceString("property.jad.midlet_delete_notify"),
				DescriptorPropertyDescription.DATATYPE_URL),
			new DescriptorPropertyDescription(
				IJADConstants.JAD_MIDLET_INSTALL_NOTIFY,
				getResourceString("property.jad.midlet_install_notify"),
				DescriptorPropertyDescription.DATATYPE_URL),
		};

	/**
	 * Constract a new required properties editor.
	 * 
	 * @param editor
	 */
	public JADOTAPropertiesEditorPage(JADEditor editor) {
		super(editor, ID, "OTA", OTA_DESCRIPTORS);
	}

	/**
	 * @see eclipseme.ui.internal.editor.jad.AbstractJADEditorPage#getSectionTitle()
	 */
	protected String getSectionTitle() {
		return "Over The Air Properties";
	}

	/**
	 * @see eclipseme.ui.internal.editor.jad.AbstractJADEditorPage#getSectionDescription()
	 */
	protected String getSectionDescription() {
		return "Properties related to Over the Air deployment may be specified on this page";
	}
	
	protected void addContextHelp(Composite c)
	{
		PlatformUI.getWorkbench().getHelpSystem().setHelp(c, "eclipseme.ui.help_JADOTAPropertiesEditorPage");
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -