Class DeleteArguments
java.lang.Object
org.eclipse.ltk.core.refactoring.participants.RefactoringArguments
org.eclipse.ltk.core.refactoring.participants.DeleteArguments
Delete arguments describes the data that a processor provides
to its delete participants.
This class is not intended to be subclassed by clients.
- Since:
- 3.0
- Restriction:
- This class is not intended to be subclassed by clients.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new delete arguments object (deleteProjectContents isfalse).DeleteArguments(boolean deleteProjectContents) Creates a new delete arguments object. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether project contents will be deleted as well.toString()Returns a string representation of these arguments suitable for debugging purposes only.
-
Constructor Details
-
DeleteArguments
public DeleteArguments()Creates a new delete arguments object (deleteProjectContents isfalse). -
DeleteArguments
public DeleteArguments(boolean deleteProjectContents) Creates a new delete arguments object.- Parameters:
deleteProjectContents-trueif project contents will be deleted- Since:
- 3.6
-
-
Method Details
-
getDeleteProjectContents
public boolean getDeleteProjectContents()Returns whether project contents will be deleted as well. This method is not applicable for file and folder deletions.- Returns:
trueif the refactoring will delete the project contents,falseif it only removes the reference from the workspace- Since:
- 3.6
-
toString
Returns a string representation of these arguments suitable for debugging purposes only.Subclasses should reimplement this method.
- Overrides:
toStringin classRefactoringArguments- Returns:
- a debug string
- Since:
- 3.2
-