|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jdeveloper.vcs.util.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)
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,
VCSStatusCache cache,
URLFilter filter)
Creates a node overlay tracker based on the given status cache. |
static VCSVersionStatus |
createRecognizedStatus(boolean versioned,
javax.swing.Icon icon,
java.lang.String tooltip)
Creates a recognized version status object with the given information. |
static Subject |
createSingleSubject(URLFilter filter)
Creates a subject for observing many model subject implementors as one. |
static VCSVersionStatus |
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)
child
- the menu child component to add.filter
- a filter that accepts URLs for handled contexts.
public static final VCSVersionStatus 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 VCSVersionStatus createUnrecognizedStatus()
public static final Subject createSingleSubject(URLFilter filter)
filter
- a filter that accepts URLs for the observed subjects.
public static final IconOverlayTracker createNodeOverlayTracker(int batchSize, VCSStatusCache cache, URLFilter filter)
batchSize
- the overlay request batch size.cache
- the status cache for the tracker.filter
- a filter that accepts URLs for the controlled nodes.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.