Examples of invalidate()


Examples of org.auraframework.system.MasterDefRegistry.invalidate()

        mdr.getDef(privilegedCmp);
        assertTrue(isInDepsCache(privilegedCmp, mdri));
        assertFalse(isInDepsCache(unprivilegedCmp, mdri));
        assertFalse(isInDepsCache(privilegedRoot, mdri));

        mdr.invalidate(DefDescriptorImpl.getInstance("aura:component", ComponentDef.class)); // invalidate the world
        mdr.getDef(unprivilegedCmp);
        assertFalse(isInDepsCache(privilegedCmp, mdri));
        assertFalse(isInDepsCache(unprivilegedCmp, mdri));
        assertFalse(isInDepsCache(privilegedRoot, mdri));
View Full Code Here

Examples of org.cafesip.jiplet.JipletSession.invalidate()

               
                if (req_msg.getMethod().equals(Request.BYE) == true)
                {
                    if (session != null)
                    {
                        session.invalidate();
                    }
                }
            }
           
            // Act as a stateless proxy. Forward the message to the phone.
View Full Code Here

Examples of org.directwebremoting.ScriptSession.invalidate()

             public void sessionCreated(ScriptSessionEvent event) { 
                     ScriptSession scriptSession = event.getSession(); // ��ȡ�´�����SS 
                     HttpSession httpSession  = WebContextFactory.get().getSession();// ��ȡ����SS���û���HttpSession 
                     User user = (User)httpSession.getAttribute(SESSION_USER)
                     if(user ==null){ 
                             scriptSession.invalidate()
                             httpSession.invalidate()
                             return
                    
                     String ssId = (String) httpSession.getAttribute(SS_ID)
                     if (ssId != null) { 
View Full Code Here

Examples of org.drools.common.DefaultFactHandle.invalidate()

        final DefaultFactHandle f0 = new DefaultFactHandle( 134,
                                                            "cheese" );
        assertEquals( 134,
                      f0.getId() );

        f0.invalidate();
        assertEquals( 134,
                      f0.getId() );
        assertFalse( f0.isValid() );
    }
View Full Code Here

Examples of org.drools.core.common.DefaultFactHandle.invalidate()

        final DefaultFactHandle f0 = new DefaultFactHandle( 134,
                                                            "cheese" );
        assertEquals( 134,
                      f0.getId() );

        f0.invalidate();
        // invalidate no longer sets the id to -1
        assertEquals( 134,
                      f0.getId() );
    }
View Full Code Here

Examples of org.dyno.visual.swing.designer.VisualDesigner.invalidate()

    try {
      operationHistory.execute(operation, null, null);
    } catch (ExecutionException e) {
      VisualSwingPlugin.getLogger().error(e);
    }
    designer.invalidate();
    designer.doLayout();
    designer.repaint();
  }

  @Override
View Full Code Here

Examples of org.eclipse.draw2d.Figure.invalidate()

   */
  protected void layoutChildren() {
    List children = getFlowFigure().getChildren();
    for (int i = 0; i < children.size(); i++) {
      Figure f = (Figure) children.get(i);
      f.invalidate();
      f.validate();
    }
  }

  /*
 
View Full Code Here

Examples of org.eclipse.draw2d.GridLayout.invalidate()

    }
   
    private void adjustLayout() {
        GridLayout layout = (GridLayout) getLayoutManager();
        layout.numColumns = getChildren().size();
        layout.invalidate();
    }
   
    public void addSafely(IFigure figure, Object constraint, int index) {
        if (!actionsFitInFigure) {
            cachedFigures.add((ActionFigure) figure);
View Full Code Here

Examples of org.eclipse.draw2d.PolylineConnection.invalidate()

    super.refreshVisuals();

//    Object model = getModel();
    PolylineConnection figureConnection = (PolylineConnection) getFigure();
    // set color ...
    figureConnection.invalidate();
    //setRoutingConstraint(null);
  }

  /**
   * @see org.eclipse.gef.editparts.AbstractConnectionEditPart#getAdapter(java.lang.Class)
View Full Code Here

Examples of org.eclipse.draw2d.ScrollBar.invalidate()

      }
      viewport.setViewLocation(currentLocation);

      // refreshes the scrollbar so they can disppear if needed
      ScrollBar scrollbar = scrollpane.getVerticalScrollBar();
      scrollbar.invalidate();
      scrollbar.validate();
    }
  }
 
  protected int getScrollStep(GraphicalEditPart part) {
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.