Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » gmf2 value of propertysheet listener
gmf2 value of propertysheet listener [message #158352] Mon, 05 November 2007 10:11
Eclipse UserFriend
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 ^_^
Previous Topic:Adding Custom Action to generated DiagramActionBarContributor..?
Next Topic:display diagram in stand-alone application
Goto Forum:
  


Current Time: Thu May 29 08:46:44 EDT 2025

Powered by FUDForum. Page generated in 0.19863 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top