public boolean isDDMStructureVisible(DDMStructure ddmStructure) {
return true;
}
@Override
public boolean isPublishButtonDisabled() {
<BUG>if ((_fileEntryDisplayContextHelper.isCheckedOut() &&

!_fileEntryDisplayContextHelper.isLockedByMe()) ||</BUG>
(_fileVersionDisplayContextHelper.isPending() &&
<BUG>_isEnableFileEntryDrafts())) {
return true;</BUG>
}

public boolean isDDMStructureVisible(DDMStructure ddmStructure) {
return true;
}
@Override
public boolean isPublishButtonDisabled() {
if (_fileEntryDisplayContextHelper.isCheckedOutByMe() ||
(_fileVersionDisplayContextHelper.isPending() &&
_dlPortletInstanceSettings.isEnableFileEntryDrafts())) {
return true;
}
