本文整理汇总了Java中com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel类的典型用法代码示例。如果您正苦于以下问题:Java XBreakpointCustomPropertiesPanel类的具体用法?Java XBreakpointCustomPropertiesPanel怎么用?Java XBreakpointCustomPropertiesPanel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
XBreakpointCustomPropertiesPanel类属于com.intellij.xdebugger.breakpoints.ui包,在下文中一共展示了XBreakpointCustomPropertiesPanel类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: saveProperties
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
public void saveProperties() {
for (XBreakpointPropertiesSubPanel<B> panel : mySubPanels) {
panel.saveProperties();
}
if (myConditionComboBox != null) {
XExpression expression = myConditionComboBox.getExpression();
XExpression condition = !XDebuggerUtilImpl.isEmptyExpression(expression) ? expression : null;
myBreakpoint.setConditionEnabled(condition == null || myConditionEnabledCheckbox.isSelected());
myBreakpoint.setConditionExpression(condition);
myConditionComboBox.saveTextInHistory();
}
for (XBreakpointCustomPropertiesPanel<B> customPanel : myCustomPanels) {
customPanel.saveTo(myBreakpoint);
}
myBreakpoint.setEnabled(myEnabledCheckbox.isSelected());
}
示例2: saveProperties
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
public void saveProperties() {
for (XBreakpointPropertiesSubPanel<B> panel : mySubPanels) {
panel.saveProperties();
}
if (myConditionComboBox != null) {
final String text = myConditionComboBox.getText();
final String condition = StringUtil.isEmptyOrSpaces(text) ? null : text;
myBreakpoint.setCondition(condition);
if (condition != null) {
myConditionComboBox.saveTextInHistory();
}
}
for (XBreakpointCustomPropertiesPanel<B> customPanel : myCustomPanels) {
customPanel.saveTo(myBreakpoint);
}
if (!myCustomPanels.isEmpty()) {
((XBreakpointBase)myBreakpoint).fireBreakpointChanged();
}
myBreakpoint.setEnabled(myEnabledCheckbox.isSelected());
}
示例3: loadProperties
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
public void loadProperties() {
for (XBreakpointPropertiesSubPanel<B> panel : mySubPanels) {
panel.loadProperties();
}
if (myConditionComboBox != null) {
String condition = myBreakpoint.getCondition();
myConditionComboBox.setText(condition != null ? condition : "");
}
for (XBreakpointCustomPropertiesPanel<B> customPanel : myCustomPanels) {
customPanel.loadFrom(myBreakpoint);
}
myEnabledCheckbox.setSelected(myBreakpoint.isEnabled());
myEnabledCheckbox.setText(XBreakpointUtil.getShortText(myBreakpoint) + " enabled");
}
示例4: saveProperties
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
public void saveProperties() {
for (XBreakpointPropertiesSubPanel panel : mySubPanels) {
panel.saveProperties();
}
if (myConditionComboBox != null) {
XExpression expression = myConditionComboBox.getExpression();
XExpression condition = !XDebuggerUtilImpl.isEmptyExpression(expression) ? expression : null;
myBreakpoint.setConditionEnabled(condition == null || myConditionEnabledCheckbox.isSelected());
myBreakpoint.setConditionExpression(condition);
myConditionComboBox.saveTextInHistory();
}
for (XBreakpointCustomPropertiesPanel customPanel : myCustomPanels) {
customPanel.saveTo(myBreakpoint);
}
myBreakpoint.setEnabled(myEnabledCheckbox.isSelected());
}
示例5: loadProperties
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
public void loadProperties() {
for (XBreakpointPropertiesSubPanel<B> panel : mySubPanels) {
panel.loadProperties();
}
if (myConditionComboBox != null) {
XExpression condition = myBreakpoint.getConditionExpressionInt();
myConditionComboBox.setExpression(condition);
boolean hideCheckbox = !myShowAllOptions && condition == null;
myConditionEnabledCheckbox.setSelected(hideCheckbox || (myBreakpoint.isConditionEnabled() && condition != null));
myConditionEnabledPanel.removeAll();
if (hideCheckbox) {
JBLabel label = new JBLabel(XDebuggerBundle.message("xbreakpoints.condition.checkbox"));
label.setBorder(JBUI.Borders.empty(0, 4));
myConditionEnabledPanel.add(label);
}
else {
myConditionEnabledPanel.add(myConditionEnabledCheckbox);
}
onCheckboxChanged();
}
for (XBreakpointCustomPropertiesPanel<B> customPanel : myCustomPanels) {
customPanel.loadFrom(myBreakpoint);
}
myEnabledCheckbox.setSelected(myBreakpoint.isEnabled());
myBreakpointNameLabel.setText(XBreakpointUtil.getShortText(myBreakpoint));
}
示例6: loadProperties
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
public void loadProperties() {
for (XBreakpointPropertiesSubPanel panel : mySubPanels) {
panel.loadProperties();
}
if (myConditionComboBox != null) {
XExpression condition = myBreakpoint.getConditionExpressionInt();
myConditionComboBox.setExpression(condition);
boolean hideCheckbox = !myShowAllOptions && condition == null;
myConditionEnabledCheckbox.setSelected(hideCheckbox || (myBreakpoint.isConditionEnabled() && condition != null));
myConditionEnabledPanel.removeAll();
if (hideCheckbox) {
JBLabel label = new JBLabel(XDebuggerBundle.message("xbreakpoints.condition.checkbox"));
label.setBorder(JBUI.Borders.empty(0, 4));
label.setLabelFor(myConditionComboBox.getComboBox());
myConditionEnabledPanel.add(label);
}
else {
myConditionEnabledPanel.add(myConditionEnabledCheckbox);
}
onCheckboxChanged();
}
for (XBreakpointCustomPropertiesPanel customPanel : myCustomPanels) {
customPanel.loadFrom(myBreakpoint);
}
myEnabledCheckbox.setSelected(myBreakpoint.isEnabled());
myBreakpointNameLabel.setText(XBreakpointUtil.getShortText(myBreakpoint));
}
示例7: createCustomPropertiesPanel
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
@Nullable
@Override
public XBreakpointCustomPropertiesPanel<XBreakpoint<JavaMethodBreakpointProperties>> createCustomPropertiesPanel() {
return new MethodBreakpointPropertiesPanel();
}
示例8: createCustomPropertiesPanel
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
@Nullable
@Override
public XBreakpointCustomPropertiesPanel<XBreakpoint<JavaExceptionBreakpointProperties>> createCustomPropertiesPanel() {
return new ExceptionBreakpointPropertiesPanel();
}
示例9: createCustomRightPropertiesPanel
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
@Nullable
@Override
public final XBreakpointCustomPropertiesPanel<XLineBreakpoint<P>> createCustomRightPropertiesPanel(@NotNull Project project) {
return new JavaBreakpointFiltersPanel<P, XLineBreakpoint<P>>(project);
}
示例10: createCustomPropertiesPanel
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
@Nullable
@Override
public XBreakpointCustomPropertiesPanel<XLineBreakpoint<JavaFieldBreakpointProperties>> createCustomPropertiesPanel() {
return new FieldBreakpointPropertiesPanel();
}
示例11: createCustomRightPropertiesPanel
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
@Nullable
@Override
public final XBreakpointCustomPropertiesPanel<XBreakpoint<T>> createCustomRightPropertiesPanel(@NotNull Project project) {
return new JavaBreakpointFiltersPanel<T, XBreakpoint<T>>(project);
}
示例12: createCustomPropertiesPanel
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
@Nullable
@Override
public XBreakpointCustomPropertiesPanel createCustomPropertiesPanel() {
return new MethodBreakpointPropertiesPanel();
}
示例13: createCustomConditionsPanel
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
@Nullable
public XBreakpointCustomPropertiesPanel<B> createCustomConditionsPanel() {
return null;
}
示例14: createCustomPropertiesPanel
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
@Nullable
public XBreakpointCustomPropertiesPanel<B> createCustomPropertiesPanel(@NotNull Project project) {
return createCustomPropertiesPanel();
}
示例15: createCustomRightPropertiesPanel
import com.intellij.xdebugger.breakpoints.ui.XBreakpointCustomPropertiesPanel; //导入依赖的package包/类
@Nullable
public XBreakpointCustomPropertiesPanel<B> createCustomRightPropertiesPanel(@NotNull Project project) {
return null;
}