Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 2 | 0 | 1.000 | class_body_declarations[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 57 | E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/actions/AbstractObjectTreeAction.java |
2 | 16 | 81 | E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AbstractRefactoringAction.java |
| |||||
protected abstract ICommand getCommand(IDatabaseObjectInfo[] info); protected abstract boolean isMultipleObjectAction(); protected abstract String getErrorMessage(); |
| |||||
/** * Returns the command to be executed when this action is invoked. * * @param info * the selected object(s) * @return the ICommand implementation to execute */ protected abstract ICommand getCommand(IDatabaseObjectInfo[] info); /** * Returns a boolean value indicating whether or not this action can be executed against multiple objects. * * @return true if the user can execute this action against multiple slected objects; false otherwise. */ protected abstract boolean isMultipleObjectAction(); /** * Subclasses must override this to provide a custom error message when the user chooses to execcute an * action on multiple selected objects, when the action can only be executed on a single object. * * @return the error message to use for single-object actions */ protected abstract String getErrorMessage(); |
| |||
/** * Returns the command to be executed when this action is invoked. * * @param info * the selected object(s) * @return the ICommand implementation to execute */ protected abstract ICommand getCommand(IDatabaseObjectInfo[] info); /** * Returns a boolean value indicating whether or not this action can be executed against multiple objects. * * @return true if the user can execute this action against multiple slected objects; false otherwise. */ protected abstract boolean isMultipleObjectAction(); /** * Subclasses must override this to provide a custom error message when the user chooses to execcute an * action on multiple selected objects, when the action can only be executed on a single object. * * @return the error message to use for single-object actions */ protected abstract String getErrorMessage(); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |