• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java RefactoringArguments类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中org.eclipse.ltk.core.refactoring.participants.RefactoringArguments的典型用法代码示例。如果您正苦于以下问题:Java RefactoringArguments类的具体用法?Java RefactoringArguments怎么用?Java RefactoringArguments使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



RefactoringArguments类属于org.eclipse.ltk.core.refactoring.participants包,在下文中一共展示了RefactoringArguments类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: initialize

import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
/** {@inheritDoc} */
protected final void initialize(RefactoringArguments arguments) {
  fArguments = (ChangeMethodSignatureArguments) arguments;
}
 
开发者ID:eclipse,项目名称:che,代码行数:5,代码来源:ChangeMethodSignatureParticipant.java


示例17: initialize

import org.eclipse.ltk.core.refactoring.participants.RefactoringArguments; //导入依赖的package包/类
@Override
protected void initialize(RefactoringArguments arguments) {
}
 
开发者ID:gwt-plugins,项目名称:gwt-eclipse-plugin,代码行数:4,代码来源:GWTRefactoringSupportTest.java


示例18: addElement

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


示例19: 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:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:6,代码来源:RenameModifications.java


示例20: 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:trylimits,项目名称:Eclipse-Postfix-Code-Completion,代码行数:6,代码来源:MoveModifications.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java StringTag类代码示例发布时间:2022-05-22
下一篇:
Java Regex类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap