public interface FileHandler
Modifier and Type | Method and Description |
---|---|
java.io.File[] |
edit(java.io.File[] files)
Called if the user start editing a file.
|
org.apache.commons.vfs2.FileObject[] |
edit(org.apache.commons.vfs2.FileObject[] urls)
Called if the user start editing a network file.
|
javax.swing.JMenuItem[] |
handle(java.io.File[] files)
Called when a context menu (popup) becomes visible.
|
javax.swing.JMenuItem[] |
handle(org.apache.commons.vfs2.FileObject[] urls)
Called when a context menu (popup) becomes visible.
|
java.io.File[] |
hexedit(java.io.File[] files)
Called if the user start hexediting a file.
|
org.apache.commons.vfs2.FileObject[] |
hexedit(org.apache.commons.vfs2.FileObject[] urls)
Called if the user start hexediting a network file.
|
java.io.File[] |
open(java.io.File[] files)
Called if the user double-clicks a file.
|
org.apache.commons.vfs2.FileObject[] |
open(org.apache.commons.vfs2.FileObject[] urls)
Called if the user double-clicks a network file.
|
javax.swing.JMenuItem[] handle(java.io.File[] files)
null
so that context menues do not become visible at
all in certain conditions.
files
- The files to be checkednull
or emptyjava.io.File[] open(java.io.File[] files)
true
to indicate that it has been opened. If it returns false
then the other handlers can be informed in the same way (first come first serve).
files
- The files to be openedjava.io.File[] edit(java.io.File[] files)
true
to indicate that it has been opened. If it returns false
then the other handlers can be informed in the same way (first come first serve).
files
- The files to be editedjava.io.File[] hexedit(java.io.File[] files)
true
to indicate that it has been opened. If it returns false
then the other handlers can be informed in the same way (first come first serve).
files
- The files to be hexeditedjavax.swing.JMenuItem[] handle(org.apache.commons.vfs2.FileObject[] urls)
null
so that context menues do not become visible at
all in certain conditions.
urls
- The network files to be checkednull
or emptyorg.apache.commons.vfs2.FileObject[] open(org.apache.commons.vfs2.FileObject[] urls)
true
to indicate that it has been opened. If it returns false
then the other handlers can be informed in the same way (first come first serve).
urls
- The network files to be openedorg.apache.commons.vfs2.FileObject[] edit(org.apache.commons.vfs2.FileObject[] urls)
true
to indicate that it has been opened. If it returns false
then the other handlers can be informed in the same way (first come first serve).
urls
- The network files to be editedorg.apache.commons.vfs2.FileObject[] hexedit(org.apache.commons.vfs2.FileObject[] urls)
true
to indicate that it has been opened. If it returns false
then the other handlers can be informed in the same way (first come first serve).
urls
- The network files to be hexeditedCopyright © 2005-2013 Leisenfels UG (haftungsbeschränkt). All rights reserved.