下面列出了怎么用org.eclipse.jface.text.IAutoIndentStrategy的API类实例代码及写法,或者点击链接到github查看源代码。
@Override
@Deprecated
public void setAutoIndentStrategy(IAutoIndentStrategy strategy, String contentType) {
throw new UnsupportedOperationException();
}
@Override
public void setAutoIndentStrategy(IAutoIndentStrategy strategy, String contentType) {
throw new UnsupportedOperationException();
}
@Override
public void setAutoIndentStrategy(IAutoIndentStrategy strategy, String contentType) {
throw new UnsupportedOperationException();
}
@Override
public void setAutoIndentStrategy(IAutoIndentStrategy strategy,
String contentType) {
throw new UnsupportedOperationException();
}
public void setAutoIndentStrategy(IAutoIndentStrategy strategy,
String contentType) {
originalTextViewer.setAutoIndentStrategy(strategy, contentType);
}
@Override
public void setAutoIndentStrategy(IAutoIndentStrategy strategy, String contentType) {
viewer.setAutoIndentStrategy(strategy, contentType);
}