|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.jdeveloper.vcs.util.VCSDefaultUtils
public final class VCSDefaultUtils
Utility class for creating default instances of integration-related classes. Static methods produce general-purpose and common implementations of interfaces that are useful to a version control extension.
| Method Summary | |
|---|---|
static IdeActivationListener |
createActivationListener(VCSStatusCache cache)Creates an activation listener to detect IDE application switches. |
static ContextMenuListener |
createContextMenuListener(java.awt.Component child, URLFilter filter, java.lang.String vcsId)Creates a context menu listener for adding the given menu child. |
static KeyStrokeContext |
createKeyStrokeContext(IdeAction[] actions, java.lang.String name)Creates a key stroke context object for the given actions. |
static IconOverlayTracker |
createNodeOverlayTracker(int batchSize, VCSOverlayItemProducer overlayItemProducer, URLFilter filter, java.lang.String vcsId)Creates a node overlay tracker based on the given status cache. |
static IconOverlayTracker |
createNodeOverlayTracker(int batchSize, VCSStatusCache cache, URLFilter filter, java.lang.String vcsId)Creates a node overlay tracker based on the given status cache. |
static VCSStatus |
createRecognizedStatus(boolean versioned, javax.swing.Icon icon, java.lang.String tooltip)Creates a recognized version status object with the given information. |
static VCSStatus |
createUnrecognizedStatus()Creates a unrecognized version status object with no information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final IdeActivationListener createActivationListener(VCSStatusCache cache)
cache - the client's file status cache.
public static final KeyStrokeContext createKeyStrokeContext(IdeAction[] actions,
java.lang.String name)
actions - the array of actions for the key stroke context.
public static final ContextMenuListener createContextMenuListener(java.awt.Component child,
URLFilter filter,
java.lang.String vcsId)
child - the menu child component to add.filter - a filter that accepts URLs for handled contexts.vcsId - the VCS extension controlling the context menu.
public static final IconOverlayTracker createNodeOverlayTracker(int batchSize,
VCSStatusCache cache,
URLFilter filter,
java.lang.String vcsId)
batchSize - the overlay request batch size.cache - the status cache for the tracker.filter - a filter that accepts URLs for the controlled nodes.vcsId - the owning extension.
public static final IconOverlayTracker createNodeOverlayTracker(int batchSize,
VCSOverlayItemProducer overlayItemProducer,
URLFilter filter,
java.lang.String vcsId)
batchSize - the overlay request batch size.overlayItemProducer - the overlay producer for the tracker.filter - a filter that accepts URLs for the controlled nodes.vcsId - the owning extension.
public static final VCSStatus createRecognizedStatus(boolean versioned,
javax.swing.Icon icon,
java.lang.String tooltip)
versioned - true if the status is versioned.icon - the overlay icon for the status.tooltip - the overlay tooltip for the status.public static final VCSStatus createUnrecognizedStatus()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||