1 11 package org.eclipse.pde.internal.ui.editor; 12 13 import org.eclipse.ui.views.properties.*; 14 import org.eclipse.jface.viewers.*; 15 import org.eclipse.swt.widgets.*; 16 import org.eclipse.pde.internal.ui.parts.*; 17 18 public class ModifiedTextPropertyDescriptor extends TextPropertyDescriptor { 19 public ModifiedTextPropertyDescriptor(String name, String displayName) { 20 super(name, displayName); 21 } 22 public CellEditor createPropertyEditor(Composite parent) { 23 CellEditor editor = new ModifiedTextCellEditor(parent); 24 if (getValidator() != null) 25 editor.setValidator(getValidator()); 26 return editor; 27 } 28 } 29 | Popular Tags |