|
|
Default answer to this question is:
These modules are required in project.xml file:
java.io.File
directly?
Answer:
Yes, for showing absolute filename path in the tooltip.
Question (resources-layer):
Does your module provide own layer? Does it create any files or
folders in it? What it is trying to communicate by that and with which
components?
Answer:
No.
Question (resources-read):
Does your module read any resources from layers? For what purpose?
Answer:
No.
Question (resources-mask):
Does your module mask/hide/override any resources provided by other modules in
their layers?
Answer:
No.
org.openide.util.Lookup
or any similar technology to find any components to communicate with? Which ones?
Answer:
Yes, it looks for IndentEngine service type class. This class is defined in
this module. The first one indentation engine found for the given MIME is returned.
Others are ignored.
Question (lookup-register):
Do you register anything into lookup for other code to find?
Answer:
No.
Question (lookup-remove):
Do you remove entries of other modules from lookup?
Answer:
No.
System.getProperty
) property?
Answer:
No.
Question (exec-component):
Is execution of your code influenced by any (string) property
of any of your components?
Answer:
The module can be influencend by this property:
indentEngine
-
Property hold instance of IndentEngine
and this indentation engine is used instead of system one.
It set these Swing properties:
javax.swing.text.Document.StreamDescriptionProperty
-
Property hold instance of DataObject
from which the document was created. This property can be used by the modules and is part of the Editor API.
javax.swing.text.Document.TitleProperty
-
Property hold instance of String with name of the file being edited.
This property can be used by the modules and is part of the Editor API.
javax.swing.text.Document.modificationListener
-
In order to fix issue 51872 the
openide needs a way how to be notified about change of a document outside of its Document lock.
DocumentListener
s are always notified under the lock, so a special contract has
been established (since version 5.3) by registering an instance of VetoableListener
by calling putProperty ("modificationListener", listener)
. The
NetBeans aware documents are adviced to honor this property and call the listener
outside of the document lock when a modification is made. The actual contract
of the call can be seen in
NbLikeEditorKit.java
in methods
insertString
and remove
.
Question (exec-ant-tasks):
Do you define or register any ant tasks that other can use?
WARNING: Question with id="exec-ant-tasks" has not been answered!
Question (exec-classloader):
Does your code create its own class loader(s)?
Answer:
No.
Question (exec-reflection):
Does your code use Java Reflection to execute other code?
Answer:
Yes, it calls protected method MultiDataObject.getCookieSet().
The class which calls this is deprecated, but it is still in use by clients.
Another reflection is used in QuietEditorPane, where DelegatingTransferHandler delegates
also on two protected methods of TransferHandler: createTransferable
and
exportDone
. This delegation is needed because of drag and drop feature described
in issue #53439
Question (exec-privateaccess):
Are you aware of any other parts of the system calling some of
your methods by reflection?
Answer:
No.
Question (exec-process):
Do you execute an external process from your module? How do you ensure
that the result is the same on different platforms? Do you parse output?
Do you depend on result code?
Answer:
No.
Question (exec-introspection):
Does your module use any kind of runtime type information (instanceof
,
work with java.lang.Class
, etc.)?
Answer:
The Editor module operate with plain Swing Document in
its APIs and checks whether the document does not implement some of the Netbeans extensions defined in
NbDocument.
It also tries to retype CloneableTopComponent.Ref.getComponents()
to its CloneableEditor. If some document does not implement
StyledDocument,
it is wrapped into FilterDocument which implements limited StyledDocument functionality.
Question (exec-threading):
What threading models, if any, does your module adhere to?
WARNING: Question with id="exec-threading" has not been answered!
Question (security-policy):
Does your functionality require modifications to the standard policy file?
WARNING: Question with id="security-policy" has not been answered!
Question (security-grant):
Does your code grant additional rights to some other code?
WARNING: Question with id="security-grant" has not been answered!java.awt.datatransfer.Transferable
?
Answer:
None.
Built on May 3 2007. | Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.