// // Copyright 2001 Perforce Software. All rights reserved. // // This file is part of Perforce - the FAST SCM System. // // p4wLabelEditView:: // p4 commands used to generate form to edit a label spec #include <stdlib.h> #include <string.h> #include <p4wp4.h> #include "p4wView.h" #include "p4wMenuPane.h" #include "p4wLabelEditView.h" #include "p4wLabelPane.h" p4wLabelEditView::p4wLabelEditView( p4wRequest & Request ) : p4wView( Request ) { // // Set the short and the long versions of the title fShortTitle.Set( "Edit Label Spec" ); fFullTitle << "Edit Label Spec " << fRequest.GetURL(); } p4wLabelEditView::~p4wLabelEditView() { } void p4wLabelEditView::RenderContent() { // // label -o labelname p4wLabelPane labelPane( *this, fRequest, 1 ); fRequest.p4Arg( "-o" ); if( fRequest.GetURL().Length() != 0 ) fRequest.p4Arg( fRequest.GetURL().Text() ); fRequest.p4( "label", 0, 0, &labelPane ); fRequest.p4Wait(); } void p4wLabelEditView::RenderMenu() { // // Draw the menu bar p4wMenuPane menuPane( *this, fRequest, "editlabel" ); 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/p4wLabelEditView.cpp | |||||
#1 | 8914 | Matt Attaway | Initial add of the P4Web source code |