BrightSide Workbench Full Report + Source Code
org.turro.file.action.EditAction Class Reference
Inheritance diagram for org.turro.file.action.EditAction:
Collaboration diagram for org.turro.file.action.EditAction:

Public Member Functions

 EditAction (FileWrapper fw)
 
String getLabel ()
 
String getImage ()
 
Object doAction ()
 
boolean refreshParent ()
 
boolean refreshSelf ()
 
boolean isClientSide ()
 

Static Public Member Functions

static boolean fits (File file)
 

Detailed Description

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

Definition at line 29 of file EditAction.java.

Constructor & Destructor Documentation

◆ EditAction()

org.turro.file.action.EditAction.EditAction ( FileWrapper  fw)

Definition at line 33 of file EditAction.java.

33  {
34  this.fw = fw;
35  }

Member Function Documentation

◆ doAction()

Object org.turro.file.action.EditAction.doAction ( )

Implements org.turro.file.action.FileAction.

Definition at line 48 of file EditAction.java.

48  {
49  FileEditor.editFile(fw.getFile());
50  return null;
51  }
Here is the call graph for this function:

◆ fits()

static boolean org.turro.file.action.EditAction.fits ( File  file)
static

Definition at line 68 of file EditAction.java.

68  {
69  return file.getName().matches(".*\\.(txt|html|htm|xml|css|jsp|zul)$");
70  }
Here is the caller graph for this function:

◆ getImage()

String org.turro.file.action.EditAction.getImage ( )

Implements org.turro.file.action.FileAction.

Definition at line 43 of file EditAction.java.

43  {
44  return "/_zul/images/edit.png";
45  }

◆ getLabel()

String org.turro.file.action.EditAction.getLabel ( )

Implements org.turro.file.action.FileAction.

Definition at line 38 of file EditAction.java.

38  {
39  return I_.get("Edit");
40  }
Here is the call graph for this function:

◆ isClientSide()

boolean org.turro.file.action.EditAction.isClientSide ( )

Implements org.turro.file.action.FileAction.

Definition at line 64 of file EditAction.java.

64  {
65  return false;
66  }

◆ refreshParent()

boolean org.turro.file.action.EditAction.refreshParent ( )

Implements org.turro.file.action.FileAction.

Definition at line 54 of file EditAction.java.

54  {
55  return false;
56  }

◆ refreshSelf()

boolean org.turro.file.action.EditAction.refreshSelf ( )

Implements org.turro.file.action.FileAction.

Definition at line 59 of file EditAction.java.

59  {
60  return false;
61  }

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