Re: Netbeans Visual API help

Neil C Smith <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAHvRSoech8-dUp77pM9D=dmAQ74jN1SvX6VeZGo-EVbet-Fj0A@mail.gmail.com>
On 19 July 2016 at 13:06, EddHard <[email protected]> wrote:
> To implement popUpMenuAction I used : private WidgetAction popupMenuAction = ActionFactory.createPopupMenuAction(new MyPopupMenuProvider());
> What should I use for SceneCreateAction?

new SceneCreateAction() ! :-)

However, there's also ActionFactory.createSelectAction() or
ObjectScene.createSelectAction() [single click], and
ActionFactory.createEditAction() [double click]  They also handle
keyboard input for you, if you need it.

Best wishes,

Neil

-- 
Neil C Smith
Artist : Technologist : Adviser
http://neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org
Digital Prisoners - interactive spaces and projections -
www.digitalprisoners.co.uk
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.