File tree Expand file tree Collapse file tree
src/main/java/org/scijava/plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 170170 /** Defines a function that is called to initialize the plugin in some way. */
171171 String initializer () default "" ;
172172
173- /** When true, tool has no button but rather is active all the time. */
174- boolean alwaysActive () default false ;
175-
176- /**
177- * When true, tool receives events when the main ImageJ application frame is
178- * active. When false, tool only receives events when a display window is
179- * active.
180- */
181- boolean activeInAppFrame () default false ;
182-
183173 /**
184174 * A list of additional attributes which can be used to extend this annotation
185175 * beyond its built-in capabilities.
Original file line number Diff line number Diff line change @@ -229,19 +229,6 @@ public URL getIconURL() throws InstantiableException {
229229 return loadClass ().getResource (iconPath );
230230 }
231231
232- /** Gets whether tool is always active, rather than part of the toolbar. */
233- public boolean isAlwaysActive () {
234- return getAnnotation ().alwaysActive ();
235- }
236-
237- /**
238- * Gets whether the tool receives input events when the main application frame
239- * has the focus.
240- */
241- public boolean isActiveInAppFrame () {
242- return getAnnotation ().activeInAppFrame ();
243- }
244-
245232 // -- Object methods --
246233
247234 @ Override
You can’t perform that action at this time.
0 commit comments