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

Public Member Functions

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

Detailed Description

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

Definition at line 30 of file RenameAction.java.

Constructor & Destructor Documentation

◆ RenameAction()

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

Definition at line 34 of file RenameAction.java.

34  {
35  this.fw = fw;
36  }

Member Function Documentation

◆ doAction()

Object org.turro.file.action.RenameAction.doAction ( )
Returns

Implements org.turro.file.action.FileAction.

Definition at line 53 of file RenameAction.java.

53  {
54  try {
55  fw.getFileItem().doRename();
56  } catch (InterruptedException ex) {
57  Logger.getLogger(RenameAction.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(null), ex);
58  }
59  return null;
60  }
Here is the call graph for this function:

◆ getImage()

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

Implements org.turro.file.action.FileAction.

Definition at line 44 of file RenameAction.java.

44  {
45  return null;
46  }

◆ getLabel()

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

Implements org.turro.file.action.FileAction.

Definition at line 39 of file RenameAction.java.

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

◆ isClientSide()

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

Implements org.turro.file.action.FileAction.

Definition at line 73 of file RenameAction.java.

73  {
74  return false;
75  }

◆ refreshParent()

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

Implements org.turro.file.action.FileAction.

Definition at line 63 of file RenameAction.java.

63  {
64  return false;
65  }

◆ refreshSelf()

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

Implements org.turro.file.action.FileAction.

Definition at line 68 of file RenameAction.java.

68  {
69  return true;
70  }

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