CloneSet1680


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16201.000class_body_declarations[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1757
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/actions/AbstractObjectTreeAction.java
21681
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AbstractRefactoringAction.java
Next
Last
Clone Instance
1
Line Count
7
Source Line
57
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/postgres/src/net/sourceforge/squirrel_sql/plugins/postgres/actions/AbstractObjectTreeAction.java

protected abstract ICommand getCommand(IDatabaseObjectInfo[] info);

protected abstract boolean isMultipleObjectAction();

protected abstract String getErrorMessage();


First
Previous
Clone Instance
2
Line Count
16
Source Line
81
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/refactoring/src/net/sourceforge/squirrel_sql/plugins/refactoring/actions/AbstractRefactoringAction.java

/**
 * 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();


Clone AbstractionParameter Count: 0Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None