gmf2 value of propertysheet listener [message #158352] |
Mon, 05 November 2007 10:11 |
Eclipse User |
|
|
|
What is the method that collects the property (on the property sheet) I
select?
I mean, when I select a graphic element, his property sheet appears, then
I click on "Background color": how/where can I intercept this string so I
can make my overrides where I need my custom dialogs?
in previous gmf it was by
protected CellEditor doCreateEditor(Composite composite)
...
Object genericFeature = getFeature();
...
type = ((EAttributeImpl) genericFeature).basicGetEAttributeType();
clas = type.getName();
...
if (clas.equalsIgnoreCase("GuiDesignerFileDialog")) {
FileDialogEditor cellEditor = new FileDialogEditor(composite) <<-- custom
(popup dialog, in example)
...
other cases
Obviously if I'm doing completely wrong please tell me as well ^_^
|
|
|
Powered by
FUDForum. Page generated in 0.19863 seconds