@ActionID(
category = "File",
id = "com.example.MyAction"
)
@ActionRegistration(
displayName = "My Action",
iconBase = "com/example/myaction/icon.png",
key = "shortcut for My Action"
)
public class MyAction extends AbstractAction {
@Override
public void actionPerformed(ActionEvent e) {
}
}
@ServiceProvider(service = MyService.class)
public class MyServiceImpl implements MyService {
}
@MimeRegistration(mimeType = "text/html", service = MyProcessor.class)
public class MyProcessorImpl implements MyProcessor {
}