当前位置: 首页>>代码示例>>Java>>正文


Java RefactoringArguments类代码示例

本文整理汇总了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()));
}
 
开发者ID:angelozerr,项目名称:typescript.java,代码行数:12,代码来源:TypeScriptRenameRefactoring.java

示例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());
}
 
开发者ID:eclipse,项目名称:che,代码行数:8,代码来源:TestRenameParticipantShared.java

示例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);
}
 
开发者ID:eclipse,项目名称:che,代码行数:8,代码来源:RenameModifications.java

示例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);
}
 
开发者ID:eclipse,项目名称:che,代码行数:8,代码来源:MoveModifications.java

示例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);
}
 
开发者ID:eclipse,项目名称:che,代码行数:8,代码来源:CopyModifications.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:8,代码来源:RenameModifications.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:8,代码来源:MoveModifications.java

示例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);
}
 
开发者ID:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:8,代码来源:CopyModifications.java

示例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);
}
 
开发者ID:gw4e,项目名称:gw4e.project,代码行数:5,代码来源:RenameGraphParticipant.java

示例11: addElement

import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
@Override
public void addElement(Object element, RefactoringArguments arguments) {
	process(element, (MoveArguments) arguments);
}
 
开发者ID:gw4e,项目名称:gw4e.project,代码行数:5,代码来源:MoveGraphParticipant.java

示例12: addElement

import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
@Override
public void addElement(Object element, RefactoringArguments arguments) {
	process(element, (DeleteArguments) arguments);
	
}
 
开发者ID:gw4e,项目名称:gw4e.project,代码行数:6,代码来源:DeleteGraphParticipant.java

示例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>();
}
 
开发者ID:eclipse,项目名称:che,代码行数:6,代码来源:RenameModifications.java

示例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>();
}
 
开发者ID:eclipse,项目名称:che,代码行数:6,代码来源:MoveModifications.java

示例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>();
}
 
开发者ID:eclipse,项目名称:che,代码行数:6,代码来源:CopyModifications.java


注:本文中的org.eclipse.ltk.core.refactoring.participants.RefactoringArguments类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。