|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
org.pushingpixels.flamingo.api.bcb.JBreadcrumbBar<String>
org.pushingpixels.flamingo.api.bcb.core.BreadcrumbSvnSelector
public class BreadcrumbSvnSelector
Breadcrumb bar that allows browsing a single local / remote SVN repository. The implementation uses SVNKit library. Make sure to read the licensing terms before using this component in your application.
Nested Class Summary | |
---|---|
static class |
BreadcrumbSvnSelector.PathCallback
SVN-specific implementation of the BreadcrumbBarCallBack . |
Nested classes/interfaces inherited from class org.pushingpixels.flamingo.api.bcb.JBreadcrumbBar |
---|
JBreadcrumbBar.BreadcrumbBarElement |
Nested classes/interfaces inherited from class javax.swing.JComponent |
---|
JComponent.AccessibleJComponent |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary |
---|
Fields inherited from class org.pushingpixels.flamingo.api.bcb.JBreadcrumbBar |
---|
callback, exceptionHandlers, model, uiClassID |
Fields inherited from class javax.swing.JComponent |
---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface java.awt.image.ImageObserver |
---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
---|---|
BreadcrumbSvnSelector()
Creates a new empty breadcrumb bar that is not connected to any SVN repository. |
|
BreadcrumbSvnSelector(String url,
String userName,
String password)
Creates a new breadcrumb bar to browse the specified SVN repository. |
Method Summary | |
---|---|
protected static InputStream |
getLeafContent(org.tmatesoft.svn.core.io.SVNRepository repository,
String leaf)
Returns the contents of the specified repository file. |
protected static List<StringValuePair<String>> |
getLeafs(org.tmatesoft.svn.core.io.SVNRepository repository,
String path)
Returns a list of all the files in the specified folder. |
protected static List<StringValuePair<String>> |
getPathChoices(org.tmatesoft.svn.core.io.SVNRepository repository,
String path)
Returns a list of all the foldes in the specified folder. |
void |
setConnectionParams(String url,
String userName,
String password)
Sets the connection parameters. |
void |
setConnectionParams(String url,
String userName,
String password,
boolean throwsException)
Sets the connection parameters. |
Methods inherited from class org.pushingpixels.flamingo.api.bcb.JBreadcrumbBar |
---|
addExceptionHandler, getCallback, getExceptionHandlers, getModel, getUI, getUIClassID, removeExceptionHandler, setPath, setThrowsExceptions, setUI, updateUI |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BreadcrumbSvnSelector()
public BreadcrumbSvnSelector(String url, String userName, String password)
url
- Repository URL.userName
- User name.password
- Password.Method Detail |
---|
public void setConnectionParams(String url, String userName, String password)
url
- Repository URL.userName
- User name.password
- Password.public void setConnectionParams(String url, String userName, String password, boolean throwsException)
url
- Repository URL.userName
- User name.password
- Password.throwsException
- Indicates whether the inner exceptions should be reported to
the registered exception handlers.protected static InputStream getLeafContent(org.tmatesoft.svn.core.io.SVNRepository repository, String leaf) throws org.tmatesoft.svn.core.SVNException
repository
- SVN repository.leaf
- Full path to the file.
org.tmatesoft.svn.core.SVNException
protected static List<StringValuePair<String>> getLeafs(org.tmatesoft.svn.core.io.SVNRepository repository, String path) throws org.tmatesoft.svn.core.SVNException
repository
- SVN repository.path
- Full path to the folder.
org.tmatesoft.svn.core.SVNException
protected static List<StringValuePair<String>> getPathChoices(org.tmatesoft.svn.core.io.SVNRepository repository, String path) throws org.tmatesoft.svn.core.SVNException
repository
- SVN repository.path
- Full path to the folder.
org.tmatesoft.svn.core.SVNException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |