Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 1 | 0.991 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 101 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java |
2 | 6 | 197 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java |
| ||||
/** * Creates a new properties file source viewer configuration for viewers in the given editor * using the given preference store, the color manager and the specified document partitioning. * * @param colorManager the color manager * @param preferenceStore the preference store, can be read-only * @param editor the editor in which the configured viewer(s) will reside * @param partitioning the document partitioning for this configuration */ public PropertiesFileSourceViewerConfiguration(IColorManager colorManager, IPreferenceStore preferenceStore, ITextEditor editor, String partitioning) { super(preferenceStore); fColorManager = colorManager; fTextEditor = editor; fDocumentPartitioning = partitioning; initializeScanners(); } |
| ||||
/** * Creates a new Java source viewer configuration for viewers in the given editor * using the given preference store, the color manager and the specified document partitioning. * <p> * Creates a Java source viewer configuration in the new setup without text tools. Clients are * allowed to call {@link JavaSourceViewerConfiguration#handlePropertyChangeEvent(PropertyChangeEvent)} * and disallowed to call {@link JavaSourceViewerConfiguration#getPreferenceStore()} on the resulting * Java source viewer configuration. * </p> * * @param colorManager the color manager * @param preferenceStore the preference store, can be read-only * @param editor the editor in which the configured viewer(s) will reside, or <code>null</code> if none * @param partitioning the document partitioning for this configuration, or <code>null</code> for the default partitioning * @since 3.0 */ public JavaSourceViewerConfiguration(IColorManager colorManager, IPreferenceStore preferenceStore, ITextEditor editor, String partitioning) { super(preferenceStore); fColorManager = colorManager; fTextEditor = editor; fDocumentPartitioning = partitioning; initializeScanners(); } |
| |||
/** * Creates a new Java source viewer configuration for viewers in the given editor * using the given preference store, the color manager and the specified document partitioning. * <p> * Creates a Java source viewer configuration in the new setup without text tools. Clients are * allowed to call {@link JavaSourceViewerConfiguration#handlePropertyChangeEvent(PropertyChangeEvent)} * and disallowed to call {@link JavaSourceViewerConfiguration#getPreferenceStore()} on the resulting * Java source viewer configuration. * </p> * * @param colorManager the color manager * @param preferenceStore the preference store, can be read-only * @param editor the editor in which the configured viewer(s) will reside, or <code>null</code> if none * @param partitioning the document partitioning for this configuration, or <code>null</code> for the default partitioning * @since 3.0 */ /** * Creates a new properties file source viewer configuration for viewers in the given editor * using the given preference store, the color manager and the specified document partitioning. * * @param colorManager the color manager * @param preferenceStore the preference store, can be read-only * @param editor the editor in which the configured viewer(s) will reside * @param partitioning the document partitioning for this configuration */ public [[#variable5d02eb60]](IColorManager colorManager, IPreferenceStore preferenceStore, ITextEditor editor, String partitioning) { super(preferenceStore); fColorManager = colorManager; fTextEditor = editor; fDocumentPartitioning = partitioning; initializeScanners(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5d02eb60]] | JavaSourceViewerConfiguration |
1 | 2 | [[#5d02eb60]] | PropertiesFileSourceViewerConfiguration |