Re: Enable SaveAction from the Properties TopComponent

geertjan wielenga <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Organization Oracle Corporation
Message-ID <[email protected]>
Maybe this will get you started: 
https://blogs.oracle.com/geertjan/entry/undoable_property_sheet

Gj

On 13-2-2016 18:32, Yann Dameron wrote:
> Hi guys,
>
> I'm facing an issues similar to the one described by Geertjan years ago in the post : https://blogs.oracle.com/geertjan/entry/undoredo_on_nodes_part_2
>
> My application is based on RELEASE802. I defined an editor topcomponent (based on a DataObject + DataNode).
> Some of the properties could be edited in the "Properties" view, some other directly in the main editor.
>
> When the activated TopComponent is "Properties", Save, Undo, Redo, etc are disabled. All of them become enabled when I give the focus to the Navigator, Explorer view or to my main editor.
>
> It seems the Properties is not working like others so I'd like to know if there is something special to do to have the SaveAction enabled from the Properties TopComponent?
>
> Thanks,
> Yann
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.