|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface IconComposer.VCProvider
Version control plugins that want to provide file status info to PV should implement this interface.
| Method Summary | |
|---|---|
int |
getFileState(java.io.File f,
java.lang.String path)
This method should return one of the VC_STATE possible values for the given file. |
javax.swing.Icon |
getIcon(int state)
This should return the icon to be used to represent the requested state. |
| Method Detail |
|---|
int getFileState(java.io.File f,
java.lang.String path)
No range checking is performed on the returned values, so make sure that the value is one of the defined constants.
f - The file, if it's a local file.path - The path to the file (absolute path if local, VFS
URL otherwise).javax.swing.Icon getIcon(int state)
state - One of the defined VC_STATE_* constants.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||