// // Copyright 2001 Perforce Software. All rights reserved. // // This file is part of Perforce - the FAST SCM System. // // p4wJobEditView: // Generates form to edit a job #include <stdlib.h> #include <string.h> #include <p4wp4.h> #include "p4wView.h" #include "p4wJobEditView.h" #include "p4wMenuPane.h" #include "p4wJobPane.h" p4wJobEditView::p4wJobEditView( p4wRequest & Request ) : p4wView( Request ) { // // Set the short and the long versions of the title fShortTitle.Set( "Edit Job" ); fFullTitle << "Edit Job " << fRequest.GetURL(); } p4wJobEditView::~p4wJobEditView() { } void p4wJobEditView::RenderContent() { // // Issue job command and send the data to the job edit pane. const char *jobPaneArgs[] = { "-o", fRequest.GetURL().Text() }; p4wJobPane jobPane( *this, fRequest, 1 ); fRequest.p4Arg( "-o" ); if( fRequest.GetURL().Length() ) fRequest.p4Arg( fRequest.GetURL().Text() ); fRequest.p4( "job", 0, NULL, &jobPane ); fRequest.p4Wait(); } void p4wJobEditView::RenderMenu() { // // Draw the menu bar p4wMenuPane menuPane( *this, fRequest, "editjob" ); menuPane.Render( NULL ); }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 12234 | Matt Attaway |
Rejigger P4Web project in preparation for official sunsetting The bin directory contains the last official builds of P4Web from the Perforce download site. P4Web is soon to be completely sunsetted; these builds are here for folks who don't want to build their own. To better handle the archived builds the source code has been moved into a separate src directory. |
||
//guest/perforce_software/p4web/Views/p4wJobEditView.cpp | |||||
#1 | 8914 | Matt Attaway | Initial add of the P4Web source code |