package com.perforce.p4simulink.ui; /** * Copyright (C) 2014 Perforce Software. All rights reserved. * * Please see LICENSE.txt in top-level folder of this distribution. */ import java.util.ArrayList; import java.util.List; import javax.swing.JTextField; public class P4DepotPathPane extends P4Pane { private JTextField depotPath = new JTextField(""); public P4DepotPathPane(String depotPath) { if (depotPath != null) { this.depotPath.setText(depotPath); } } public Object[] getFields() { List<Object> fields = new ArrayList<>(); fields.add("Depot Path: "); fields.add(depotPath); return fields.toArray(); } public String getDepotPath() { return depotPath.getText(); } }
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 11898 | Paul Allen |
Populate -o //guest/perforce_software/p4sl/main/... //guest/paul_allen/p4sl/.... |
||
//guest/perforce_software/p4sl/main/src/main/java/com/perforce/p4simulink/ui/P4DepotPathPane.java | |||||
#5 | 11672 | Paul Allen |
Tidy up formatting and imports. No functional change. |
||
#4 | 11659 | Paul Allen |
Performance improvements, continued: improved performance of getFileState() by replacing the client haveList call with a direct server command. Also improved isLatest by removing fstat calls and replacing with simpler calls to diff and sync. Transferred from p4://perforce.perforce.com:1666@983506 |
||
#3 | 11652 | Paul Allen |
Added boilerplate to code, fixed build issues (NPEs on plugin load), removed Mathworks classes from plugin jar, fixed delete vs missing issue on remove() call. Transferred from p4://perforce.perforce.com:1666@970498 |
||
#2 | 11647 | Paul Allen |
New project creation fixes. Transferred from p4://perforce.perforce.com:1666@958305 |
||
#1 | 11645 | Paul Allen |
Refactoring and additional work on UI: Removed Connection class and went with global server/client objects. Implemented panes for connection, depot path and passwords. Passwords are only requested when required. Transferred from p4://perforce.perforce.com:1666@957149 |