ItEr28S06CUAsignacionGrupoRecursosAPlanificacionItEr27S06: TimeTrackedTableWithLeftPane is no longer a zk component

This commit is contained in:
Óscar González Fernández 2009-10-02 19:33:38 +02:00
parent d810f41161
commit ca6b1ea55e
3 changed files with 1 additions and 47 deletions

View file

@ -29,13 +29,12 @@ import org.zkoss.ganttz.timetracker.zoom.DetailItem;
import org.zkoss.ganttz.timetracker.zoom.IZoomLevelChangedListener;
import org.zkoss.ganttz.timetracker.zoom.ZoomLevel;
import org.zkoss.zul.Columns;
import org.zkoss.zul.Div;
import org.zkoss.zul.Grid;
import org.zkoss.zul.ListModel;
import org.zkoss.zul.ListModelList;
import org.zkoss.zul.api.Column;
public class TimeTrackedTableWithLeftPane<A, B> extends Div {
public class TimeTrackedTableWithLeftPane<A, B> {
private final TimeTrackedTable<B> timeTrackedTable;
private Grid leftPane;
@ -63,8 +62,6 @@ public class TimeTrackedTableWithLeftPane<A, B> extends Div {
leftPane.appendChild(createColumns(leftPaneColumns));
leftPane.setRowRenderer(OnColumnsRowRenderer.create(
leftPaneCellRenderer, leftPaneColumns));
appendChild(leftPane);
appendChild(timeTrackedTable);
loadModelForLeftPane();
}
@ -121,7 +118,6 @@ public class TimeTrackedTableWithLeftPane<A, B> extends Div {
private boolean afterComposeCalled = false;
public TimeTrackedTable<B> getTimeTrackedTable() {
if (!afterComposeCalled) {
timeTrackedTable.afterCompose();
afterComposeCalled = true;

View file

@ -138,15 +138,6 @@
<macro-uri>~./ganttz/zul/timetracker/timetrackedtable.zul</macro-uri>
</component>
<component>
<component-name>timetrackedTableWithLeftPane</component-name>
<component-class>org.zkoss.ganttz.timetracker.TimeTrackedTableWithLeftPane</component-class>
<mold>
<mold-name>default</mold-name>
<mold-uri>~./ganttz/timetrackedTableWithLeftPane.dsp</mold-uri>
</mold>
</component>
<component>
<component-name>scripts</component-name>
<component-class>org.zkoss.ganttz.util.script.ScriptsComponent</component-class>

View file

@ -1,33 +0,0 @@
<!--
This file is part of ###PROJECT_NAME###
Copyright (C) 2009 Fundación para o Fomento da Calidade Industrial e
Desenvolvemento Tecnolóxico de Galicia
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<%@ taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c" %>
<%@ taglib uri="http://www.zkoss.org/dsp/zk/core" prefix="z" %>
<c:set var="self" value="${requestScope.arg.self}"/>
<div id="${self.uuid}" class="timetrackedTableWithLeftPane"
z.type="ganttz.timetrackedTableWithLeftPane.TimeTrackedTableWithLeftPane"
${self.outerAttrs}">
<div class="leftPaneOfTimeTrackedTable">
${z:redraw(self.leftPane, null)}
</div>
${z:redraw(self.timeTrackedTable, null)}
</div>