本文整理汇总了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)));
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:27,代码来源:SvnConfigurable.java
示例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)));
}
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:25,代码来源:SvnConfigurable.java
示例3: createToolTip
import com.intellij.ui.MultiLineTooltipUI; //导入依赖的package包/类
@Override
public JToolTip createToolTip() {
JToolTip toolTip = new JToolTip(){{
setUI(new MultiLineTooltipUI());
}};
toolTip.setComponent(this);
return toolTip;
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:9,代码来源:JavaBreakpointFiltersPanel.java
示例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);
}
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:14,代码来源:SvnUpdatePanel.java
示例5: createToolTip
import com.intellij.ui.MultiLineTooltipUI; //导入依赖的package包/类
public JToolTip createToolTip() {
JToolTip toolTip = new JToolTip(){{
setUI(new MultiLineTooltipUI());
}};
toolTip.setComponent(this);
return toolTip;
}
开发者ID:lshain-android-source,项目名称:tools-idea,代码行数:8,代码来源:BreakpointPropertiesPanel.java
示例6: createToolTip
import com.intellij.ui.MultiLineTooltipUI; //导入依赖的package包/类
@Override
public JToolTip createToolTip()
{
JToolTip toolTip = new JToolTip()
{{
setUI(new MultiLineTooltipUI());
}};
toolTip.setComponent(this);
return toolTip;
}
开发者ID:consulo,项目名称:consulo-java,代码行数:11,代码来源:JavaBreakpointFiltersPanel.java
注:本文中的com.intellij.ui.MultiLineTooltipUI类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论