• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java SplitLayoutPanel类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中com.google.gwt.user.client.ui.SplitLayoutPanel的典型用法代码示例。如果您正苦于以下问题:Java SplitLayoutPanel类的具体用法?Java SplitLayoutPanel怎么用?Java SplitLayoutPanel使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



SplitLayoutPanel类属于com.google.gwt.user.client.ui包,在下文中一共展示了SplitLayoutPanel类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: setInitialFolderManagementView

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
public void setInitialFolderManagementView(FolderManagementController controller, String parentFolderPath, String baseFolderUrl,
		Map<String, String> batchClassesMap) {
	Label footer = new Label();
	folderTableView = new FolderTableView(footer);

	folderTablePresenter = new FolderTablePresenter(controller, folderTableView, parentFolderPath, baseFolderUrl);

	folderSystemTreeView = new FolderSystemTreeView();

	folderSystemTreePresenter = new FolderSystemTreePresenter(controller, folderSystemTreeView, parentFolderPath, footer);

	SplitLayoutPanel mainContentPanel = new SplitLayoutPanel();
	DockLayoutPanel leftLayoutPanel = new DockLayoutPanel(Unit.PCT);
	ScrollPanel treeScrollPanel = new ScrollPanel();
	treeScrollPanel.add(folderSystemTreeView);
	FolderSelectionWidget folderSelectionWidget = new FolderSelectionWidget(batchClassesMap, controller.getEventBus());
	leftLayoutPanel.addNorth(folderSelectionWidget, 10);
	leftLayoutPanel.add(treeScrollPanel);
	mainContentPanel.addWest(leftLayoutPanel, 200);
	DockLayoutPanel contentMainPanel = new DockLayoutPanel(Unit.PCT);
	contentMainPanel.add(folderTableView);
	contentMainPanel.addStyleName(FolderManagementConstants.WHITE_BACKGROUND);
	mainContentPanel.add(contentMainPanel);
	mainPanel.add(mainContentPanel);
	ScreenMaskUtility.unmaskScreen();
}
 
开发者ID:kuzavas,项目名称:ephesoft,代码行数:27,代码来源:FolderManagementView.java


示例2: split

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
@Override
public void split(IsWidget replicaWidget, Direction direction, double size) {
  this.direction = direction;
  splitLayoutPanel = new SplitLayoutPanel(SPLITTER_SIZE);
  specimenView = new SplitEditorPartViewImpl(specimenWidget, this);
  replicaView = new SplitEditorPartViewImpl(replicaWidget, this);

  if (direction == VERTICALLY) {
    splitVertically(size);
  } else if (direction == HORIZONTALLY) {
    splitHorizontally(size);
  }

  splitLayoutPanel.add(replicaView);
  rootPanel.remove(specimenWidget);
  rootPanel.add(splitLayoutPanel);

  tuneSplitter(splitLayoutPanel);
}
 
开发者ID:eclipse,项目名称:che,代码行数:20,代码来源:SplitEditorPartViewImpl.java


示例3: tuneSplitter

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
/** Improves splitter visibility. */
private void tuneSplitter(SplitLayoutPanel splitLayoutPanel) {
  NodeList<Node> nodes = splitLayoutPanel.getElement().getChildNodes();
  for (int i = 0; i < nodes.getLength(); i++) {
    Node node = nodes.getItem(i);
    if (node.hasChildNodes()) {
      Element el = node.getFirstChild().cast();
      String className = el.getClassName();
      if (HORIZONTAL_DRAGGER_CLASS.equals(className)) {
        tuneVerticalSplitter(el);
      } else if (VERTICAL_DRAGGER_CLASS.equals(className)) {
        tuneHorizontalSplitter(el);
      }
    }
  }
}
 
开发者ID:eclipse,项目名称:che,代码行数:17,代码来源:SplitEditorPartViewImpl.java


示例4: DataSourceCoveragePreview

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
public DataSourceCoveragePreview(DataSourceCoverageData covData) {
    super(covData.getTitle(),covData.getTip());
    _covData= covData;
    setName(covData.getTitle());
    String group= covData.getGroup();
    MiniPlotWidget mpw=   new MiniPlotWidget(group);
    mpw.setImageSelection(true);
    mpw.setRemoveOldPlot(false);
    _plotDeck= new DisableablePlotDeckPanel(_prop.getName("noplot"), mpw,true);
    if (covData.getEnableDetails()) {
        _detailsView = new ScrollPanel(_details);
        SplitLayoutPanel display = new SplitLayoutPanel();
        display.addSouth(_detailsView, 120);
        GwtUtil.setStyle(_detailsView,"borderTop", "1px solid gray");
        GwtUtil.setStyle(_detailsView,"paddingTop", "3px");
        display.add(_plotDeck);
        setDisplay(display);
    }
    else {
        setDisplay(_plotDeck);
    }

}
 
开发者ID:lsst,项目名称:firefly,代码行数:24,代码来源:DataSourceCoveragePreview.java


示例5: SqlRequestLauncherViewImpl

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
@Inject
public SqlRequestLauncherViewImpl(final SqlRequestLauncherViewImplUiBinder uiBinder,
                                  final SqlRequestLauncherConstants constants,
                                  final DatasourceUiResources datasourceUiResources) {
    super();

    /* initialize provided fields */
    this.datasourceUiResources = datasourceUiResources;
    this.constants = constants;
    this.splitPanel = new SplitLayoutPanel(4);

    uiBinder.createAndBindUi(this);
    getContainer().add(this.launcherContainer);

    selectDatasourceLabel.setText(constants.selectDatasourceLabel());
    resultLimitLabel.setText(constants.resultLimitLabel());
    executionModeLabel.setText(constants.executionModeLabel());
    executeButton.setText(constants.executeButtonLabel());
    executeButton.ensureDebugId("dsExecuteButton");

    fillExecutionModeList(constants);
}
 
开发者ID:codenvy-legacy,项目名称:plugin-datasource,代码行数:23,代码来源:SqlRequestLauncherViewImpl.java


示例6: testPanels

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
@Test
public void testPanels() throws Exception {
  invokeAllAccessibleMethods(new AbsolutePanel() {});
  invokeAllAccessibleMethods(new CellPanel() {});
  invokeAllAccessibleMethods(new ComplexPanel() {});
  invokeAllAccessibleMethods(new DeckLayoutPanel() {});
  invokeAllAccessibleMethods(new DeckPanel() {});
  invokeAllAccessibleMethods(new DecoratorPanel() {});
  invokeAllAccessibleMethods(new DockLayoutPanel(Unit.PX) {});
  invokeAllAccessibleMethods(new DockPanel() {});
  invokeAllAccessibleMethods(new FlowPanel() {});
  invokeAllAccessibleMethods(new FocusPanel() {});
  invokeAllAccessibleMethods(new HorizontalPanel() {});
  invokeAllAccessibleMethods(new HTMLPanel("") {});
  invokeAllAccessibleMethods(new LayoutPanel() {});
  invokeAllAccessibleMethods(new PopupPanel() {});
  invokeAllAccessibleMethods(new RenderablePanel("") {});
  invokeAllAccessibleMethods(new ResizeLayoutPanel() {});
  invokeAllAccessibleMethods(new SimpleLayoutPanel() {});
  invokeAllAccessibleMethods(new SimplePanel() {});
  invokeAllAccessibleMethods(new SplitLayoutPanel() {});
  invokeAllAccessibleMethods(new StackPanel() {});
  invokeAllAccessibleMethods(new VerticalPanel() {});
}
 
开发者ID:google,项目名称:gwtmockito,代码行数:25,代码来源:GwtMockitoWidgetBaseClassesTest.java


示例7: WorkBenchPartControllerImpl

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
@Inject
public WorkBenchPartControllerImpl(
    @Assisted SplitLayoutPanel splitLayoutPanel, @Assisted SimplePanel widget) {
  this.splitLayoutPanel = splitLayoutPanel;
  this.widget = widget;

  splitLayoutPanel.setWidgetToggleDisplayAllowed(widget, true);
  splitLayoutPanel.setWidgetHidden(widget, true);
  splitLayoutPanel.forceLayout();
}
 
开发者ID:eclipse,项目名称:che,代码行数:11,代码来源:WorkBenchPartControllerImpl.java


示例8: setUp

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
@Before
public void setUp() {

  when(view.getLeftPanel()).thenReturn(panel);
  when(view.getRightPanel()).thenReturn(panel);
  when(view.getBottomPanel()).thenReturn(panel);

  when(view.getSplitPanel()).thenReturn(layoutPanel);

  when(view.getNavigationPanel()).thenReturn(simplePanel);
  when(view.getInformationPanel()).thenReturn(simpleLayoutPanel);
  when(view.getToolPanel()).thenReturn(simplePanel);

  when(controllerFactory.createController(
          org.mockito.ArgumentMatchers.<SplitLayoutPanel>anyObject(),
          org.mockito.ArgumentMatchers.<SimplePanel>anyObject()))
      .thenReturn(workBenchController);

  when(partViewFactory.create(org.mockito.ArgumentMatchers.<FlowPanel>anyObject()))
      .thenReturn(partStackView);

  when(stackPresenterFactory.create(
          org.mockito.ArgumentMatchers.<PartStackView>anyObject(),
          org.mockito.ArgumentMatchers.<WorkBenchPartController>anyObject()))
      .thenReturn(partStackPresenter);

  perspective =
      new ProjectPerspective(
          view,
          editorMultiPartStackPresenter,
          stackPresenterFactory,
          partViewFactory,
          controllerFactory,
          eventBus,
          dynaProvider,
          projectExplorerPresenter,
          commandsExplorerPresenter,
          notificationManager,
          processesPanelPresenter);
}
 
开发者ID:eclipse,项目名称:che,代码行数:41,代码来源:ProjectPerspectiveTest.java


示例9: setUp

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
@Before
public void setUp() throws Exception {
  when(view.getLeftPanel()).thenReturn(panel);
  when(view.getRightPanel()).thenReturn(panel);
  when(view.getBottomPanel()).thenReturn(panel);

  when(view.getSplitPanel()).thenReturn(layoutPanel);

  when(view.getNavigationPanel()).thenReturn(simplePanel);
  when(view.getInformationPanel()).thenReturn(simpleLayoutPanel);
  when(view.getToolPanel()).thenReturn(simplePanel);

  when(partStackPresenter.getPartStackState()).thenReturn(PartStack.State.NORMAL);

  when(controllerFactory.createController(
          org.mockito.ArgumentMatchers.<SplitLayoutPanel>anyObject(),
          org.mockito.ArgumentMatchers.<SimplePanel>anyObject()))
      .thenReturn(workBenchController);

  when(partStackViewFactory.create(org.mockito.ArgumentMatchers.<FlowPanel>anyObject()))
      .thenReturn(partStackView);

  when(stackPresenterFactory.create(
          org.mockito.ArgumentMatchers.<PartStackView>anyObject(),
          org.mockito.ArgumentMatchers.<WorkBenchPartController>anyObject()))
      .thenReturn(partStackPresenter);

  perspective =
      new AbstractPerspectiveTest.DummyPerspective(
          view,
          stackPresenterFactory,
          partStackViewFactory,
          controllerFactory,
          eventBus,
          null,
          partStackPresenter,
          dynaProvider);
  perspective.onActivePartChanged(new ActivePartChangedEvent(activePart));
}
 
开发者ID:eclipse,项目名称:che,代码行数:40,代码来源:AbstractPerspectivePersistenceTest.java


示例10: setUp

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
@Before
public void setUp() throws Exception {
  when(view.getLeftPanel()).thenReturn(panel);
  when(view.getRightPanel()).thenReturn(panel);
  when(view.getBottomPanel()).thenReturn(panel);

  when(view.getSplitPanel()).thenReturn(layoutPanel);

  when(view.getNavigationPanel()).thenReturn(simplePanel);
  when(view.getInformationPanel()).thenReturn(simpleLayoutPanel);
  when(view.getToolPanel()).thenReturn(simplePanel);

  when(controllerFactory.createController(
          org.mockito.ArgumentMatchers.<SplitLayoutPanel>anyObject(),
          org.mockito.ArgumentMatchers.<SimplePanel>anyObject()))
      .thenReturn(workBenchController);

  when(partStackViewFactory.create(org.mockito.ArgumentMatchers.<FlowPanel>anyObject()))
      .thenReturn(partStackView);

  when(stackPresenterFactory.create(
          org.mockito.ArgumentMatchers.<PartStackView>anyObject(),
          org.mockito.ArgumentMatchers.<WorkBenchPartController>anyObject()))
      .thenReturn(partStackPresenter);

  perspective =
      new DummyPerspective(
          view,
          stackPresenterFactory,
          partStackViewFactory,
          controllerFactory,
          eventBus,
          extraPartStackPresenter,
          partStackPresenter,
          dynaProvider);
}
 
开发者ID:eclipse,项目名称:che,代码行数:37,代码来源:AbstractPerspectiveTest.java


示例11: tuneSplitter

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
/** Improves splitter visibility. */
public void tuneSplitter(SplitLayoutPanel splitLayoutPanel) {
  NodeList<Node> nodes = splitLayoutPanel.getElement().getChildNodes();
  for (int i = 0; i < nodes.getLength(); i++) {
    Node node = nodes.getItem(i);
    if (node.hasChildNodes()) {
      com.google.gwt.dom.client.Element el = node.getFirstChild().cast();
      if ("gwt-SplitLayoutPanel-HDragger".equals(el.getClassName())) {
        tuneSplitter(el);
        return;
      }
    }
  }
}
 
开发者ID:eclipse,项目名称:che,代码行数:15,代码来源:SplitterFancyUtil.java


示例12: TestResultViewImpl

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
@Inject
public TestResultViewImpl(TestResultNodeFactory nodeFactory, PrinterOutputConsole outputConsole) {
  this.nodeFactory = nodeFactory;
  splitLayoutPanel = new SplitLayoutPanel(1);
  setContentWidget(UI_BINDER.createAndBindUi(this));
  splitLayoutPanel.add(outputConsole);

  NodeUniqueKeyProvider idProvider =
      new NodeUniqueKeyProvider() {
        @NotNull
        @Override
        public String getKey(@NotNull Node item) {
          return String.valueOf(item.hashCode());
        }
      };
  NodeStorage nodeStorage = new NodeStorage(idProvider);
  NodeLoader nodeLoader = new NodeLoader(Collections.emptySet());
  resultTree = new Tree(nodeStorage, nodeLoader);
  resultTree
      .getSelectionModel()
      .addSelectionHandler(
          event -> {
            Node methodNode = event.getSelectedItem();
            if (methodNode instanceof TestStateNode) {
              outputConsole.testSelected(((TestStateNode) methodNode).getTestState());
            }
          });

  resultTree.setAutoExpand(true);
  resultTree.getNodeLoader().setUseCaching(false);

  resultTree.getElement().getStyle().setWidth(100, Style.Unit.PCT);
  resultTree.getElement().getStyle().setHeight(100, Style.Unit.PCT);
  navigationPanel.add(resultTree);

  testRootState = new TestRootState();
}
 
开发者ID:eclipse,项目名称:che,代码行数:38,代码来源:TestResultViewImpl.java


示例13: PlannerWidgetImpl

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
public PlannerWidgetImpl() {
	rootPanel = new DeckLayoutPanel();

	// Screen interaction widget
	screenWidget = new SplitLayoutPanel() {
		@Override
		public void onResize() {
			super.onResize();
			if (plannerMapWidget != null)
				plannerMapWidget.updateSize();
		}
	};
	screenWidget.setSize("100%", "100%");
	selectedItineraryWidget = null;

	plannerMapWidget = new OpenLayersPlannerMapWidget();
	plannerMapWidget.setMapListener(this);
	plannerFormWidget = new PlannerFormWidget();
	plannerFormWidget.setPlannerWidget(this);
	itineraryStackWidget = new ItineraryStackWidget();
	alertStackWidget = new AlertStackWidget();

	// Firefox/Opera hack: no scroll panel...
	boolean useScrollPanel = false;
	leftPanelWidget = new LeftPanelWidget(plannerFormWidget,
			itineraryStackWidget, alertStackWidget, useScrollPanel);
	screenWidget.insert(leftPanelWidget, Direction.WEST, 300, null);
	if (!useScrollPanel) {
		leftPanelWidget.getElement().getParentElement().getStyle()
				.setOverflow(Overflow.AUTO);
	}
	screenWidget.insert(plannerMapWidget.getAsWidget(), Direction.CENTER, 0,
			null);
	rootPanel.add(screenWidget);
	rootPanel.showWidget(screenWidget);
	rootPanel.setSize("100%", "100%");

	initWidget(rootPanel);
}
 
开发者ID:mecatran,项目名称:OpenTripPlanner-client-gwt,代码行数:40,代码来源:PlannerWidgetImpl.java


示例14: hideWidget

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
public static void hideWidget(SplitLayoutPanel splitPanel, Widget widget) {
    hideWidget((DockLayoutPanel) splitPanel, widget);
}
 
开发者ID:lsst,项目名称:firefly,代码行数:4,代码来源:GwtUtil.java


示例15: SplitLayoutPanelView

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
public SplitLayoutPanelView() {
    layout = new SplitLayoutPanel(2);

    centerPanel = new LayoutPanel();
    westPanel = new LayoutPanel();

    // TODO (hbraun): the actual width should become meta data. i.e. passed through the position object
    layout.addWest(westPanel,
                   217);
    layout.add(centerPanel);
}
 
开发者ID:kiegroup,项目名称:appformer,代码行数:12,代码来源:SplitLayoutPanelView.java


示例16: onInitialize

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
/**
 * Initialize this example.
 */
@ShowcaseSource
@Override
public Widget onInitialize() {
  // Create a Split Panel
  SplitLayoutPanel splitPanel = new SplitLayoutPanel(5);
  splitPanel.ensureDebugId("cwSplitLayoutPanel");
  splitPanel.getElement().getStyle()
      .setProperty("border", "3px solid #e7e7e7");

  // Add text all around.
  splitPanel.addNorth(new Label(constants.cwSplitLayoutPanelNorth1()), 50);
  splitPanel.addSouth(new Label(constants.cwSplitLayoutPanelSouth1()), 50);
  splitPanel.addEast(new Label(constants.cwSplitLayoutPanelEast()), 100);
  splitPanel.addWest(new Label(constants.cwSplitLayoutPanelWest()), 100);
  splitPanel.addNorth(new Label(constants.cwSplitLayoutPanelNorth2()), 50);
  splitPanel.addSouth(new Label(constants.cwSplitLayoutPanelSouth2()), 50);

  // Add scrollable text to the center.
  String centerText = constants.cwSplitLayoutPanelCenter();
  for (int i = 0; i < 3; i++) {
    centerText += " " + centerText;
  }
  Label centerLabel = new Label(centerText);
  ScrollPanel centerScrollable = new ScrollPanel(centerLabel);
  splitPanel.add(centerScrollable);

  // Return the content
  return splitPanel;
}
 
开发者ID:Peergos,项目名称:Peergos,代码行数:33,代码来源:CwSplitLayoutPanel.java


示例17: GwtThreeComponentSplitLayout

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
public GwtThreeComponentSplitLayout() {
  mySplitLayoutPanel = new SplitLayoutPanel(1);

  GwtUIUtil.fill(mySplitLayoutPanel);

  setWidget(mySplitLayoutPanel);

  mySplitLayoutPanel.addWest(myLeftPanel, 250);
  mySplitLayoutPanel.addEast(myRightPanel, 250);
  mySplitLayoutPanel.add(myCenterPanel);

  mySplitLayoutPanel.setWidgetHidden(myLeftPanel, true);
  mySplitLayoutPanel.setWidgetHidden(myRightPanel, true);
  mySplitLayoutPanel.setWidgetHidden(myCenterPanel, true);
}
 
开发者ID:consulo,项目名称:consulo,代码行数:16,代码来源:GwtThreeComponentSplitLayout.java


示例18: onModuleLoad

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
/**
 * This is the entry point method.
 */
public void onModuleLoad() {
	SplitLayoutPanel mainPanel = new SplitLayoutPanel();
	
	
	
	mainPanel.setStylePrimaryName("main");
	
	treePanel = new TreePanel(this);
	contentPanel = new ScrollPanel();
	
	companyPanel = new CompanyPanel(treePanel);
	departmentPanel = new DepartmentPanel(treePanel, this);
	employeePanel = new EmployeePanel(treePanel, this);
	
	treePanel.refreshTree();
	
	ScrollPanel treeScroll = new ScrollPanel(treePanel);
	treeScroll.setStylePrimaryName("tree");
	
	mainPanel.addSouth(new ButtonPanel(this), 32);
	mainPanel.addWest(treeScroll, 350);
	mainPanel.add(contentPanel);
	
	RootPanel.get("content").add(mainPanel);
}
 
开发者ID:amritbhat786,项目名称:DocIT,代码行数:29,代码来源:GwtTree.java


示例19: getSplitPanel

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
/** Returns split panel. */
public SplitLayoutPanel getSplitPanel() {
  return splitPanel;
}
 
开发者ID:eclipse,项目名称:che,代码行数:5,代码来源:PerspectiveViewImpl.java


示例20: SubPanelViewImpl

import com.google.gwt.user.client.ui.SplitLayoutPanel; //导入依赖的package包/类
@Inject
public SubPanelViewImpl(
    SubPanelViewImplUiBinder uiBinder,
    TabItemFactory tabItemFactory,
    Menu menu,
    @Assisted ClosePaneAction closePaneAction,
    @Assisted RemoveAllWidgetsInPaneAction removeAllWidgetsInPaneAction,
    @Assisted SplitHorizontallyAction splitHorizontallyAction,
    @Assisted SplitVerticallyAction splitVerticallyAction) {
  this.tabItemFactory = tabItemFactory;
  this.menu = menu;

  closePaneMenuItem = new MenuItemActionWidget(closePaneAction);
  menu.addListItem(closePaneMenuItem);
  menu.addListItem(new MenuItemActionWidget(removeAllWidgetsInPaneAction));
  menu.addListItem(new MenuItemActionWidget(splitHorizontallyAction));
  menu.addListItem(new MenuItemActionWidget(splitVerticallyAction));

  menu.setDelegate(this);

  tabs2Widgets = new HashMap<>();
  widgets2Tabs = new HashMap<>();
  widgets2ListItems = new HashMap<>();
  eastSubPanels = new ArrayList<>();
  southSubPanels = new ArrayList<>();

  splitLayoutPanel = new SplitLayoutPanel(3);

  initWidget(uiBinder.createAndBindUi(this));

  menuPanel.add(menu);

  plusPanel.getElement().setInnerHTML(FontAwesome.PLUS);
  plusPanel.addDomHandler(
      new ClickHandler() {
        @Override
        public void onClick(ClickEvent clickEvent) {
          delegate.onAddTabButtonClicked(
              getAbsoluteLeft(plusPanel.getElement()) + POPUP_OFFSET,
              getAbsoluteTop(plusPanel.getElement()) + POPUP_OFFSET);
        }
      },
      ClickEvent.getType());

  widgetsPanel.ensureDebugId("process-output-panel-holder");
  widgetsPanel.addDomHandler(
      event -> delegate.onWidgetFocused(widgetsPanel.getVisibleWidget()), ClickEvent.getType());
}
 
开发者ID:eclipse,项目名称:che,代码行数:49,代码来源:SubPanelViewImpl.java



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java ConnectIOException类代码示例发布时间:2022-05-21
下一篇:
Java BulkReOpen类代码示例发布时间:2022-05-21
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap