Hi,

I was creating my custom per element property panels when the
setTarget of the panel is called, but it was giving some problems with
the namespace's target setting, because when I create it, the target
is not set and I cannot call setTarget (I'd have to increase its
visibility, and don't know yet if this will do the trick).

Michiel suggested that I should use an Element PropPanel factory, and
I created one and registered it in the enable() method of the module:

    public boolean enable() {
        /* Set up the property panels for UML elements: */
        PropPanelFactory elementFactory = new XMLPropPanelFactory();
        PropPanelFactoryManager.addPropPanelFactory(elementFactory);
        return true;
    }

But the createPropPanel(Object target) method at my
XMLPropPanelFactory is never called.

I'm doing anything wrong?

-- 
Cheers,

Christian López Espínola <penyaskito>

Reply via email to