BrightSide Workbench Full Report + Source Code
org.turro.wd.tree.TreeWorkFile Class Reference
Inheritance diagram for org.turro.wd.tree.TreeWorkFile:
Collaboration diagram for org.turro.wd.tree.TreeWorkFile:

Public Member Functions

WorkFile getWorkFile ()
 
void setWorkFile (WorkFile workFile) throws ParseException
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 28 of file TreeWorkFile.java.

Member Function Documentation

◆ getWorkFile()

WorkFile org.turro.wd.tree.TreeWorkFile.getWorkFile ( )

Definition at line 32 of file TreeWorkFile.java.

32  {
33  return workFile;
34  }

◆ setWorkFile()

void org.turro.wd.tree.TreeWorkFile.setWorkFile ( WorkFile  workFile) throws ParseException

Definition at line 36 of file TreeWorkFile.java.

36  {
37  this.workFile = workFile;
38  setText(workFile.getName() +
39  (workFile.isServerLocked() ? " (locked by " + workFile.getServerLocker() + ")" : ""));
40  if(workFile.isServerLocked()) {
41  setIcon("org/turro/resource/locked.png");
42  } else if (workFile.isDownloadable()) {
43  setIcon("org/turro/resource/file-update.png");
44  } else if(workFile.isUploadable()) {
45  setIcon("org/turro/resource/file-commit.png");
46  } else {
47  setIcon("org/turro/resource/page_white.png");
48  }
49  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: