?? jadotapropertieseditorpage.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 + -