Examples of DoubleClickAction


Examples of com.sun.hotspot.igv.util.DoubleClickAction

        for (Figure f : d.getFigures()) {
            FigureWidget w = new FigureWidget(f, this, mainLayer);
            w.getActions().addAction(selectAction);
            w.getActions().addAction(hoverAction);
            w.getActions().addAction(ActionFactory.createPopupMenuAction(w));
            w.getActions().addAction(new DoubleClickAction(w));
            w.setVisible(false);

            figureWidgets.put(f, w);

            for (InputSlot s : f.getInputSlots()) {
View Full Code Here

Examples of csa.gui.DoubleClickAction

        csaAttackerPanel = new CSATablePanel(t);
        csaAttackerPanel.setXMLId("AttackerSimTable");
        csaAttackerPanel.setTableStyleSwitchingEnabled(false);
        csaAttackerPanel.setTablePopupEnabled(true);

        csaAttackerPanel.setDoubleClickAction(new DoubleClickAction()
        {
            public void doIt()
            {
                JTable table = (JTable) evt.getSource();
                mRow = table.convertRowIndexToModel(table.rowAtPoint(evt.getPoint()));
                mCol = table.convertColumnIndexToModel(table.columnAtPoint(evt.getPoint()));
                mCol = csaAttackerPanel.getModel().convertEnabledColToRealCol(mCol);
                tableDoubleClicked();
            }
        });

        jPanelAttackerTab.removeAll();

        javax.swing.GroupLayout jPanelAttackerTabLayout = new javax.swing.GroupLayout(jPanelAttackerTab);
        jPanelAttackerTab.setLayout(jPanelAttackerTabLayout);
        jPanelAttackerTabLayout.setHorizontalGroup(
            jPanelAttackerTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelAttackerTabLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(csaAttackerPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 412, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanelAttackerTabLayout.setVerticalGroup(
            jPanelAttackerTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelAttackerTabLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(csaAttackerPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 111, Short.MAX_VALUE))
        );

        t = CSATableModel.buildTableModel(getBlockerTableModel());
        csaBlockerPanel = new CSATablePanel(t);
        csaBlockerPanel.setXMLId("BlockerSimTable");
        csaBlockerPanel.setTableStyleSwitchingEnabled(false);
        csaBlockerPanel.setTablePopupEnabled(true);

        csaBlockerPanel.setDoubleClickAction(new DoubleClickAction()
        {
            public void doIt()
            {
                JTable table = (JTable) evt.getSource();
                mRow = table.convertRowIndexToModel(table.rowAtPoint(evt.getPoint()));
                mCol = table.convertColumnIndexToModel(table.columnAtPoint(evt.getPoint()));
                mCol = csaBlockerPanel.getModel().convertEnabledColToRealCol(mCol);
                tableDoubleClicked();
            }
        });

        jPanelBlockerTab.removeAll();

        javax.swing.GroupLayout jPanelBlockerTabLayout = new javax.swing.GroupLayout(jPanelBlockerTab);
        jPanelBlockerTab.setLayout(jPanelBlockerTabLayout);
        jPanelBlockerTabLayout.setHorizontalGroup(
            jPanelBlockerTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelBlockerTabLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(csaBlockerPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 412, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanelBlockerTabLayout.setVerticalGroup(
            jPanelBlockerTabLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanelBlockerTabLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(csaBlockerPanel, javax.swing.GroupLayout.DEFAULT_SIZE, 111, Short.MAX_VALUE))
        );

        if (mBattleDone)
        {

            t = CSATableModel.buildTableModel(getCombatFormationTableModel());
            csaCombatFormationPanel = new CSATablePanel(t);
            csaCombatFormationPanel.setXMLId("CombatFormationTable");
            csaCombatFormationPanel.setTableStyleSwitchingEnabled(false);
            csaCombatFormationPanel.setTablePopupEnabled(true);

            csaCombatFormationPanel.setDoubleClickAction(new DoubleClickAction()
            {
                public void doIt()
                {
                    JTable table = (JTable) evt.getSource();
                    mRow = table.convertRowIndexToModel(table.rowAtPoint(evt.getPoint()));
View Full Code Here

Examples of csa.gui.DoubleClickAction

        csaPanel = new CSATablePanel(t);
        csaPanel.setXMLId("CardShopTable");
        csaPanel.setTableStyleSwitchingEnabled(false);
        csaPanel.setTablePopupEnabled(true);

        csaPanel.setDoubleClickAction(new DoubleClickAction()
        {
            public void doIt()
            {
                JTable table = (JTable) evt.getSource();
                mRow = table.convertRowIndexToModel(table.rowAtPoint(evt.getPoint()));
View Full Code Here

Examples of csa.gui.DoubleClickAction

        CSATableModel t = CSATableModel.buildTableModel(getTableModel());
        csaPanel = new CSATablePanel(t);
        csaPanel.setXMLId("ImageAttributes");
        csaPanel.setTableStyleSwitchingEnabled(false);
        csaPanel.setTablePopupEnabled(true);
        csaPanel.setDoubleClickAction(new DoubleClickAction()
        {
            public void doIt()
            {
                JTable table = (JTable) evt.getSource();
                mRow = table.convertRowIndexToModel(table.rowAtPoint(evt.getPoint()));
View Full Code Here

Examples of csa.gui.DoubleClickAction

        CSATableModel t = CSATableModel.buildTableModel(getTableModel());
        csaPanel = new CSATablePanel(t);
        csaPanel.setXMLId("ImageAttributes");
        csaPanel.setTableStyleSwitchingEnabled(false);
        csaPanel.setTablePopupEnabled(true);
        csaPanel.setDoubleClickAction(new DoubleClickAction()
        {
            public void doIt()
            {
                JTable table = (JTable) evt.getSource();
                mRow = table.convertRowIndexToModel(table.rowAtPoint(evt.getPoint()));
View Full Code Here

Examples of csa.gui.DoubleClickAction


        CSATableModel t = CSATableModel.buildTableModel(getTableModel());

        csaPanel = new CSATablePanel(t);
        csaPanel.setDoubleClickAction(new DoubleClickAction()
        {
            public void doIt()
            {
                JTable table = (JTable) evt.getSource();
                mRow = table.convertRowIndexToModel(table.rowAtPoint(evt.getPoint()));
View Full Code Here

Examples of net.jmesnil.jmx.ui.internal.actions.DoubleClickAction

    super();
  }

    public void init(ICommonActionExtensionSite aSite) {
        super.init(aSite);
        doubleClickAction = new DoubleClickAction();
        newConnectionAction = new NewConnectionAction();
        aSite.getStructuredViewer().addSelectionChangedListener(doubleClickAction);
    }
View Full Code Here

Examples of org.fusesource.ide.fabric8.ui.actions.DoubleClickAction

  @Override
  public void init(ICommonActionExtensionSite site) {
    super.init(site);
    this.site = site;
    String viewId = site.getViewSite().getId();
    doubleClickAction = new DoubleClickAction();
    refreshAction = new RefreshAction(viewId);
    StructuredViewer viewer = site.getStructuredViewer();
    refreshAction.setViewer(viewer);
    FabricPlugin.getLogger().debug("============================= View ID: " + viewId);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.