From 0f28ec852f7c8e9cba43cb74633f42997848b66f Mon Sep 17 00:00:00 2001 From: Alessandro Falappa Date: Fri, 3 Aug 2018 20:22:53 +0200 Subject: [PATCH] Added note to alternate way for implementing Restart Action --- .../alexfalappa/nbspringboot/actions/RestartAction.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/com/github/alexfalappa/nbspringboot/actions/RestartAction.java b/src/main/java/com/github/alexfalappa/nbspringboot/actions/RestartAction.java index 58892793..f753d6dc 100644 --- a/src/main/java/com/github/alexfalappa/nbspringboot/actions/RestartAction.java +++ b/src/main/java/com/github/alexfalappa/nbspringboot/actions/RestartAction.java @@ -46,6 +46,12 @@ import static java.util.logging.Level.FINE; +/* + * NOTE: an alternative way to obtain an action that operates on the currently active project is using + * ProjectSensitiveActions.projectSensitiveAction(...) from projectuiapi module as indicated by Jan Lahoda on + * Apache NetBeans devs mailing lists: + * http://mail-archives.apache.org/mod_mbox/netbeans-dev/201807.mbox/%3CCALd%3D3dEa815Kik-cgZ6Cdymwnqd6FELruJoLesALxJac1SmofA%40mail.gmail.com%3E + */ @ActionID( category = "Build", id = "com.github.alexfalappa.nbspringboot.actions.RestartAction"