Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionNo longer recommended. See
CallbackSystemAction.setActionPerformer(ActionPerformer)for details.
-
Deprecated ClassesClassDescriptionThe prefered way to register and lookup services is now
Lookupas described in services registration and lookup page.The prefered way to register and lookup services is nowLookupas described in services registration and lookup page.Use lookup instead.Use new support for stateful actions in Actions or ActionState annotationUseBlockingQueueinstead.
-
Deprecated Exception ClassesException ClassDescriptionUsed only by the deprecated partialSort
-
Deprecated FieldsFieldDescriptionplease use OS_TRU64 insteadUse
Utilities.isUnix()instead.UseUtilities.isWindows()instead.
-
Deprecated MethodsMethodDescriptionNow does the same thing as
ErrorManager.annotate(Throwable,Throwable)except marks the annotationErrorManager.UNKNOWNseverity. Otherwise you used to have inadvertent data loss whencopyFromhad annotations of its own: the subannotations were kept but the main stack trace incopyFromwas discarded. In practice you usually want to keep all ofcopyFrom; if for some reason you just want to keep annotations, please do so explicitly usingErrorManager.findAnnotations(Throwable)andErrorManager.attachAnnotations(Throwable, ErrorManager.Annotation[]).Service instance files should instead be copied in order to clone them.Service instance files should instead be copied in order to clone them.Just use lookup.Better to change service instance files instead.use TopComponent.getActionMap() as described in the javadocThis only usesActionPerformer. UseCallbackSystemAction.actionPerformed(ActionEvent)instead.use TopComponent.getActionMap() as described in the javadocUseArrays.hashCode(Object[])instead.this method is almost useless in multiple monitor configurationObsolete, useless method, no replacement.Deprecated in favor of the potentially much faster (and possibly more correct)Utilities.topologicalSort(Collection, Map).UseString.replace(CharSequence,CharSequence)insteadNot needed in JDK 1.4.UseURL.toURI()andUtilities.toFile(URI)instead under JDK 1.4. (There was no proper equivalent under JDK 1.3.)UseUtilities.toURI(File)andURI.toURL()instead under JDK 1.4. (File.toURL()is buggy in JDK 1.3 and the bugs are not fixed in JDK 1.4.)Use(String, int, BreakIterator, boolean)as it is friendlier to I18N.useUtilities.wrapStringToArray(String, int, BreakIterator, boolean)since it is better for I18N
-
Deprecated ConstructorsConstructorDescriptionToo easily breaks IDs after code refactoring. Rather use
HelpCtx(String)with a constant value known to be in the JavaHelp map.Does not work nicely with JavaHelp.