📄 ietypepropertydescriptor.java
字号:
package com.intotherain.examples.SimpleCellEditor.properties;
import org.eclipse.jface.viewers.CellEditor;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.ui.views.properties.PropertyDescriptor;
import com.intotherain.examples.SimpleCellEditor.CellEditors.EditIETypeCellEditor;
import com.intotherain.examples.SimpleCellEditor.model.Record;
/**
*
* @author intotherain
*
*/
public class IETypePropertyDescriptor extends PropertyDescriptor{
private Record record;
public IETypePropertyDescriptor(Object id, String displayName, Record r) {
super(id, displayName);
record = r;
}
@Override
public CellEditor createPropertyEditor(Composite parent) {
return new EditIETypeCellEditor(parent, record);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -