Gantt 2.3

com.ontimize.gantt.gui
Class ShowRelationImp

java.lang.Object
  extended bycom.ontimize.gantt.gui.ShowRelationImp
All Implemented Interfaces:
IShowRelationPanel

public class ShowRelationImp
extends java.lang.Object
implements IShowRelationPanel


Field Summary
static java.lang.String ACCEPT_BUTTON_TEXT
           
 ButtonCellEditor butCellEditor
           
 ButtonCellRenderer butCellRenderer
           
 Button butDialogAccept
           
 Button butDialogCancel
           
 javax.swing.JPanel butpanel
           
static java.lang.String CANCEL_BUTTON_TEXT
           
static boolean DEBUG
           
 EJDialog dpanelRelations
           
 GanttChartComponent ganttchart
           
 java.util.Hashtable hOriginalValues
           
 IntegerDataField intParentKey
          It is necessary a FormExt because table need a parentkey fixed
 IntegerDataField intParentkeyProject
           
protected  javax.swing.JLabel lrelationlabel
           
 IMassiveDatabaseOperations massiveDBOperations
           
protected  javax.swing.JPanel panelRelations
           
 Form parentform
           
static java.lang.String pathForDeleteRelationsImage
           
 RelationBuilder relationbuilder
           
protected  Task selectedtask
           
 Table tablerelationpanel
           
 TaskBuilder taskbuilder
           
 java.util.Vector vUpdatedRelations
           
 java.util.Vector vUpdatedRelationsKeysValues
           
 
Constructor Summary
ShowRelationImp(GanttChartComponent ganttchart)
           
 
Method Summary
 void addRelationsToInsert(java.lang.Object obj)
           
 void buildRelationGUI()
           
 void createComponentsInRelationPanel()
           
 void createDialogButtons()
           
 void createLabelInRelationPanel()
           
 void createRelationPanel()
           
 void disposeComponentsInRelationPanel()
           
 void disposeLabelInRelationPanel()
           
 void disposeRelationPanel()
           
 java.util.Vector getRelationsToInsert()
           
 java.lang.Object getShowRelationMode()
           
 void hideRelationPanel()
           
 void setEditors()
           
 void setparentForm(Form form)
           
 void setShowRelationMode(RelationBuilder relationbuilder)
           
 void showRelationPanel(Task task)
          This method creates and adds components to show in relation panel
static java.lang.String vectorToStringSeparateBySemicolon(java.util.Vector v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACCEPT_BUTTON_TEXT

public static final java.lang.String ACCEPT_BUTTON_TEXT
See Also:
Constant Field Values

CANCEL_BUTTON_TEXT

public static final java.lang.String CANCEL_BUTTON_TEXT
See Also:
Constant Field Values

pathForDeleteRelationsImage

public static java.lang.String pathForDeleteRelationsImage

DEBUG

public static boolean DEBUG

ganttchart

public GanttChartComponent ganttchart

dpanelRelations

public EJDialog dpanelRelations

relationbuilder

public RelationBuilder relationbuilder

taskbuilder

public TaskBuilder taskbuilder

tablerelationpanel

public Table tablerelationpanel

panelRelations

protected javax.swing.JPanel panelRelations

selectedtask

protected Task selectedtask

lrelationlabel

protected javax.swing.JLabel lrelationlabel

parentform

public Form parentform

butDialogAccept

public Button butDialogAccept

butDialogCancel

public Button butDialogCancel

butCellRenderer

public ButtonCellRenderer butCellRenderer

butCellEditor

public ButtonCellEditor butCellEditor

butpanel

public javax.swing.JPanel butpanel

vUpdatedRelations

public java.util.Vector vUpdatedRelations

vUpdatedRelationsKeysValues

public java.util.Vector vUpdatedRelationsKeysValues

hOriginalValues

public java.util.Hashtable hOriginalValues

intParentKey

public IntegerDataField intParentKey
It is necessary a FormExt because table need a parentkey fixed


intParentkeyProject

public IntegerDataField intParentkeyProject

massiveDBOperations

public IMassiveDatabaseOperations massiveDBOperations
Constructor Detail

ShowRelationImp

public ShowRelationImp(GanttChartComponent ganttchart)
Method Detail

buildRelationGUI

public void buildRelationGUI()
Specified by:
buildRelationGUI in interface IShowRelationPanel

getShowRelationMode

public java.lang.Object getShowRelationMode()

getRelationsToInsert

public java.util.Vector getRelationsToInsert()

addRelationsToInsert

public void addRelationsToInsert(java.lang.Object obj)

setShowRelationMode

public void setShowRelationMode(RelationBuilder relationbuilder)
Specified by:
setShowRelationMode in interface IShowRelationPanel

showRelationPanel

public void showRelationPanel(Task task)
This method creates and adds components to show in relation panel

Specified by:
showRelationPanel in interface IShowRelationPanel

hideRelationPanel

public void hideRelationPanel()
Specified by:
hideRelationPanel in interface IShowRelationPanel

createComponentsInRelationPanel

public void createComponentsInRelationPanel()
                                     throws java.lang.Exception
Throws:
java.lang.Exception

disposeComponentsInRelationPanel

public void disposeComponentsInRelationPanel()

createLabelInRelationPanel

public void createLabelInRelationPanel()

disposeLabelInRelationPanel

public void disposeLabelInRelationPanel()

createRelationPanel

public void createRelationPanel()
Specified by:
createRelationPanel in interface IShowRelationPanel

createDialogButtons

public void createDialogButtons()

disposeRelationPanel

public void disposeRelationPanel()

setEditors

public void setEditors()
                throws java.lang.Exception
Throws:
java.lang.Exception

setparentForm

public void setparentForm(Form form)
Specified by:
setparentForm in interface IShowRelationPanel

vectorToStringSeparateBySemicolon

public static java.lang.String vectorToStringSeparateBySemicolon(java.util.Vector v)

Gantt