@ServiceProvider(service = MyService.class)
public class MyServiceImpl implements MyService {
}
@Lookup
public interface MyLookupInterface {
}
@ProjectServiceProvider(service = MyProjectService.class, projectType = "org.netbeans.modules.java.java.JavaProject")
public class MyProjectServiceImpl implements MyProjectService {
}
@ActionID(id = "com.example.myplugin.MyAction", category = "File")
@ActionRegistration(displayName = "My Action", iconBase = "com/example/myplugin/my_icon.png")
public class MyAction extends AbstractAction {
}