本文整理匯總了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();
}
}