Ignore:
Timestamp:
Dec 12, 2013, 12:14:25 PM (11 years ago)
Author:
garnier
Message:

Modifications en vue de changer l'interface utilisateur

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/userInterface/src/GWt_elementLigneFaisceau.cc

    r437 r449  
    1919#define PSPA_DEBUG 1
    2020
    21 GWt_elementLigneFaisceau::GWt_elementLigneFaisceau(PspaApplication* pspa)
     21GWt_elementLigneFaisceau::GWt_elementLigneFaisceau(PspaApplication* pspa,GWt_LigneFaisceau* ligne)
    2222  : WContainerWidget(),
    2323    firstTimeInsertMessage_(NULL),
     
    2828    pspa_(pspa)
    2929{
    30   initialize_ligneFaisceau(nomdElements::inconnu);
    31 }
    32 
    33 
    34 GWt_elementLigneFaisceau::GWt_elementLigneFaisceau(nomdElements::typedElement type,PspaApplication* pspa)
     30  initialize_ligneFaisceau(nomdElements::inconnu,ligne);
     31}
     32
     33
     34GWt_elementLigneFaisceau::GWt_elementLigneFaisceau(nomdElements::typedElement type,PspaApplication* pspa,GWt_LigneFaisceau* ligne)
    3535  : WContainerWidget(),
    3636    firstTimeInsertMessage_(NULL),
     
    4343  // set the css name
    4444  setObjectName("elementLigneFaisceau");
    45   initialize_ligneFaisceau(type);
    46 }
    47 
    48 void GWt_elementLigneFaisceau::initialize_ligneFaisceau(nomdElements::typedElement eType)
     45  initialize_ligneFaisceau(type,ligne);
     46}
     47
     48void GWt_elementLigneFaisceau::initialize_ligneFaisceau(nomdElements::typedElement eType,GWt_LigneFaisceau* ligne)
    4949{   
    5050  cout << " new GWt_elementLigneFaisceau : "<< nomdElements::getLabelFromType(eType) << endl;
     
    6262 
    6363  // add first line :  initialize arrow and link images
    64   dropZoneLeft_ = new GWt_dropZoneLigneFaisceau(pspa_);
    65   dropZoneRight_ = new GWt_dropZoneLigneFaisceau(pspa_);
     64  dropZoneLeft_ = new GWt_dropZoneLigneFaisceau(pspa_,ligne);
     65  dropZoneRight_ = new GWt_dropZoneLigneFaisceau(pspa_,ligne);
    6666 
    6767  // change object name in order to manage css :
     
    7373 
    7474  // add first line :  initialize arrow and link images
    75   dropZoneLeft_ = new GWt_dropZoneLigneFaisceau(pspa_);
    76   dropZoneRight_ = new GWt_dropZoneLigneFaisceau(pspa_);
     75  dropZoneLeft_ = new GWt_dropZoneLigneFaisceau(pspa_,ligne);
     76  dropZoneRight_ = new GWt_dropZoneLigneFaisceau(pspa_,ligne);
    7777 
    7878  // change object name in order to manage css :
Note: See TracChangeset for help on using the changeset viewer.