Subversion Repositories eFlore/Archives.cel-v1

Compare Revisions

Ignore whitespace Rev 26 → Rev 27

/trunk/src/org/tela_botanica/client/ActionPanel.java
1,18 → 1,21
/**
David Delon david.delon@clapas.net 2007
*/
 
/*
* Copyright 2006 Google Inc.
* ActionPanel.java : affichage actions sur releves saisie ou affiches (suppression, export etc...)
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
* TODO : appel de fonction du mediator, au lieu de passer par les methode de la classe de gestion d'affichage des releves (voir les TODO dans le
* corps de ce programme)
*
* 1: Le programme affiche les boutons commandant les actions sur les releves et arme les actions correspondantes
* - Transmission d'elements (vers tela botanica)
* - Suppression d'elements selectionnes
* - Export vers tableur
* - Selection / Deselection des releves affiches
*/
 
package org.tela_botanica.client;
 
 
23,11 → 26,6
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;
 
/**
* Composite permet de wrapper des Widget pour creer un nouveau Widget cf methode initWidget()
*/
 
public class ActionPanel extends Composite {
private Mediator mediator=null;
80,11 → 78,9
buttons.add(delButton);
 
// Export de la totalité
// Export (renseigne lors de l'affichage des releves )
exportButton=new HTML("<a href=\""+mediator.getServiceBaseUrl()+"/InventoryExport/"
+ mediator.getUser() +
"\">"+"Export&nbsp;tableur</a>");
exportButton=new HTML();
buttons.add(exportButton);
exportButton.setStyleName("html_button");
 
138,7 → 134,17
}
 
 
public HTML getExportButton() {
return exportButton;
}
}
public HTML getExportButton() {
return exportButton;
}
}
 
 
 
/* +--Fin du code ---------------------------------------------------------------------------------------+
* $Log$
* Revision 1.5 2007-09-17 19:25:34 ddelon
* Documentation
*
*
*/