Skip navigation links
oracle.jdeveloper.vcs.changelist
Class ChangeListCommentsCustomizer
java.lang.Object
oracle.jdeveloper.vcs.spi.VCSCommentsCustomizer
oracle.jdeveloper.vcs.changelist.ChangeListCommentsCustomizer
- All Implemented Interfaces:
- VCSOptionsCustomizer
-
public class ChangeListCommentsCustomizer
- extends VCSCommentsCustomizer
Comments customizer that installs specific behaviors for the change list. Clients should use this in preference to directly using VCSCommentsCustomizer for the following features: - "Flat" look by default - Fewer lines by default - Support for main menu items on the Edit menu (Cut, Copy, Paste, Delete, Select All) - Support for "persistent" options that remain set for the lifetime of the customizer. Unlike the superclass, a new Map is not created each time you call getOptions(), so you can safely change the options map by calling getOptions().put( key, value ).
Methods inherited from class oracle.jdeveloper.vcs.spi.VCSCommentsCustomizer |
getComponent, getExtensionID, getInitialFocusComponent, getRecentCommentsModel, getTextComponent, isCommentTextChanged, isShowTemplatesAndCommentsCombo, layoutContainer, setCommentsComponentsEnabled, setContextURLs, setDefaultVisibleRows, setFlatLook, setShowReuseCommentsOption, setShowTemplatesAndCommentsCombo, setSuppressContextMenu, setSuppressDefaultTemplate, setSystemTemplate, setTemplateOnly, setTemplatesAndCommentsOrientation, setTemplatesSettingsPath, setVisiblePopupRows, updateTemplatesAndComments, validateOptions |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KEY_SETTING_COMMENTS
public static final java.lang.String KEY_SETTING_COMMENTS
-
- See Also:
- Constant Field Values
ChangeListCommentsCustomizer
public ChangeListCommentsCustomizer(java.lang.String extensionId)
setRecentCommentsModel
public void setRecentCommentsModel(VCSRecentCommentsModel commentsModel)
- Description copied from class:
VCSCommentsCustomizer
- Sets the comments model to be used for making historical comments available in a completion popup.
-
- Overrides:
setRecentCommentsModel
in class VCSCommentsCustomizer
-
- Parameters:
commentsModel
- the comments model object.
getDefaultTemplate
public final java.lang.String getDefaultTemplate()
addMouseListener
public void addMouseListener(java.awt.event.MouseListener ml)
removeMouseListener
public void removeMouseListener(java.awt.event.MouseListener ml)
setOptions
public void setOptions(java.util.Map optionsMap)
- Description copied from interface:
VCSOptionsCustomizer
- Sets options on the customizer, updating internal component states.
-
- Specified by:
setOptions
in interface VCSOptionsCustomizer
- Overrides:
setOptions
in class VCSCommentsCustomizer
-
- Parameters:
optionsMap
- the map of options values.
getOptions
public java.util.Map getOptions()
- Description copied from interface:
VCSOptionsCustomizer
- Gets options from the customizer, based on internal component states.
-
- Specified by:
getOptions
in interface VCSOptionsCustomizer
- Overrides:
getOptions
in class VCSCommentsCustomizer
-
- Returns:
- a map of options values.
clear
public void clear()
setCommentText
public void setCommentText(java.lang.String text)
getCommentText
public java.lang.String getCommentText()
Skip navigation links
Copyright © 1997, 2012, Oracle. All rights reserved.