BrightSide Workbench Full Report + Source Code
org.turro.financials.document.action.RelationViewAction Class Reference
Inheritance diagram for org.turro.financials.document.action.RelationViewAction:
Collaboration diagram for org.turro.financials.document.action.RelationViewAction:

Public Member Functions

Object execute (Context context)
 
String getLabel ()
 
String getImage ()
 

Detailed Description

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

Definition at line 32 of file RelationViewAction.java.

Member Function Documentation

◆ execute()

Object org.turro.financials.document.action.RelationViewAction.execute ( Context  context)

Definition at line 35 of file RelationViewAction.java.

35  {
36  Framework frame = Framework.getCurrent();
37  RelationshipViewer rpv = new RelationshipViewer();
38  rpv.setDocument((Document) context.get("entity"));
39  rpv.notifyChange();
40  SelectionDialog.showComponent(frame.getPage(), getLabel(), rpv, "80%", "450px", null);
41  return null;
42  }
Here is the call graph for this function:

◆ getImage()

String org.turro.financials.document.action.RelationViewAction.getImage ( )

Reimplemented from org.turro.action.AbstractAction.

Definition at line 50 of file RelationViewAction.java.

50  {
51  return "/_zul/images/relation.png";
52  }

◆ getLabel()

String org.turro.financials.document.action.RelationViewAction.getLabel ( )

Reimplemented from org.turro.action.AbstractAction.

Definition at line 45 of file RelationViewAction.java.

45  {
46  return I_.get("Relations");
47  }
Here is the call graph for this function:
Here is the caller graph for this function:

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