当前位置: 首页>>代码示例>>Java>>正文


Java JavaDebuggerEditorsProvider类代码示例

本文整理汇总了Java中org.jetbrains.java.debugger.JavaDebuggerEditorsProvider的典型用法代码示例。如果您正苦于以下问题:Java JavaDebuggerEditorsProvider类的具体用法?Java JavaDebuggerEditorsProvider怎么用?Java JavaDebuggerEditorsProvider使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


JavaDebuggerEditorsProvider类属于org.jetbrains.java.debugger包,在下文中一共展示了JavaDebuggerEditorsProvider类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getEditorsProvider

import org.jetbrains.java.debugger.JavaDebuggerEditorsProvider; //导入依赖的package包/类
@Nullable
@Override
public final XDebuggerEditorsProvider getEditorsProvider(
    @NotNull XLineBreakpoint<CloudLineBreakpointProperties> breakpoint,
    @NotNull Project project) {
  return new JavaDebuggerEditorsProvider();
}
 
开发者ID:GoogleCloudPlatform,项目名称:google-cloud-intellij,代码行数:8,代码来源:CloudLineBreakpointType.java

示例2: getEditorsProvider

import org.jetbrains.java.debugger.JavaDebuggerEditorsProvider; //导入依赖的package包/类
@Nullable
@Override
public final XDebuggerEditorsProvider getEditorsProvider(@NotNull XLineBreakpoint<P> breakpoint, @NotNull Project project) {
  return new JavaDebuggerEditorsProvider();
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:JavaLineBreakpointTypeBase.java

示例3: getEditorsProvider

import org.jetbrains.java.debugger.JavaDebuggerEditorsProvider; //导入依赖的package包/类
@Nullable
@Override
public final XDebuggerEditorsProvider getEditorsProvider(@NotNull XBreakpoint<T> breakpoint, @NotNull Project project) {
  return new JavaDebuggerEditorsProvider();
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:JavaBreakpointTypeBase.java

示例4: getEditorsProvider

import org.jetbrains.java.debugger.JavaDebuggerEditorsProvider; //导入依赖的package包/类
@NotNull
@Override
public XDebuggerEditorsProvider getEditorsProvider() {
  return new JavaDebuggerEditorsProvider();
}
 
开发者ID:GoogleCloudPlatform,项目名称:google-cloud-intellij,代码行数:6,代码来源:CloudDebugProcess.java

示例5: MyInstancesView

import org.jetbrains.java.debugger.JavaDebuggerEditorsProvider; //导入依赖的package包/类
MyInstancesView(@NotNull XDebugSession session)
{
	super(new BorderLayout(0, JBUI.scale(BORDER_LAYOUT_DEFAULT_GAP)));

	Disposer.register(InstancesWindow.this.myDisposable, this);
	final XValueMarkers<?, ?> markers = getValueMarkers(session);
	if(markers != null)
	{
		final MyActionListener listener = new MyActionListener(markers);
		ActionManager.getInstance().addAnActionListener(listener, InstancesWindow.this.myDisposable);
	}
	session.addSessionListener(myDebugSessionListener, InstancesWindow.this.myDisposable);
	final JavaDebuggerEditorsProvider editorsProvider = new JavaDebuggerEditorsProvider();

	myFilterConditionEditor = new ExpressionEditorWithHistory(myProject, myClassName, editorsProvider, InstancesWindow.this.myDisposable);

	myFilterButton.setBorder(BorderFactory.createEmptyBorder());
	final Dimension filteringButtonSize = myFilterConditionEditor.getEditorComponent().getPreferredSize();
	filteringButtonSize.width = JBUI.scale(FILTERING_BUTTON_ADDITIONAL_WIDTH) + myFilterButton.getPreferredSize().width;
	myFilterButton.setPreferredSize(filteringButtonSize);

	final JBPanel filteringPane = new JBPanel(new BorderLayout(JBUI.scale(BORDER_LAYOUT_DEFAULT_GAP), 0));
	final JBLabel sideEffectsWarning = new JBLabel("Warning: filtering may have side effects", SwingConstants.RIGHT);
	sideEffectsWarning.setBorder(JBUI.Borders.empty(1, 0, 0, 0));
	sideEffectsWarning.setComponentStyle(UIUtil.ComponentStyle.SMALL);
	sideEffectsWarning.setFontColor(UIUtil.FontColor.BRIGHTER);

	filteringPane.add(new JBLabel("Condition:"), BorderLayout.WEST);
	filteringPane.add(myFilterConditionEditor.getComponent(), BorderLayout.CENTER);
	filteringPane.add(myFilterButton, BorderLayout.EAST);
	filteringPane.add(sideEffectsWarning, BorderLayout.SOUTH);

	myProgress.addStopActionListener(this::cancelFilteringTask);

	myInstancesTree = new InstancesTree(myProject, editorsProvider, markers, this::updateInstances);

	myFilterButton.addActionListener(e ->
	{
		final String expression = myFilterConditionEditor.getExpression().getExpression();
		if(!expression.isEmpty())
		{
			myFilterConditionEditor.saveTextInHistory();
		}

		myFilterButton.setEnabled(false);
		myInstancesTree.rebuildTree(InstancesTree.RebuildPolicy.RELOAD_INSTANCES);
	});


	final StackFrameList list = new StackFrameList(myDebugProcess);

	list.addListSelectionListener(e -> list.navigateToSelectedValue(false));
	new DoubleClickListener()
	{
		@Override
		protected boolean onDoubleClick(MouseEvent event)
		{
			list.navigateToSelectedValue(true);
			return true;
		}
	}.installOn(list);

	final InstancesWithStackFrameView instancesWithStackFrame = new InstancesWithStackFrameView(session, myInstancesTree, list, myClassName);

	add(filteringPane, BorderLayout.NORTH);
	add(instancesWithStackFrame.getComponent(), BorderLayout.CENTER);

	final JComponent focusedComponent = myFilterConditionEditor.getEditorComponent();
	UiNotifyConnector.doWhenFirstShown(focusedComponent, () -> IdeFocusManager.findInstanceByComponent(focusedComponent).requestFocus(focusedComponent, true));
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:71,代码来源:InstancesWindow.java

示例6: getEditorsProvider

import org.jetbrains.java.debugger.JavaDebuggerEditorsProvider; //导入依赖的package包/类
@Nullable
@Override
public final XDebuggerEditorsProvider getEditorsProvider(@NotNull XLineBreakpoint<P> breakpoint, @NotNull Project project)
{
	return new JavaDebuggerEditorsProvider();
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:7,代码来源:JavaLineBreakpointTypeBase.java

示例7: getEditorsProvider

import org.jetbrains.java.debugger.JavaDebuggerEditorsProvider; //导入依赖的package包/类
@Nullable
@Override
public final XDebuggerEditorsProvider getEditorsProvider(@NotNull XBreakpoint<T> breakpoint, @NotNull Project project)
{
	return new JavaDebuggerEditorsProvider();
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:7,代码来源:JavaBreakpointTypeBase.java


注:本文中的org.jetbrains.java.debugger.JavaDebuggerEditorsProvider类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。