|
org.openide.explorer 6.5.31 1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Explorer API | |
---|---|
org.openide.explorer | Many different UI components of the IDE are actually Explorer views of nodes. |
org.openide.explorer.propertysheet | The exact properties of a node may be displayed and edited with the Property Sheet. |
org.openide.explorer.propertysheet.editors | |
org.openide.explorer.view | The Explorer is really an abstraction that needs a view to actually display the nodes. |
When doing drag and drop of nodes from explorer to another place in explorer the Node.drag method is called when doing copy and in both cases of copy or move the ExClipboard.convert method is called for Transferable containing all the nodes, so one can wrap the whole transfer with pre and post operations.
ColumnMnemonicCharTTV
property to NodeTableModel
The new property allows you to specify a mnemonic character for display names
of TreeTableView
columns.
String[]
One can specify an item separator for properties using string array editor. For example following code:
Node.Property np = new Node.Property (String[].class, ...); np.setValue ("item.separator", "-");separates items returned from
getAsText
and parsed by setAsText
by -. List of supported parameters can be found here.
Nodes that need to supress default confirmation dialog shown during delete action
can do this if they return Boolean.TRUE
from Node.getValue(String)
for attribute customDelete.
TreeView.drag/dropActive
switcher
The methods TreeView.setDragSource(boolean)
and TreeView.setDropTarget
can set drag/dropActive on/off. The drag source and drop target are enabled by default.
Before the views were forced to be drag/drop active no matter what state was set.
|
|
Read more about the implementation in the answers to architecture questions.
|
org.openide.explorer 6.5.31 1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |