本文整理汇总了Java中org.eclipse.ltk.core.refactoring.participants.RefactoringArguments类的典型用法代码示例。如果您正苦于以下问题:Java RefactoringArguments类的具体用法?Java RefactoringArguments怎么用?Java RefactoringArguments使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
RefactoringArguments类属于org.eclipse.ltk.core.refactoring.participants包,在下文中一共展示了RefactoringArguments类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initialize
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
public RefactoringStatus initialize(final RefactoringArguments arguments) {
Assert.isNotNull(arguments);
final RefactoringProcessor processor= getProcessor();
if (processor instanceof IScriptableRefactoring) {
return ((IScriptableRefactoring) processor).initialize(arguments);
}
return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.ProcessorBasedRefactoring_error_unsupported_initialization, getProcessor().getIdentifier()));
}
示例2: addElement
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
public void addElement(Object element, RefactoringArguments args) {
fElements.add(element);
fArguments.add(args);
if (element instanceof IJavaElement)
fHandles.add(((IJavaElement) element).getHandleIdentifier());
else fHandles.add(((IResource) element).getFullPath().toString());
}
示例3: add
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
private void add(Object element, RefactoringArguments args, IParticipantDescriptorFilter filter) {
Assert.isNotNull(element);
Assert.isNotNull(args);
fRename.add(element);
fRenameArguments.add(args);
fParticipantDescriptorFilter.add(filter);
}
示例4: add
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
private void add(Object element, RefactoringArguments args, IParticipantDescriptorFilter filter) {
Assert.isNotNull(element);
Assert.isNotNull(args);
fMoves.add(element);
fMoveArguments.add(args);
fParticipantDescriptorFilter.add(filter);
}
示例5: add
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
private void add(Object element, RefactoringArguments args, IParticipantDescriptorFilter filter) {
Assert.isNotNull(element);
Assert.isNotNull(args);
fCopies.add(element);
fCopyArguments.add(args);
fParticipantDescriptorFilter.add(filter);
}
示例6: add
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
private void add(Object element, RefactoringArguments args, IParticipantDescriptorFilter filter) {
Assert.isNotNull(element);
Assert.isNotNull(args);
fRename.add(element);
fRenameArguments.add(args);
fParticipantDescriptorFilter.add(filter);
}
示例7: add
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
private void add(Object element, RefactoringArguments args, IParticipantDescriptorFilter filter) {
Assert.isNotNull(element);
Assert.isNotNull(args);
fMoves.add(element);
fMoveArguments.add(args);
fParticipantDescriptorFilter.add(filter);
}
示例8: add
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
private void add(Object element, RefactoringArguments args, IParticipantDescriptorFilter filter) {
Assert.isNotNull(element);
Assert.isNotNull(args);
fCopies.add(element);
fCopyArguments.add(args);
fParticipantDescriptorFilter.add(filter);
}
示例9: initialize
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
public boolean initialize(RefactoringProcessor processor, Object element, RefactoringArguments arguments) {
fNewName= ((RenameArguments) arguments).getNewName();
return super.initialize(processor, element, arguments);
}
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:10,代码来源:NLSAccessorFieldRenameParticipant.java
示例10: addElement
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
@Override
public void addElement(Object element, RefactoringArguments arguments) {
process(element, (RenameArguments) arguments);
}
示例11: addElement
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
@Override
public void addElement(Object element, RefactoringArguments arguments) {
process(element, (MoveArguments) arguments);
}
示例12: addElement
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
@Override
public void addElement(Object element, RefactoringArguments arguments) {
process(element, (DeleteArguments) arguments);
}
示例13: RenameModifications
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
public RenameModifications() {
fRename = new ArrayList<Object>();
fRenameArguments = new ArrayList<RefactoringArguments>();
fParticipantDescriptorFilter = new ArrayList<IParticipantDescriptorFilter>();
}
示例14: MoveModifications
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
public MoveModifications() {
fMoves = new ArrayList<Object>();
fMoveArguments = new ArrayList<RefactoringArguments>();
fParticipantDescriptorFilter = new ArrayList<IParticipantDescriptorFilter>();
}
示例15: CopyModifications
import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
public CopyModifications() {
fCopies = new ArrayList<Object>();
fCopyArguments = new ArrayList<RefactoringArguments>();
fParticipantDescriptorFilter = new ArrayList<IParticipantDescriptorFilter>();
}