public <T extends IntegrationEntity> ProjectItemOrder<T> getItemOrder(EntityType type, Class<T> cls) {
return new ProjectItemTreeOrder<T>(getTree(), type, cls);
}
private void setDropDownActions() {
DecorateInvalidItemsAction invalid = new DecorateInvalidItemsAction(getTree());
invalid.setPreference(InvalidItemsIndicatorPreference.INSTANCE);
DecorateDeployDirtyAction deployDirty = new DecorateDeployDirtyAction(getTree());
deployDirty.setPreference(DeployDirtyIndicatorPreference.INSTANCE);
treePanel.setDropdownActions(new Action[] { invalid, deployDirty, showFilterAction });
}