Deprecated Fields |
org.openide.explorer.propertysheet.PropertySheet.ALWAYS_AS_STRING
Relic of the original property sheet implementation, useless. |
org.openide.filesystems.DefaultAttributes.ATTR_EXT
does not handle XML attributes |
org.openide.filesystems.DefaultAttributes.ATTR_NAME
does not handle XML attributes |
org.openide.filesystems.DefaultAttributes.ATTR_NAME_EXT
does not handle XML attributes |
org.openide.options.ContextSystemOption.beanContext
To obtain bean context use ContextSystemOption.getBeanContextProxy() . |
org.openide.windows.TopComponent.CLOSE_EACH
Do not use. It is redundant since workspaces are not supported anymore. |
org.openide.windows.TopComponent.CLOSE_LAST
Do not use. It is redundant since workspaces are not supported anymore. |
org.openide.text.NbDocument.COLORS
Not useful for anything. |
org.openide.filesystems.FileSystemCapability.COMPILE
Please use the ClassPath API instead. |
org.openide.filesystems.FileSystemCapability.DEBUG
Please use the ClassPath API instead. |
org.openide.awt.MouseUtils.PopupMouseAdapter.DEFAULT_THRESHOLD
Obsoleted as of 3.4, PopupMouseAdapter now uses isPopupTrigger properly.
Threshold does nothing, please use default constructor without treshold. |
org.openide.filesystems.FileSystemCapability.DOC
Please use JavadocForBinaryQuery instead. |
org.openide.filesystems.FileSystemCapability.EXECUTE
Please use the ClassPath API instead. |
org.openide.explorer.propertysheet.PropertySheet.iAlphaSort
Presumably noone uses this variable. If you want to customize
the property sheet look you can change the image files directly (or use your
own). |
org.openide.explorer.propertysheet.PropertySheet.iCustomize
Presumably noone uses this variable. If you want to customize
the property sheet look you can change the image files directly (or use your
own). |
org.openide.explorer.propertysheet.PropertySheet.iDisplayWritableOnly
Presumably noone uses this variable. If you want to customize
the property sheet look you can change the image files directly (or use your
own). |
org.openide.explorer.propertysheet.PropertySheet.iNoSort
Presumably noone uses this variable. If you want to customize
the property sheet look you can change the image files directly (or use your
own). |
org.openide.explorer.propertysheet.PropertySheet.iTypeSort
Presumably noone uses this variable. If you want to customize
the property sheet look you can change the image files directly (or use your
own). |
org.openide.util.Utilities.OS_DEC
please use OS_TRU64 instead |
org.openide.explorer.propertysheet.PropertySheet.PAINTING_PREFERRED
Relic of the original property sheet implementation, does useless. |
org.openide.windows.WindowManager.PROP_CURRENT_WORKSPACE
Do not use. Workspaces are not supported anymore. |
org.openide.windows.Workspace.PROP_DISPLAY_NAME
Do no use. It is redundant. |
org.openide.windows.Mode.PROP_DISPLAY_NAME
Do not use. It is redundant. |
org.openide.filesystems.FileSystem.PROP_HIDDEN
The property is now hidden. |
org.openide.windows.Workspace.PROP_MODES
Use WindowManager.PROP_MODES instead. |
org.openide.windows.Workspace.PROP_NAME
Do no use. It is redundant. |
org.openide.windows.Mode.PROP_NAME
Do not use. It is redundant, name can not be changed. |
org.openide.explorer.propertysheet.PropertyPanel.PROP_PROPERTY_EDITOR
- the property editor is re-fetched from the underlying
property object as needed. It is up to the property object to
cache or not cache the property editor. This property will no longer
be fired. |
org.openide.filesystems.FileSystem.PROP_SYSTEM_NAME
This system name should now be avoided in favor of identifying files persistently by URL. |
org.openide.windows.WindowManager.PROP_WORKSPACES
Do not use. Workspaces are not supported anymore. |
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_CURRENT_PAGE
Relic of the original property sheet implementation, , will never be fired. |
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_DISABLED_PROPERTY_COLOR
Relic of the original property sheet implementation, , will never be fired. |
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_DISPLAY_WRITABLE_ONLY
Relic of the original property sheet implementation, will never be fired. |
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_PLASTIC
Relic of the original property sheet implementation, , will never be fired. |
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_PROPERTY_PAINTING_STYLE
Relic of the original property sheet implementation, will never be fired. |
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_SORTING_MODE
Relic of the original property sheet implementation, will never be fired. |
org.openide.explorer.propertysheet.PropertySheet.PROPERTY_VALUE_COLOR
Relic of the original property sheet implementation, will never be fired. |
org.openide.filesystems.AbstractFileSystem.List.serialVersionUID
Only public by accident. |
org.openide.filesystems.AbstractFileSystem.Change.serialVersionUID
Only public by accident. |
org.openide.filesystems.AbstractFileSystem.Transfer.serialVersionUID
Only public by accident. |
org.openide.filesystems.AbstractFileSystem.Info.serialVersionUID
Only public by accident. |
org.openide.filesystems.AbstractFileSystem.Attr.serialVersionUID
Only public by accident. |
org.openide.nodes.Node.Handle.serialVersionUID
Only public by accident. |
org.openide.windows.Workspace.serialVersionUID
Only public by accident. |
org.openide.windows.WindowManager.Component.serialVersionUID
Only public by accident. |
org.openide.windows.Mode.serialVersionUID
Only public by accident. |
org.openide.explorer.propertysheet.PropertySheet.SORTED_BY_TYPES
Not supported since NetBeans 3.6 |
org.openide.explorer.propertysheet.PropertySheet.STRING_PREFERRED
Relic of the original property sheet implementation, does useless. |
Deprecated Methods |
org.openide.explorer.view.MenuView.Acceptor.accept(Node)
whole interface is obsoleted, use NodeAcceptor.acceptNodes(org.openide.nodes.Node[]) instead. |
org.openide.util.actions.NodeAction.actionPerformed(ActionEvent)
Using a special action event in this way is deprecated.
Better is to use NodeAction.createContextAwareInstance(org.openide.util.Lookup) and pass
a lookup containing all desired Node instances. |
org.openide.windows.Workspace.activate()
Do no use. It is redundant. |
org.openide.text.CloneableEditorSupport.addChangeListener(ChangeListener)
Deprecated since 3.40. Use CloneableEditorSupport.addPropertyChangeListener(java.beans.PropertyChangeListener) instead.
See also EditorCookie.Observable . |
org.openide.filesystems.FileSystem.Environment.addClassPath(String)
Please use the ClassPath API instead. |
org.openide.filesystems.Repository.addFileChangeListener(FileChangeListener)
useless because there is no filesystem but only
default filesystem in Repository. Add new listener directly to
default filesystem Repository.getDefaultFileSystem() . |
org.openide.filesystems.Repository.addFileSystem(FileSystem)
Please use the ClassPath API instead. |
org.openide.windows.Workspace.addPropertyChangeListener(PropertyChangeListener)
Use WindowManager.addPropertyChangeListener(java.beans.PropertyChangeListener) instead. |
org.openide.filesystems.Repository.addRepositoryListener(RepositoryListener)
Please use the ClassPath API instead. |
org.openide.util.HttpServer.allowAccess(InetAddress)
Should be replaced by an API in the httpserver module if still required. |
org.openide.text.Line.canBeMarkedCurrent(int, Line)
Deprecated since 1.20, as Line.markCurrentLine() is deprecated by Annotation.attach(org.openide.text.Annotatable) . |
org.openide.windows.TopComponent.canClose(Workspace, boolean)
Do not use anymore. Use TopComponent.canClose() instead.
Both parameters are redundant since workspaces are not supported anymore. |
org.openide.util.WeakListener.change(ChangeListener, Object)
Use WeakListeners.change(javax.swing.event.ChangeListener, java.lang.Object) |
org.openide.ServiceType.clone()
Service instance files should instead be copied in order to clone them. |
org.openide.windows.TopComponent.close(Workspace)
Use TopComponent.close() instead. |
org.openide.windows.TopComponent.closeNotify()
Use TopComponent.componentClosed() instead. |
org.openide.awt.Actions.connect(AbstractButton, SystemAction)
Use Actions.connect(AbstractButton, Action) instead. |
org.openide.awt.Actions.connect(JMenuItem, SystemAction, boolean)
Use Actions.connect(JMenuItem, Action, boolean) instead. |
org.openide.ErrorManager.copyAnnotation(Throwable, Throwable)
Now does the same thing as ErrorManager.annotate(Throwable,Throwable)
except marks the annotation ErrorManager.UNKNOWN severity. Otherwise
you used to have inadvertent data loss when copyFrom
had annotations of its own: the subannotations were kept but the
main stack trace in copyFrom was discarded. In practice
you usually want to keep all of copyFrom ; if for some
reason you just want to keep annotations, please do so explicitly
using ErrorManager.findAnnotations(java.lang.Throwable) and ErrorManager.attachAnnotations(java.lang.Throwable, org.openide.ErrorManager.Annotation[]) . |
org.openide.util.WeakListener.create(Class, EventListener, Object)
Use WeakListeners.create(java.lang.Class, java.util.EventListener, java.lang.Object) |
org.openide.nodes.AbstractNode.createActions()
Override Node.getActions(boolean) instead. |
org.openide.ServiceType.createClone()
Service instance files should instead be copied in order to clone them. |
org.openide.windows.Workspace.createMode(String, String, URL)
Do no use. It is redundant. Currently it returns default predefined Mode instance. |
org.openide.util.actions.SystemAction.createPopupMenu(SystemAction[])
Use Utilities.actionsToPopup(javax.swing.Action[], org.openide.util.Lookup) |
org.openide.util.RequestProcessor.createRequest(Runnable)
Sharing of one singlethreaded RequestProcessor
among different users and posting even blocking requests is inherently
deadlock-prone. See use cases. |
org.openide.windows.WindowManager.createWorkspace(String)
Do not use. Workspaces are not supported anymore. |
org.openide.windows.WindowManager.createWorkspace(String, String)
Do not use. Workspaces are not supported anymore. |
org.openide.util.HttpServer.deregisterServer(HttpServer.Impl)
As of 2.11 use Lookup instead of registering and derigistering HTTP server |
org.openide.util.WeakListener.document(DocumentListener, Object)
Use WeakListeners.document(javax.swing.event.DocumentListener, java.lang.Object) |
org.openide.filesystems.FileUtil.extractJar(FileObject, InputStream)
Use of XML filesystem layers generally obsoletes this method. |
org.openide.util.WeakListener.fileChange(FileChangeListener, Object)
Use FileUtil.weakFileChangeListener(org.openide.filesystems.FileChangeListener, java.lang.Object) or WeakListeners.create(java.lang.Class, java.util.EventListener, java.lang.Object) |
org.openide.util.WeakListener.fileStatus(FileStatusListener, Object)
Use FileUtil.weakFileStatusListener(org.openide.filesystems.FileStatusListener, java.lang.Object) or WeakListeners.create(java.lang.Class, java.util.EventListener, java.lang.Object) |
org.openide.filesystems.Repository.fileSystems()
Please use the ClassPath API instead. |
org.openide.filesystems.FileSystemCapability.fileSystems()
Please use the ClassPath API instead. |
org.openide.util.NbBundle.ClassLoaderFinder.find()
Useless. |
org.openide.ServiceType.Registry.find(Class)
Just use lookup. |
org.openide.filesystems.Repository.find(String, String, String)
Please use the ClassPath API instead. |
org.openide.filesystems.FileSystemCapability.find(String, String, String)
Please use the ClassPath API instead. |
org.openide.filesystems.FileSystem.find(String, String, String)
Please use the ClassPath API instead, or use FileSystem.findResource(java.lang.String) if you are not interested in classpaths. |
org.openide.filesystems.Repository.findAll(String, String, String)
Please use the ClassPath API instead. |
org.openide.filesystems.FileSystemCapability.findAll(String, String, String)
Please use the ClassPath API instead. |
org.openide.filesystems.Repository.findAllResources(String)
Please use the ClassPath API instead. |
org.openide.filesystems.FileSystemCapability.findAllResources(String)
Please use the ClassPath API instead. |
org.openide.windows.WindowManager.findComponentManager(TopComponent)
Do not use anymore.
See WindowManager.Component deprecation. |
org.openide.filesystems.URLMapper.findFileObjects(URL)
Use URLMapper.findFileObject(java.net.URL) instead. |
org.openide.filesystems.Repository.findFileSystem(String)
Please use the ClassPath API instead. |
org.openide.windows.Workspace.findMode(String)
Use WindowManager.findMode(String) instead. |
org.openide.windows.Workspace.findMode(TopComponent)
Use WindowManager.findMode(TopComponent) instead. |
org.openide.filesystems.Repository.findResource(String)
Please use the ClassPath API instead. |
org.openide.filesystems.FileSystemCapability.findResource(String)
Please use the ClassPath API instead. |
org.openide.windows.WindowManager.findWorkspace(String)
Do not use. Workspaces are not supported anymore. |
org.openide.util.WeakListener.focus(FocusListener, Object)
Use WeakListeners.create(java.lang.Class, java.util.EventListener, java.lang.Object) |
org.openide.filesystems.FileUtil.fromFile(File)
Use FileUtil.toFileObject(java.io.File) instead. |
org.openide.nodes.Node.getActions()
Use getActions (false) instead. |
org.openide.nodes.AbstractNode.getActions()
Override Node.getActions(boolean) instead. |
org.openide.windows.CloneableTopComponent.Ref.getAnyComponent()
Use CloneableTopComponent.Ref.getArbitraryComponent() instead.
It doesn't throw a runtime exception. |
org.openide.windows.Workspace.getBounds()
Do no use. It is redundant. |
org.openide.filesystems.FileSystem.getCapability()
Capabilities are no longer used. |
org.openide.windows.TopComponent.getCloseOperation()
Do not use. It is redundant since workspaces are not supported anymore. |
org.openide.filesystems.FileSystemCapability.Bean.getCompile()
Please use the ClassPath API instead. |
org.openide.nodes.Node.getContextActions()
Use getActions (true) instead. |
org.openide.explorer.propertysheet.PropertySheet.getCurrentPage()
Relic of the original property sheet implementation. Does nothing. |
org.openide.windows.WindowManager.getCurrentWorkspace()
Do not use. Workspaces are not supported anymore. |
org.openide.filesystems.FileSystemCapability.Bean.getDebug()
Please use the ClassPath API instead. |
org.openide.nodes.Node.getDefaultAction()
Use Node.getPreferredAction() instead. |
org.openide.nodes.AbstractNode.getDefaultAction()
Use AbstractNode.getPreferredAction() instead. |
org.openide.nodes.NodeOp.getDefaultActions()
Do not use this method. It is useless now. |
org.openide.explorer.propertysheet.PropertySheet.getDisabledPropertyColor()
Relic of the original property sheet implementation. Display of properties
is handled by the look and feel. |
org.openide.windows.Workspace.getDisplayName()
Do no use. It is redundant. |
org.openide.windows.Mode.getDisplayName()
Do not use. It is redudant. |
org.openide.explorer.propertysheet.PropertySheet.getDisplayWritableOnly()
Relic of the original property sheet implementation. Does nothing. |
org.openide.filesystems.FileSystemCapability.Bean.getDoc()
Please use JavadocForBinaryQuery instead. |
org.openide.filesystems.FileSystemCapability.Bean.getExecute()
Please use the ClassPath API instead. |
org.openide.filesystems.Repository.getFileSystems()
Please use the ClassPath API instead. |
org.openide.windows.Mode.getIcon()
Do not use. It is redundant. |
org.openide.filesystems.FileUtil.getMIMEType(String)
in favour of getMIMEType(FileObject) as MIME cannot
be generaly detected by a file object extension. |
org.openide.windows.Workspace.getModes()
Use WindowManager.getModes() instead. |
org.openide.windows.Workspace.getName()
Do no use. It is redundant. |
org.openide.filesystems.FileObject.getPackageName(char)
Please use the ClassPath API instead. |
org.openide.filesystems.FileObject.getPackageNameExt(char, char)
Please use the ClassPath API instead. |
org.openide.text.PrintSettings.getPageFormat()
Use PrintSettings.getPageFormat(PrinterJob) instead. |
org.openide.explorer.propertysheet.PropertySheet.getPlastic()
Relic of the original property sheet implementation. Does nothing. |
org.openide.explorer.propertysheet.PropertyPanel.getPropertyEditor()
The property panel does not cache the property editor, and
depending on its state, it may not consistently return the same property
editor instance on repeated calls. The current implementation will
do so for editable states, but there is no guarantee this will remain
so in the future. |
org.openide.explorer.propertysheet.PropertySheet.getPropertyPaintingStyle()
Relic of the original property sheet implementation. Does nothing. |
org.openide.util.HttpServer.getRepositoryRoot()
Assumes repository equals classpath. |
org.openide.util.HttpServer.getRepositoryURL(FileObject)
Use URLMapper instead. |
org.openide.util.HttpServer.getResourceRoot()
Use URLMapper with a URL protocol nbres . |
org.openide.util.HttpServer.getResourceURL(String)
Use URLMapper with a URL protocol nbres . |
org.openide.util.Utilities.getScreenSize()
this method is almost useless in multiple monitor configuration |
org.openide.windows.TopComponent.getSystemActions()
Use TopComponent.getActions() instead. |
org.openide.filesystems.FileSystem.getSystemName()
The system name should now be avoided in favor of identifying files persistently by URL. |
org.openide.explorer.propertysheet.PropertySheet.getValueColor()
Relic of the original property sheet implementation. Display of properties
is handled by the look and feel. |
org.openide.windows.Mode.getWorkspace()
Do not use. Worskpaces are not supporeted anymore. |
org.openide.windows.WindowManager.getWorkspaces()
Do not use. Workspaces are not supported anymore. |
org.openide.filesystems.XMLFileSystem.getXmlUrls()
experimental method. Nobody should rely on this method yet. |
org.openide.modules.ModuleInstall.installed()
Better to check specific aspects of the module's installation.
For example, a globally installed module might be used in several
user directories. Only the module itself can know whether its
special installation tasks apply to some part of the global installation,
or whether they apply to the module's usage in the current user directory.
For this reason, implementing this method cannot be guaranteed
to have useful effects. |
org.openide.actions.ActionManager.invokeAction(Action, ActionEvent)
Just use ActionListener.actionPerformed(java.awt.event.ActionEvent) directly instead. Since 4.11. |
org.openide.text.Line.isBreakpoint()
Deprecated since 1.20. Use Annotation instead. |
org.openide.filesystems.FileSystem.isHidden()
This property is now useless. |
org.openide.awt.MouseUtils.isLeftMouseButton(MouseEvent)
Offers no advantages over the standard SwingUtilities.isLeftMouseButton(java.awt.event.MouseEvent) . |
org.openide.windows.TopComponent.isOpened(Workspace)
Use TopComponent.isOpened() instead. |
org.openide.filesystems.FileSystem.isPersistent()
This property is long since useless. |
org.openide.filesystems.FileObject.isReadOnly()
Please use the FileObject.canWrite() . |
org.openide.awt.MouseUtils.isRightMouseButton(MouseEvent)
Offers no advantages over the standard SwingUtilities.isRightMouseButton(java.awt.event.MouseEvent) . |
org.openide.text.NbDocument.markBreakpoint(StyledDocument, int)
since 1.20. Use addAnnotation() instead |
org.openide.text.NbDocument.markCurrent(StyledDocument, int)
since 1.20. Use addAnnotation() instead |
org.openide.text.Line.markCurrentLine()
Deprecated since 1.20. Use Annotation.attach(org.openide.text.Annotatable) instead. |
org.openide.text.Line.markError()
Deprecated since 1.20. Use Annotation.attach(org.openide.text.Annotatable) instead. |
org.openide.text.NbDocument.markError(StyledDocument, int)
since 1.20. Use addAnnotation() instead |
org.openide.text.NbDocument.markNormal(StyledDocument, int)
since 1.20. Use addAnnotation() instead |
org.openide.util.WeakListener.node(NodeListener, Object)
Use NodeOp.weakNodeListener(org.openide.nodes.NodeListener, java.lang.Object) or WeakListeners.create(java.lang.Class, java.util.EventListener, java.lang.Object) |
org.openide.windows.TopComponent.open(Workspace)
Use TopComponent.open() instead. |
org.openide.windows.TopComponent.openNotify()
Use TopComponent.componentOpened() instead. |
org.openide.util.Utilities.partialSort(List, Comparator, boolean)
Deprecated in favor of the potentially much faster (and possibly more correct) Utilities.topologicalSort(java.util.Collection, java.util.Map) . |
org.openide.util.actions.NodeAction.performAction()
Do not call this programmatically.
Use NodeAction.createContextAwareInstance(org.openide.util.Lookup) to pass in a node selection.
Do not override this method. |
org.openide.util.RequestProcessor.postRequest(Runnable)
Sharing of one singlethreaded RequestProcessor
among different users and posting even blocking requests is inherently
deadlock-prone. See use cases. |
org.openide.util.RequestProcessor.postRequest(Runnable, int)
Sharing of one singlethreaded RequestProcessor
among different users and posting even blocking requests is inherently
deadlock-prone. See use cases. |
org.openide.util.RequestProcessor.postRequest(Runnable, int, int)
Sharing of one singlethreaded RequestProcessor
among different users and posting even blocking requests is inherently
deadlock-prone. See use cases. |
org.openide.filesystems.MultiFileSystem.prepareEnvironment(FileSystem.Environment)
Useless. |
org.openide.filesystems.LocalFileSystem.prepareEnvironment(FileSystem.Environment)
Useless. |
org.openide.filesystems.JarFileSystem.prepareEnvironment(FileSystem.Environment)
Useless. |
org.openide.filesystems.FileSystem.prepareEnvironment(FileSystem.Environment)
Please use the ClassPath API instead. |
org.openide.util.WeakListener.propertyChange(PropertyChangeListener, Object)
Use WeakListeners.propertyChange(java.beans.PropertyChangeListener, java.lang.Object) |
org.openide.filesystems.Repository.readExternal(ObjectInput)
Unused. |
org.openide.text.IndentEngine.register(String, IndentEngine)
IndentEngine now is a ServiceType |
org.openide.util.HttpServer.registerServer(HttpServer.Impl)
As of 2.11 use Lookup instead of registering HTTP server |
org.openide.windows.Workspace.remove()
Do no use. It is redundant. |
org.openide.text.CloneableEditorSupport.removeChangeListener(ChangeListener)
Deprecated since 3.40. Use CloneableEditorSupport.removePropertyChangeListener(java.beans.PropertyChangeListener) instead.
See also EditorCookie.Observable . |
org.openide.filesystems.Repository.removeFileChangeListener(FileChangeListener)
useless because there is no filesystem but only
default filesystem in Repository. Add new listener directly to
default filesystem Repository.getDefaultFileSystem() . |
org.openide.filesystems.Repository.removeFileSystem(FileSystem)
Please use the ClassPath API instead. |
org.openide.windows.Workspace.removePropertyChangeListener(PropertyChangeListener)
Use WindowManager.removePropertyChangeListener(java.beans.PropertyChangeListener) instead. |
org.openide.filesystems.Repository.removeRepositoryListener(RepositoryListener)
Please use the ClassPath API instead. |
org.openide.filesystems.Repository.reorder(int[])
Please use the ClassPath API instead. |
org.openide.windows.TopComponent.requestFocus()
Use TopComponent.requestActive() instead to make TopComponent active
in window system not only focused. This method should have been preserved
for focus management only but not activation of TopComponent inside
window system. The default implementation does nothing, and does not call
super.requestFocus(). |
org.openide.windows.TopComponent.requestFocusInWindow()
Use TopComponent.requestActive() instead to make TopComponent active
in window system not only focused. This method should have been preserved
for focus management only but not activation of TopComponent inside
window system. The default implementation does nothing, and does not call
super.requestFocusInWindow(). |
org.openide.util.actions.CallbackSystemAction.setActionPerformer(ActionPerformer)
use TopComponent.getActionMap() as described in the javadoc |
org.openide.text.Line.setBreakpoint(boolean)
Deprecated since 1.20. Use Annotation.attach(org.openide.text.Annotatable) instead. |
org.openide.filesystems.FileSystem.setCapability(FileSystemCapability)
Capabilities are no longer used. |
org.openide.util.NbBundle.setClassLoaderFinder(NbBundle.ClassLoaderFinder)
Useless. |
org.openide.windows.TopComponent.setCloseOperation(int)
Do not use. It is redundant since workspaces are not supported anymore. |
org.openide.filesystems.FileSystemCapability.Bean.setCompile(boolean)
Please use the ClassPath API instead. |
org.openide.nodes.AbstractNode.setCookieSet(CookieSet)
just use getCookieSet().add(...) instead |
org.openide.explorer.propertysheet.PropertySheet.setCurrentPage(int)
Relic of the original property sheet implementation. Does nothing. |
org.openide.explorer.propertysheet.PropertySheet.setCurrentPage(String)
Relic of the original property sheet implementation. Does nothing. |
org.openide.filesystems.FileSystemCapability.Bean.setDebug(boolean)
Please use the ClassPath API instead. |
org.openide.nodes.AbstractNode.setDefaultAction(SystemAction)
Override AbstractNode.getPreferredAction() instead. |
org.openide.nodes.NodeOp.setDefaultActions(SystemAction[])
Useless. |
org.openide.explorer.propertysheet.PropertySheet.setDisabledPropertyColor(Color)
Relic of the original property sheet implementation. Does nothing. |
org.openide.explorer.propertysheet.PropertySheet.setDisplayWritableOnly(boolean)
Relic of the original property sheet implementation. Does nothing. |
org.openide.filesystems.FileSystemCapability.Bean.setDoc(boolean)
Please use JavadocForBinaryQuery instead. |
org.openide.filesystems.FileSystemCapability.Bean.setExecute(boolean)
Please use the ClassPath API instead. |
org.openide.awt.HtmlBrowser.setFactory(HtmlBrowser.Factory)
Use Lookup instead to register factories |
org.openide.filesystems.FileSystem.setHidden(boolean)
This property is now useless. |
org.openide.filesystems.FileObject.setImportant(boolean)
No longer used. Instead use
SharabilityQuery . |
org.openide.awt.Actions.setMenuText(AbstractButton, String, boolean)
Use either AbstractButton.setText(java.lang.String) or Mnemonics.setLocalizedText(AbstractButton, String) as appropriate. |
org.openide.filesystems.FileUtil.setMIMEType(String, String)
You should instead use the more general MIMEResolver system. |
org.openide.actions.ToolsAction.setModel(ToolsAction.Model)
Useless, see ActionManager . |
org.openide.actions.PasteAction.setPasteTypes(PasteType[])
Use TopComponent.getActionMap ().put (javax.swing.text.DefaultEditorKit.pasteAction, yourPasteAction);
If you want register more paste types then use an action which delegates to
an array of PasteAction or also can delegate to an array of
org.openide.util.datatransfer.PasteType . |
org.openide.explorer.propertysheet.PropertySheet.setPlastic(boolean)
Relic of the original property sheet implementation. Display of properties
is handled by the look and feel. |
org.openide.explorer.propertysheet.PropertySheet.setPropertyPaintingStyle(int)
Relic of the original property sheet implementation. Does nothing. |
org.openide.ServiceType.Registry.setServiceTypes(List)
Better to change service instance files instead. |
org.openide.filesystems.FileSystem.setSystemName(String)
The system name should now be avoided in favor of identifying files persistently by URL. |
org.openide.explorer.propertysheet.PropertySheet.setValueColor(Color)
Relic of the original property sheet implementation. Display of properties
is handled by the look and feel. |
org.openide.windows.WindowManager.setWorkspaces(Workspace[])
Do not use. Workspaces are not supported anymore. |
org.openide.filesystems.XMLFileSystem.setXmlUrls(URL[])
experimental method. Nobody should rely on this method yet. |
org.openide.explorer.view.NodeRenderer.sharedInstance()
This method no longer returns a shared instance, as it
caused problems with one view setting properties (such as enabled
state) on the renderer and the renderer then being used in its altered
state by a different view. Views should create their own instance of
NodeRenderer instead. |
org.openide.util.Utilities.showJFileChooser(JFileChooser, Component, String)
Not needed in JDK 1.4. |
org.openide.filesystems.Repository.toArray()
Please use the ClassPath API instead. |
org.openide.util.Utilities.toFile(URL)
Use URI.URI(String) and File.File(URI) instead under JDK 1.4.
(There was no proper equivalent under JDK 1.3.) |
org.openide.util.Utilities.toURL(File)
Use File.toURI() and URI.toURL() instead under JDK 1.4.
(File.toURL() is buggy in JDK 1.3 and the bugs are not fixed in JDK 1.4.) |
org.openide.text.Line.unmarkCurrentLine()
Deprecated since 1.20. Use Annotation.detach() instead. |
org.openide.text.Line.unmarkError()
Deprecated since 1.20. Use Annotation.detach() instead. |
org.openide.modules.ModuleInstall.updated(int, String)
Better to check specific aspects of the module's installation.
For example, a globally installed module might be used in several
user directories. Only the module itself can know whether its
special installation tasks apply to some part of the global installation,
or whether they apply to the module's usage in the current user directory.
For this reason, implementing this method cannot be guaranteed
to have useful effects. |
org.openide.util.WeakListener.vetoableChange(VetoableChangeListener, Object)
Use WeakListeners.vetoableChange(java.beans.VetoableChangeListener, java.lang.Object) |
org.openide.util.Utilities.wrapString(String, int, boolean, boolean)
Use (String, int, BreakIterator, boolean) as it is friendlier to I18N. |
org.openide.util.Utilities.wrapStringToArray(String, int, boolean, boolean)
use Utilities.wrapStringToArray(String, int, BreakIterator, boolean) since it is better for I18N |
org.openide.filesystems.Repository.writeExternal(ObjectOutput)
Unused. |