|
|
For general overview of the concepts related to nodes and explorers, together with code samples, see chapter 7, of NetBeans Platform for Beginners by Jason Wexbridge and Walter Nyland.
Question (arch-time): What are the time estimates of the work? WARNING: Question with id="arch-time" has not been answered! Question (arch-quality): How will the quality of your code be tested and how are future regressions going to be prevented? WARNING: Question with id="arch-quality" has not been answered! Question (arch-where): Where one can find sources for your module? WARNING: Question with id="arch-where" has not been answered!The default answer to this question is:
These modules are required in project.xml:
java.io.File
directly?
Answer:
No
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
Question (resources-preferences):
Does your module uses preferences via Preferences API? Does your module use NbPreferences or
or regular JDK Preferences ? Does it read, write or both ?
Does it share preferences with other modules ? If so, then why ?
WARNING: Question with id="resources-preferences" has not been answered!org.openide.util.Lookup
or any similar technology to find any components to communicate with? Which ones?
Answer:
Nodes use lookup to communicate with other components. Each node
contains own lookup wich is used for augmenting nodes with extended
functionality and data. Nodes do not depend on content of other Lookups.
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?
On a similar note, is there something interesting that you
pass to java.util.logging.Logger
? Or do you observe
what others log?
Answer:
No
Question (exec-component):
Is execution of your code influenced by any (string) property
of any of your components?
Answer:
BeanNode
which serves for default visualisation of JavaBeans uses the
"helpID", "propertiesHelpID" and "expertHelpID" form BeanDescriptor of given bean.
to link with help files.
helpID
- For providing help sets for JavaBeans
propertiesHelpID
- For providing help sets for JavaBeans proerties
expertHelpID
- For providing help sets for JavaBeans properties
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:
BeanNode obviously depends on reflection to get values of beans properties, which shouldn't be considered lack of API. Same applyies to PropertySupport and IndexedPropertySupport.
ProjectManagerMutex -A test in Children checks that
org.netbeans.api.project.ProjectManager.mutex()
is not held by the current
thread when acquiring Children.MUTEX.
Since this module cannot depend on the module providing ProjectManager
,
the test uses reflection to retrieve the ProjectManager.mutex()
instance.
instanceof
,
work with java.lang.Class
, etc.)?
Answer:
Yes.
java.awt.datatransfer.Transferable
?
Answer:
Nodes provide default implementation of clipboard operations on nodes. This
can be extendeded by specific implementation of nodes by overloading:
Node.clipboardCopy(),
Node.cliboardCut(),
Node.getPasteTypes()
Default Transferables for nodes can be obtained using.
NodeTransfer class
IndexedCustomizer provides own DataFlavor transfering indices.