本文整理汇总了Java中com.intellij.ui.MultiLineTooltipUI类的典型用法代码示例。如果您正苦于以下问题:Java MultiLineTooltipUI类的具体用法?Java MultiLineTooltipUI怎么用?Java MultiLineTooltipUI使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MultiLineTooltipUI类属于com.intellij.ui包,在下文中一共展示了MultiLineTooltipUI类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createUIComponents
import com.intellij.ui.MultiLineTooltipUI; //导入依赖的package包/类
private void createUIComponents() {
myLockOnDemand = new JCheckBox() {
@Override
public JToolTip createToolTip() {
JToolTip toolTip = new JToolTip(){{
setUI(new MultiLineTooltipUI());
}};
toolTip.setComponent(this);
return toolTip;
}
};
final SvnConfiguration configuration = SvnConfiguration.getInstance(myProject);
int value = configuration.getMaxAnnotateRevisions();
value = (value == -1) ? SvnConfiguration.ourMaxAnnotateRevisionsDefault : value;
myNumRevsInAnnotations = new JSpinner(new SpinnerNumberModel(value, 10, 100000, 100));
myNavigateToCommonProxyLink = new LinkLabel<Object>(SvnBundle.message("navigate.to.idea.proxy.settings"), null);
final Long maximum = 30 * 60 * 1000L;
final long connection = configuration.getSshConnectionTimeout() <= maximum ? configuration.getSshConnectionTimeout() : maximum;
final long read = configuration.getSshReadTimeout() <= maximum ? configuration.getSshReadTimeout() : maximum;
mySSHConnectionTimeout = new JSpinner(new SpinnerNumberModel(Long.valueOf(connection / 1000), Long.valueOf(0L), maximum, Long.valueOf(10L)));
mySSHReadTimeout = new JSpinner(new SpinnerNumberModel(Long.valueOf(read / 1000), Long.valueOf(0L), maximum, Long.valueOf(10L)));
myHttpTimeout = new JSpinner(new SpinnerNumberModel(Long.valueOf(read / 1000), Long.valueOf(0L), maximum, Long.valueOf(10L)));
}
示例2: createUIComponents
import com.intellij.ui.MultiLineTooltipUI; //导入依赖的package包/类
private void createUIComponents() {
myLockOnDemand = new JCheckBox() {
@Override
public JToolTip createToolTip() {
JToolTip toolTip = new JToolTip(){{
setUI(new MultiLineTooltipUI());
}};
toolTip.setComponent(this);
return toolTip;
}
};
final SvnConfiguration configuration = SvnConfiguration.getInstance(myProject);
int value = configuration.getMaxAnnotateRevisions();
value = (value == -1) ? SvnConfiguration.ourMaxAnnotateRevisionsDefault : value;
myNumRevsInAnnotations = new JSpinner(new SpinnerNumberModel(value, 10, 100000, 100));
final Long maximum = 30 * 60 * 1000L;
final long connection = configuration.mySSHConnectionTimeout <= maximum ? configuration.mySSHConnectionTimeout : maximum;
final long read = configuration.mySSHReadTimeout <= maximum ? configuration.mySSHReadTimeout : maximum;
mySSHConnectionTimeout = new JSpinner(new SpinnerNumberModel(Long.valueOf(connection / 1000), Long.valueOf(0L), maximum, Long.valueOf(10L)));
mySSHReadTimeout = new JSpinner(new SpinnerNumberModel(Long.valueOf(read / 1000), Long.valueOf(0L), maximum, Long.valueOf(10L)));
myHttpTimeout = new JSpinner(new SpinnerNumberModel(Long.valueOf(read / 1000), Long.valueOf(0L), maximum, Long.valueOf(10L)));
}
示例3: createToolTip
import com.intellij.ui.MultiLineTooltipUI; //导入依赖的package包/类
@Override
public JToolTip createToolTip() {
JToolTip toolTip = new JToolTip(){{
setUI(new MultiLineTooltipUI());
}};
toolTip.setComponent(this);
return toolTip;
}
示例4: createUIComponents
import com.intellij.ui.MultiLineTooltipUI; //导入依赖的package包/类
private void createUIComponents() {
myLockOnDemand = new JCheckBox() {
@Override
public JToolTip createToolTip() {
JToolTip toolTip = new JToolTip() {{
setUI(new MultiLineTooltipUI());
}};
toolTip.setComponent(this);
return toolTip;
}
};
myDepthCombo = new DepthCombo(true);
}
示例5: createToolTip
import com.intellij.ui.MultiLineTooltipUI; //导入依赖的package包/类
public JToolTip createToolTip() {
JToolTip toolTip = new JToolTip(){{
setUI(new MultiLineTooltipUI());
}};
toolTip.setComponent(this);
return toolTip;
}
示例6: createToolTip
import com.intellij.ui.MultiLineTooltipUI; //导入依赖的package包/类
@Override
public JToolTip createToolTip()
{
JToolTip toolTip = new JToolTip()
{{
setUI(new MultiLineTooltipUI());
}};
toolTip.setComponent(this);
return toolTip;
}