本文整理汇总了Java中org.insightech.er.editor.model.search.ReplaceManager类的典型用法代码示例。如果您正苦于以下问题:Java ReplaceManager类的具体用法?Java ReplaceManager怎么用?Java ReplaceManager使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ReplaceManager类属于org.insightech.er.editor.model.search包,在下文中一共展示了ReplaceManager类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initReplaceWordCombo
import org.insightech.er.editor.model.search.ReplaceManager; //导入依赖的package包/类
private void initReplaceWordCombo() {
replaceCombo.removeAll();
for (final String str : ReplaceManager.getReplaceWordList()) {
replaceCombo.add(str);
}
}
示例2: doExecute
import org.insightech.er.editor.model.search.ReplaceManager; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
protected void doExecute() {
result = ReplaceManager.replace(type, object, keyword, replaceWord, diagram.getDatabase());
diagram.refreshVisuals();
}
示例3: doUndo
import org.insightech.er.editor.model.search.ReplaceManager; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
protected void doUndo() {
if (result != null) {
ReplaceManager.undo(type, object, result.getOriginal(), diagram.getDatabase());
diagram.refreshVisuals();
}
}
示例4: initReplaceWordCombo
import org.insightech.er.editor.model.search.ReplaceManager; //导入依赖的package包/类
private void initReplaceWordCombo() {
this.replaceCombo.removeAll();
for (String str : ReplaceManager.getReplaceWordList()) {
this.replaceCombo.add(str);
}
}
示例5: doExecute
import org.insightech.er.editor.model.search.ReplaceManager; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
protected void doExecute() {
this.result = ReplaceManager.replace(this.type, this.object,
this.keyword, this.replaceWord, this.diagram.getDatabase());
this.diagram.refreshVisuals();
}
示例6: doUndo
import org.insightech.er.editor.model.search.ReplaceManager; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
@Override
protected void doUndo() {
if (this.result != null) {
ReplaceManager.undo(this.type, this.object,
this.result.getOriginal(), this.diagram.getDatabase());
this.diagram.refreshVisuals();
}
}