Package org.eclipse.jst.pagedesigner.dom.html

Examples of org.eclipse.jst.pagedesigner.dom.html.TableChildElementPosition


    final ElementEditPart tablePart =
      (ElementEditPart) ((IDOMElement) ele).getAdapterFor(EditPart.class);

    final Element table = (Element) tablePart.getModel();

    final TableChildElementPosition position = new TableUtil(table).getPosition((Node)null);
    final int cellRow = position.getRowIndex();
    final int cellColumn = position.getColumnIndex();

    final IMenuManager tableMenu =
      new MenuManager(PDPlugin.getResourceString("ElementEdit.Submenu.Table")); //$NON-NLS-1$
    tableMenu.add(action);
    tableMenu.addMenuListener(new IMenuListener() {
View Full Code Here


    super.fillContainerContextMenu(contextMenu, tablePart, nodePart, innerSelection);

    final Element table = (Element) tablePart.getModel();
    final Node node = (Node) nodePart.getModel();

    final TableChildElementPosition position = new TableUtil(table).getPosition(node);
    final int cellRow = position.getRowIndex();
    final int cellColumn = position.getColumnIndex();

    final IMenuManager tableMenu =
      new MenuManager(PDPlugin.getResourceString("ElementEdit.Submenu.Table")); //$NON-NLS-1$
    tableMenu.add(action);
    tableMenu.addMenuListener(new IMenuListener() {
View Full Code Here

TOP

Related Classes of org.eclipse.jst.pagedesigner.dom.html.TableChildElementPosition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.