Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
G
H
I
J
L
N
P
R
S
T
U
V
A
ACTION_COMPARETO
- Static variable in class net.sf.commonclipse.popup.actions.
JavaTypeAction
id for compareTo() generator.
ACTION_EQUALS
- Static variable in class net.sf.commonclipse.popup.actions.
JavaTypeAction
id for equals() generator.
ACTION_HASHCODE
- Static variable in class net.sf.commonclipse.popup.actions.
JavaTypeAction
id for hashCode() generator.
ACTION_TOSTRING
- Static variable in class net.sf.commonclipse.popup.actions.
JavaTypeAction
id for toString() generator.
add()
- Method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
Adds the string in the text field to the list.
addField(FieldEditor)
- Method in class net.sf.commonclipse.preferences.
TabbedFieldEditorPreferencePage
Adds the given field editor to this page.
addImports(IType)
- Method in class net.sf.commonclipse.
CompareToGenerator
addImports(IType)
- Method in class net.sf.commonclipse.
EqualsGenerator
addImports(IType)
- Method in class net.sf.commonclipse.
Generator
Adds required imports to type.
addImports(IType)
- Method in class net.sf.commonclipse.
HashcodeGenerator
addImports(IType)
- Method in class net.sf.commonclipse.
ToStringGenerator
addInstanceCheckToEquals()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Add an instance equality check to equals method?
AddRemoveListFieldEditor
- Class in
net.sf.commonclipse.preferences
A field editor for displaying and storing a list of strings.
AddRemoveListFieldEditor(String, String, Composite)
- Constructor for class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
Creates a string field editor of unlimited width.
AddRemoveListFieldEditor(String, String, String, String, Composite)
- Constructor for class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
Creates a string field editor of unlimited width.
addTab(String)
- Method in class net.sf.commonclipse.preferences.
TabbedFieldEditorPreferencePage
Adds a tab to the page.
adjustForNumColumns(int)
- Method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
adjustForNumColumns(int)
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
adjustForNumColumns(int)
- Method in class net.sf.commonclipse.preferences.
LabelFieldEditor
Adjusts the field editor to be displayed correctly for the given number of columns.
adjustGridLayout()
- Method in class net.sf.commonclipse.preferences.
TabbedFieldEditorPreferencePage
Adjust the layout of the field editors so that they are properly aligned.
appendSuperToCompareTo()
- Method in class net.sf.commonclipse.
CCPluginPreferences
append super to compareTo method?
appendSuperToEquals()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Append super to equals method?
appendSuperToHashcode()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Append super to hashcode method?
appendSuperToToString()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Append super to toString method?
B
buildAppenderList(IType)
- Method in class net.sf.commonclipse.
Generator
Iterates on fields and call getFieldString() on any match not in the configurable excluded list.
buildFieldMap(IType)
- Method in class net.sf.commonclipse.
Generator
Returns a Set containing all the names of fields visible by this type.
C
CCMessages
- Class in
net.sf.commonclipse
CCPlugin
- Class in
net.sf.commonclipse
Main plugin class.
CCPlugin()
- Constructor for class net.sf.commonclipse.
CCPlugin
Constructor.
CCPluginPreferences
- Class in
net.sf.commonclipse
Provide access to parsed plugin preferences.
CCPreferenceInitializer
- Class in
net.sf.commonclipse.preferences
CCPreferenceInitializer()
- Constructor for class net.sf.commonclipse.preferences.
CCPreferenceInitializer
CCPreferencePage
- Class in
net.sf.commonclipse.preferences
This class represents a preference page that is contributed to the Preferences dialog.
CCPreferencePage()
- Constructor for class net.sf.commonclipse.preferences.
CCPreferencePage
init preference page.
checkState()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Checks whether the text input field contains a valid value or not.
ClassConstantFieldEditor
- Class in
net.sf.commonclipse.preferences
ComboFieldEditor with check for valid class.CONSTANT values.
ClassConstantFieldEditor(String, String, Composite)
- Constructor for class net.sf.commonclipse.preferences.
ClassConstantFieldEditor
clearErrorMessage()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
ComboFieldEditor
- Class in
net.sf.commonclipse.preferences
Implementation identical to StringFieldEditor but using a combo instead of a Text field.
ComboFieldEditor()
- Constructor for class net.sf.commonclipse.preferences.
ComboFieldEditor
Creates a new string field editor.
ComboFieldEditor(String, String, int, Composite)
- Constructor for class net.sf.commonclipse.preferences.
ComboFieldEditor
Creates a string field editor.
ComboFieldEditor(String, String, Composite)
- Constructor for class net.sf.commonclipse.preferences.
ComboFieldEditor
Creates a string field editor of unlimited width.
CompareToGenerator
- Class in
net.sf.commonclipse
Generator for compareTo(Object) methods.
computeIndent(String)
- Method in class net.sf.commonclipse.
Generator
Returns the indent of the given string.
containsOnlyValidChars(String)
- Static method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
Checks the the given String doesn't contains invalid chars.
createFieldEditors()
- Method in class net.sf.commonclipse.preferences.
CCPreferencePage
Creates the field editors.
createMethod(IType)
- Method in class net.sf.commonclipse.
CompareToGenerator
createMethod(IType)
- Method in class net.sf.commonclipse.
EqualsGenerator
createMethod(IType)
- Method in class net.sf.commonclipse.
Generator
Creates the method for the ITYPE type.
createMethod(IType)
- Method in class net.sf.commonclipse.
HashcodeGenerator
createMethod(IType)
- Method in class net.sf.commonclipse.
ToStringGenerator
D
doCheckState()
- Method in class net.sf.commonclipse.preferences.
ClassConstantFieldEditor
Overrides default validation to check for a valid class.CONSTANT value.
doCheckState()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Hook for subclasses to do specific state checks.
doFillIntoGrid(Composite, int)
- Method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
doFillIntoGrid(Composite, int)
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
doFillIntoGrid(Composite, int)
- Method in class net.sf.commonclipse.preferences.
LabelFieldEditor
Fills the field editor's controls into the given parent.
doLoad()
- Method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
doLoad()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
doLoad()
- Method in class net.sf.commonclipse.preferences.
LabelFieldEditor
Labels do not persist any preferences, so this method is empty.
doLoadDefault()
- Method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
doLoadDefault()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
doLoadDefault()
- Method in class net.sf.commonclipse.preferences.
LabelFieldEditor
Labels do not persist any preferences, so this method is empty.
dontAskOnOverwrite()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Overwrite existing methods without confirmation?
doStore()
- Method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
doStore()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
doStore()
- Method in class net.sf.commonclipse.preferences.
LabelFieldEditor
Labels do not persist any preferences, so this method is empty.
E
EqualsGenerator
- Class in
net.sf.commonclipse
Generator for equals(Object) methods.
evaluateExclusionList()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Gets the CCPlugin.P_EXCLUDE preference from the preference store and generates a Pattern from it.
evaluateToStringStyle()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Gets the CCPlugin.P_TOSTRING_STYLE preference from the preference store and parse it.
G
generate(IType, Shell)
- Method in class net.sf.commonclipse.
Generator
Generates the appropriate method in
type
.
generateMethod(IType, ICompilationUnit, Shell, IProgressMonitor)
- Method in class net.sf.commonclipse.
Generator
Generates the method by: call createMethod format the given method add it to type call addImports .
generateRegExp(String)
- Static method in class net.sf.commonclipse.
CCPluginPreferences
Generate a single regular expression used to match excluded fields.
Generator
- Class in
net.sf.commonclipse
Generator()
- Constructor for class net.sf.commonclipse.
Generator
getDefault()
- Static method in class net.sf.commonclipse.
CCPlugin
Returns the shared instance.
getErrorMessage()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Returns the error message that will be displayed when and if an error occurs.
getExcludedFielsPattern()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Returns the list of excluded fields/properties.
getExistingMethod(IType)
- Method in class net.sf.commonclipse.
CompareToGenerator
getExistingMethod(IType)
- Method in class net.sf.commonclipse.
EqualsGenerator
getExistingMethod(IType)
- Method in class net.sf.commonclipse.
Generator
Returns the existing method.
getExistingMethod(IType)
- Method in class net.sf.commonclipse.
HashcodeGenerator
getExistingMethod(IType)
- Method in class net.sf.commonclipse.
ToStringGenerator
getFieldAppender(String, String)
- Method in class net.sf.commonclipse.
CompareToGenerator
getFieldAppender(String, String)
- Method in class net.sf.commonclipse.
EqualsGenerator
getFieldAppender(String, String)
- Method in class net.sf.commonclipse.
Generator
get the "append" statement for a field.
getFieldAppender(String, String)
- Method in class net.sf.commonclipse.
HashcodeGenerator
getFieldAppender(String, String)
- Method in class net.sf.commonclipse.
ToStringGenerator
getFieldEditorParent()
- Method in class net.sf.commonclipse.preferences.
TabbedFieldEditorPreferencePage
Returns a parent composite for a field editor.
getIndentUsed(IJavaElement, ICompilationUnit)
- Method in class net.sf.commonclipse.
Generator
Evaluates the indention used by a Java element.
getInstance()
- Static method in class net.sf.commonclipse.
CompareToGenerator
returns the CompareToGenerator instance.
getInstance()
- Static method in class net.sf.commonclipse.
EqualsGenerator
returns the EqualsGenerator instance.
getInstance()
- Static method in class net.sf.commonclipse.
HashcodeGenerator
returns the HashcodeGenerator instance.
getInstance()
- Static method in class net.sf.commonclipse.
ToStringGenerator
Returns the ToStringGenerator instance.
getMethodName()
- Method in class net.sf.commonclipse.
CompareToGenerator
getMethodName()
- Method in class net.sf.commonclipse.
EqualsGenerator
getMethodName()
- Method in class net.sf.commonclipse.
Generator
Returns the generated method name.
getMethodName()
- Method in class net.sf.commonclipse.
HashcodeGenerator
getMethodName()
- Method in class net.sf.commonclipse.
ToStringGenerator
getNumberOfControls()
- Method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
getNumberOfControls()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
getNumberOfControls()
- Method in class net.sf.commonclipse.preferences.
LabelFieldEditor
Returns the number of controls in the field editor.
getPreferences()
- Static method in class net.sf.commonclipse.
CCPluginPreferences
returns the instance of plugin preferences.
getString(String)
- Static method in class net.sf.commonclipse.
CCMessages
Returns a String from the resource bundle.
getStringValue()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Returns the field editor's value.
getTextControl()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Returns this field editor's text control.
getTextControl(Composite)
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Returns this field editor's text control.
getToStringStyleClassAndConstant()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Gets the class.CONSTANT part of the custom toStringStyle.
getToStringStyleQualifiedClass()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Gets the package.class part of the custom toStringStyle.
getWorkspace()
- Static method in class net.sf.commonclipse.
CCPlugin
Returns the workspace instance.
H
HashcodeGenerator
- Class in
net.sf.commonclipse
Generator for hashcode() methods.
I
init(IWorkbench)
- Method in class net.sf.commonclipse.preferences.
CCPreferencePage
initializeDefaultPreferences()
- Method in class net.sf.commonclipse.preferences.
CCPreferenceInitializer
isEmptyStringAllowed()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Returns whether an empty string is a valid value.
isExcluded(String)
- Method in class net.sf.commonclipse.
Generator
Checks if a given field should be excluded from generated method.
isValid()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
J
JavaTypeAction
- Class in
net.sf.commonclipse.popup.actions
base action delegate for action that need an IType to work.
JavaTypeAction()
- Constructor for class net.sf.commonclipse.popup.actions.
JavaTypeAction
JavaTypeObjectAction
- Class in
net.sf.commonclipse.popup.actions
action called from object contribution (right click on navigator).
JavaTypeObjectAction()
- Constructor for class net.sf.commonclipse.popup.actions.
JavaTypeObjectAction
new JavaTypeObjectAction.
JavaTypeViewerAction
- Class in
net.sf.commonclipse.popup.actions
action called from viewer contribution (right click on editor).
JavaTypeViewerAction()
- Constructor for class net.sf.commonclipse.popup.actions.
JavaTypeViewerAction
L
LabelFieldEditor
- Class in
net.sf.commonclipse.preferences
A field editor for displaying labels not associated with other widgets.
LabelFieldEditor(String, Composite)
- Constructor for class net.sf.commonclipse.preferences.
LabelFieldEditor
All labels can use the same preference name since they don't store any preference.
list
- Variable in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
The list of items.
N
net.sf.commonclipse
- package net.sf.commonclipse
net.sf.commonclipse.popup.actions
- package net.sf.commonclipse.popup.actions
net.sf.commonclipse.preferences
- package net.sf.commonclipse.preferences
P
P_COMPARETO_SUPER
- Static variable in class net.sf.commonclipse.
CCPlugin
add appendSuper() in toString.
P_DONTASKONOVERWRITE
- Static variable in class net.sf.commonclipse.
CCPlugin
don't ask for overwriting existing methods.
P_EQUALS_INSTANCECHECK
- Static variable in class net.sf.commonclipse.
CCPlugin
add an instance equality check to the generated equals() method.
P_EQUALS_SUPER
- Static variable in class net.sf.commonclipse.
CCPlugin
add appendSuper() in toString.
P_EXCLUDE
- Static variable in class net.sf.commonclipse.
CCPlugin
esclusion list.
P_FINALPARAMETERS
- Static variable in class net.sf.commonclipse.
CCPlugin
use final parameters in generated methods.
P_HASHCODE_SUPER
- Static variable in class net.sf.commonclipse.
CCPlugin
add appendSuper() in toString.
P_TOSTRING_BEAN
- Static variable in class net.sf.commonclipse.
CCPlugin
key for "javabean-style toString()".
P_TOSTRING_STYLE
- Static variable in class net.sf.commonclipse.
CCPlugin
key for ToStringStyle name.
P_TOSTRING_SUPER
- Static variable in class net.sf.commonclipse.
CCPlugin
add appendSuper() in toString.
PLUGIN_NAME
- Static variable in class net.sf.commonclipse.
CCPlugin
"commonclipse".
R
refreshValidState()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
run(IAction)
- Method in class net.sf.commonclipse.popup.actions.
JavaTypeObjectAction
run(IAction)
- Method in class net.sf.commonclipse.popup.actions.
JavaTypeViewerAction
runAction(IAction, IType, Shell)
- Method in class net.sf.commonclipse.popup.actions.
JavaTypeAction
run the action on the given IType.
S
selectionChanged(IAction, ISelection)
- Method in class net.sf.commonclipse.popup.actions.
JavaTypeObjectAction
file selected from menu.
selectionChanged(IAction, ISelection)
- Method in class net.sf.commonclipse.popup.actions.
JavaTypeViewerAction
selected editor has changed.
selectionChanged()
- Method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
Sets the enablement of the remove button depending on the selection in the list.
setActiveEditor(IAction, IEditorPart)
- Method in class net.sf.commonclipse.popup.actions.
JavaTypeViewerAction
setActivePart(IAction, IWorkbenchPart)
- Method in class net.sf.commonclipse.popup.actions.
JavaTypeObjectAction
setAddButtonText(String)
- Method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
Sets the label for the button that adds the contents of the text field to the list.
setEmptyStringAllowed(boolean)
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Sets whether the empty string is a valid value or not.
setEnabled(boolean, Composite)
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
setErrorMessage(String)
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Sets the error message that will be displayed when and if an error occurs.
setFocus()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
setPredefinedValues(String[])
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Sets a list of predefined values that must be shown in the combo.
setRemoveButtonText(String)
- Method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
Sets the label for the button that removes the selected item from the list.
setSeparator(String)
- Method in class net.sf.commonclipse.preferences.
AddRemoveListFieldEditor
Sets the string that separates items in the list when the list is stored as a single String in the preference store.
setStringValue(String)
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Sets this field editor's value.
setTextLimit(int)
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Sets this text field's text limit.
showErrorMessage()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Shows the error message set via
setErrorMessage
.
SpacerFieldEditor
- Class in
net.sf.commonclipse.preferences
A field editor for adding space to a preference page.
SpacerFieldEditor(Composite)
- Constructor for class net.sf.commonclipse.preferences.
SpacerFieldEditor
Implemented as an empty label field editor.
T
TabbedFieldEditorPreferencePage
- Class in
net.sf.commonclipse.preferences
TabbedFieldEditorPreferencePage(int)
- Constructor for class net.sf.commonclipse.preferences.
TabbedFieldEditorPreferencePage
Creates a new field editor preference page with the given style, an empty title, and no image.
TabbedFieldEditorPreferencePage(String, int)
- Constructor for class net.sf.commonclipse.preferences.
TabbedFieldEditorPreferencePage
Creates a new field editor preference page with the given title and style, but no image.
TabbedFieldEditorPreferencePage(String, ImageDescriptor, int)
- Constructor for class net.sf.commonclipse.preferences.
TabbedFieldEditorPreferencePage
Creates a new field editor preference page with the given title, image, and style.
textField
- Variable in class net.sf.commonclipse.preferences.
ComboFieldEditor
The text field, or
null
if none.
ToStringGenerator
- Class in
net.sf.commonclipse
Generator for toString() methods.
TOSTRINGSTYLE_BEAN
- Static variable in class net.sf.commonclipse.
CCPlugin
value for the P_TOSTRING_BEAN properties: use javabean properties in toString().
TOSTRINGSTYLE_FIELDS
- Static variable in class net.sf.commonclipse.
CCPlugin
value for the P_TOSTRING_BEAN properties: use fields in toString().
U
UNLIMITED
- Static variable in class net.sf.commonclipse.preferences.
ComboFieldEditor
Text limit constant (value
-1
) indicating unlimited text limit and width.
useCustomToStringStyle()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Use a custom toString style?
useFinalParameters()
- Method in class net.sf.commonclipse.
CCPluginPreferences
Use final parameters in generated methods?
useJavabeanToString()
- Method in class net.sf.commonclipse.
CCPluginPreferences
use javabean properties in toString() instead of fields?
V
validate(IType, Shell)
- Method in class net.sf.commonclipse.
Generator
Checks if a corresponding method already exists and prompt the user for replacing it.
valueChanged()
- Method in class net.sf.commonclipse.preferences.
ComboFieldEditor
Informs this field editor's listener, if it has one, about a change to the value (
VALUE
property) provided that the old and new values are different.
A
B
C
D
E
G
H
I
J
L
N
P
R
S
T
U
V
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2003-2005 sourceforge. All Rights Reserved.