ItEr56S09RFAspectosGraficosRecursoLimitantesItEr55S11: Moved LimitingResources components to navalplanner-webapp module
This commit is contained in:
parent
47853c5934
commit
333cd297b6
14 changed files with 33 additions and 49 deletions
|
|
@ -49,22 +49,6 @@
|
|||
</component>
|
||||
|
||||
|
||||
<component>
|
||||
<component-name>LimitingResourcesList</component-name>
|
||||
<component-class>org.zkoss.ganttz.limitingresources.LimitingResourcesList</component-class>
|
||||
<mold>
|
||||
<mold-name>default</mold-name>
|
||||
<mold-uri>~./ganttz/limitingresources/limitingresourceslist.dsp</mold-uri>
|
||||
</mold>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<component-name>LimitingResourcesLeftPane</component-name>
|
||||
<component-class>org.zkoss.ganttz.limitingresources.LimitingResourcesLeftPane</component-class>
|
||||
<macro-uri>~./ganttz/limitingresources/leftPane.zul</macro-uri>
|
||||
</component>
|
||||
|
||||
|
||||
<component>
|
||||
<component-name>leftPane</component-name>
|
||||
<component-class>org.zkoss.ganttz.LeftPane</component-class>
|
||||
|
|
@ -96,16 +80,6 @@
|
|||
</mold>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<component-name>limitingresources</component-name><!-- Limiting resources queue -->
|
||||
<component-class>org.zkoss.ganttz.limitingresources.LimitingResourcesComponent
|
||||
</component-class>
|
||||
<mold>
|
||||
<mold-name>default</mold-name>
|
||||
<mold-uri>~./ganttz/limitingresources/limitingresources.dsp</mold-uri>
|
||||
</mold>
|
||||
</component>
|
||||
|
||||
|
||||
<component>
|
||||
<component-name>taskRow</component-name>
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
<%@ 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="row_resourceload resourcequeue-${self.resourceLoadType}"
|
||||
z.autoz="true" ${self.outerAttrs}">
|
||||
<span class="resourceload_name">${self.resourceLoadName}</span>
|
||||
<c:forEach var="child" items="${self.children}">
|
||||
${z:redraw(child, null)}
|
||||
</c:forEach>
|
||||
</div>
|
||||
|
||||
|
|
@ -209,7 +209,7 @@ public class LimitingResourceQueueModel implements ILimitingResourceQueueModel {
|
|||
List<LimitingResourceQueue> result = new ArrayList<LimitingResourceQueue>();
|
||||
for (Resource resource : allResources) {
|
||||
LimitingResourceQueue group = buildGroup(resource);
|
||||
if (false || !group.isEmpty()) {
|
||||
if (!group.isEmpty()) {
|
||||
result.add(group);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package org.zkoss.ganttz.limitingresources;
|
||||
package org.navalplanner.web.limitingresources;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
|
@ -28,13 +28,12 @@ import java.util.List;
|
|||
|
||||
import org.apache.commons.lang.Validate;
|
||||
import org.navalplanner.business.orders.entities.Order;
|
||||
import org.navalplanner.web.limitingresources.LimitingResourcesPanel.IToolbarCommand;
|
||||
import org.navalplanner.web.planner.order.BankHolidaysMarker;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.config.BeanDefinition;
|
||||
import org.springframework.context.annotation.Scope;
|
||||
import org.springframework.stereotype.Component;
|
||||
import org.zkoss.ganttz.limitingresources.LimitingResourcesPanel;
|
||||
import org.zkoss.ganttz.limitingresources.LimitingResourcesPanel.IToolbarCommand;
|
||||
import org.zkoss.ganttz.resourceload.IFilterChangedListener;
|
||||
import org.zkoss.ganttz.timetracker.TimeTracker;
|
||||
import org.zkoss.ganttz.timetracker.zoom.SeveralModificators;
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package org.zkoss.ganttz.limitingresources;
|
||||
package org.navalplanner.web.limitingresources;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package org.zkoss.ganttz.limitingresources;
|
||||
package org.navalplanner.web.limitingresources;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
||||
|
|
@ -18,7 +18,7 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package org.zkoss.ganttz.limitingresources;
|
||||
package org.navalplanner.web.limitingresources;
|
||||
|
||||
import static org.zkoss.ganttz.i18n.I18nHelper._;
|
||||
|
||||
|
|
@ -67,7 +67,7 @@ public class LimitingResourcesPanel extends HtmlMacroComponent {
|
|||
|
||||
private TimeTracker timeTracker;
|
||||
|
||||
private LimitingDependencyList dependencyList;
|
||||
// private LimitingDependencyList dependencyList;
|
||||
|
||||
// private WeakReferencedListeners<IFilterChangedListener> zoomListeners =
|
||||
// WeakReferencedListeners.create();
|
||||
|
|
@ -84,9 +84,33 @@
|
|||
|
||||
<component>
|
||||
<component-name>LimitingResourcesPanel</component-name>
|
||||
<component-class>org.zkoss.ganttz.limitingresources.LimitingResourcesPanel</component-class>
|
||||
<component-class>org.navalplanner.web.limitingresources.LimitingResourcesPanel</component-class>
|
||||
<macro-uri>/limitingresources/limitingResourcesLayout.zul</macro-uri>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<component-name>LimitingResourcesList</component-name>
|
||||
<component-class>org.navalplanner.web.limitingresources.LimitingResourcesList</component-class>
|
||||
<mold>
|
||||
<mold-name>default</mold-name>
|
||||
<mold-uri>/limitingresources/limitingresourceslist.dsp</mold-uri>
|
||||
</mold>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<component-name>LimitingResourcesLeftPane</component-name>
|
||||
<component-class>org.navalplanner.web.limitingresources.LimitingResourcesLeftPane</component-class>
|
||||
<macro-uri>/limitingresources/leftPane.zul</macro-uri>
|
||||
</component>
|
||||
|
||||
<component>
|
||||
<component-name>limitingresources</component-name><!-- Limiting resources queue -->
|
||||
<component-class>org.navalplanner.web.limitingresources.LimitingResourcesComponent</component-class>
|
||||
<mold>
|
||||
<mold-name>default</mold-name>
|
||||
<mold-uri>/limitingresources/limitingresources.dsp</mold-uri>
|
||||
</mold>
|
||||
</component>
|
||||
|
||||
|
||||
</language-addon>
|
||||
|
|
|
|||
|
|
@ -506,7 +506,7 @@ tr.z-vbox-sep {
|
|||
}
|
||||
|
||||
.resourceloadleftpane .icono img {
|
||||
height: 18px;
|
||||
height: 17px;
|
||||
}
|
||||
|
||||
/* -- Upper taskpannel is hidden --*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue