Class NavigateHelper

    • Constructor Detail

      • NavigateHelper

        public NavigateHelper​(com.perforce.p4java.server.IOptionsServer p4)
      • NavigateHelper

        public NavigateHelper​(int max)
    • Method Detail

      • getCandidates

        public AutoCompletionCandidates getCandidates​(String depotPath)
        Matches for a partial depot path
        Parameters:
        depotPath - a Perforce Depot path e.g. //depot/pro
        Returns:
        matches for the depot path e.g. //depot/projA
      • getNodes

        public List<NavigateHelper.Node> getNodes​(String localPath)
        Get a list of path nodes.
        Parameters:
        localPath - a relative local path e.g. "" for root or "projA/comX"
        Returns:
        list of nodes