This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 177561
Collapse All | Expand All

(-)a/api.debugger/src/org/netbeans/spi/debugger/ActionsProvider.java (+17 lines)
Lines 134-166 Link Here
134
         */
148
         */
135
        String path() default "";
149
        String path() default "";
136
150
151
        /**
152
         * Provide the list of actions that this provider supports.
153
         * This list is used before an instance of the registered class is created,
154
         * it's necessary when {@link #enabledOnMIMETypes()} is overriden
155
         * to prevent from the class instantiation.
156
         * @return The list of actions.
157
         */
158
        String[] getActions() default {};
159
160
        /**
161
         * Provide the list of MIME types that are compared to the MIME type of
162
         * a file currently active in the IDE and when matched, this provider
163
         * is activated (an instance of the registered class is created).
164
         * @return The list of MIME types
165
         */
166
        String[] enabledOnMIMETypes() default {};
167
137
    }
168
    }
138
169
139
    static class ContextAware extends ActionsProvider implements ContextAwareService<ActionsProvider> {
170
    static class ContextAware extends ActionsProvider implements ContextAwareService<ActionsProvider> {

Return to bug 177561