public int commandToDocType(String strCommand)
    {
        if (ProjectTask.PROJECT_PREDECESSOR_DETAIL_SCREEN.equalsIgnoreCase(strCommand))
            return ProjectTask.PROJECT_PREDECESSOR_DETAIL_MODE;
        if (ProjectTask.PROJECT_TASK_CALENDAR_SCREEN.equalsIgnoreCase(strCommand))
            return ProjectTask.PROJECT_TASK_CALENDAR_MODE;
        return super.commandToDocType(strCommand);
    }
public int commandToDocType ( String strCommand ) { if ( ProjectTask . PROJECT_PREDECESSOR_DETAIL_SCREEN . equalsIgnoreCase ( strCommand ) ) return ProjectTask . PROJECT_PREDECESSOR_DETAIL_MODE ; if ( ProjectTask . PROJECT_TASK_CALENDAR_SCREEN . equalsIgnoreCase ( strCommand ) ) return ProjectTask . PROJECT_TASK_CALENDAR_MODE ; return super . commandToDocType ( strCommand ) ; }
Convert the command to the screen document type.
@param strCommand The command text.
@param The standard document type (MAINT/DISPLAY/SELECT/MENU/etc).