Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * To change this template, choose Tools | Templates
  * and open the template in the editor.
  */
 
 package org.netbeans.modules.kenai.ui.spi;
 
 import java.io.File;
 import java.util.List;

Abstraction for a single source repository (a line in 'Sources' section).

Author(s):
S. Aubrecht
public abstract class SourceHandle {

    

Returns:
Display name
    public abstract String getDisplayName();

    

Returns:
True if 'get' link is available, false to render the repository as disabled.
    public abstract boolean isSupported();

    
getter for max 5 recent projects

Returns:
    public abstract List<NbProjectHandlegetRecentProjects();

    
getter for last checked out working directory can return null

Returns:
    public abstract File getWorkingDirectory();
New to GrepCode? Check out our FAQ X