Examples of visit()


Examples of org.eclipse.draw2d.graph.CompoundDirectedGraphLayout.visit()

      part.addNodes(graph.nodes);
      part.addEdges(graph.edges);

      CompoundDirectedGraphLayout layout = new CompoundDirectedGraphLayout();
      layout.visit(graph);
    } catch (Exception e) {
      e.printStackTrace();
    }

    part.updateFigures();
View Full Code Here

Examples of org.eclipse.draw2d.graph.DirectedGraphLayout.visit()

    private void execute() {
        editor.doSave(null);
        Map<Long, Node> mapping = new HashMap<Long, Node>();
        DirectedGraph graph = createDirectedGraph(mapping);
        DirectedGraphLayout layout = new DirectedGraphLayout();
        layout.visit(graph);
        for (Map.Entry<Long, Node> entry: mapping.entrySet()) {
            Node node = entry.getValue();
            DefaultElementWrapper elementWrapper = (DefaultElementWrapper)
                ((ProcessWrapper) ((GenericModelEditor) editor).getModel()).getElement(entry.getKey() + "");
            elementWrapper.setConstraint(new Rectangle(node.x, node.y, node.width, node.height));
View Full Code Here

Examples of org.eclipse.persistence.internal.libraries.asm.AnnotationVisitor.visit()

                                Object nextValue = next.invoke(nextAnnotation, new Object[] {});
                                if (nextValue instanceof Class) {
                                    Type nextType = Type.getType(L + ((Class) nextValue).getName().replace(DOT_CHR, SLASH_CHR) + SEMI_COLON);
                                    nextValue = nextType;
                                }
                                av.visit(next.getName(), nextValue);
                            } catch (InvocationTargetException ex) {
                                // ignore the invocation target exception here.
                            } catch (IllegalAccessException ex) {
                            }
                        }
View Full Code Here

Examples of org.eclipse.persistence.internal.libraries.asm.ClassWriter.visit()

        Type mapType = Type.getType(L + mapClass.getRawName().replace(DOT_CHR, SLASH_CHR) + SEMI_COLON);

        ClassWriter cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES);

        String sig = "Lorg/eclipse/persistence/internal/jaxb/many/MapValue<L" + mapType.getInternalName() + "<L" + internalKeyName + ";L" + internalValueName + ";>;>;";
        cw.visit(Opcodes.V1_5, Opcodes.ACC_PUBLIC + Opcodes.ACC_SUPER, qualifiedInternalClassName, sig, "org/eclipse/persistence/internal/jaxb/many/MapValue", null);

        // Write Field: @... public Map entry
        String fieldSig = L + mapType.getInternalName() + "<L" + internalKeyName + ";L" + internalValueName + ";>;";
        FieldVisitor fv = cw.visitField(Opcodes.ACC_PUBLIC, "entry", L + mapType.getInternalName() + SEMI_COLON, fieldSig, null);
        if (typeMappingInfo != null) {
View Full Code Here

Examples of org.eclipse.sapphire.Element.visit()

    {
        final Element element = context( Element.class );
       
        if( ! element.disposed() )
        {
            element.visit
            (
                this.path,
                new PropertyVisitor()
                {
                    @Override
View Full Code Here

Examples of org.eclipse.sisu.space.asm.ClassWriter.visit()

            {
                throw new ClassNotFoundException( name );
            }

            final ClassWriter cw = new ClassWriter( 0 );
            cw.visit( Opcodes.V1_6, Modifier.PUBLIC, proxyName, null, superName, null );
            final MethodVisitor mv = cw.visitMethod( Modifier.PUBLIC, "<init>", "()V", null, null );

            mv.visitCode();
            mv.visitVarInsn( Opcodes.ALOAD, 0 );
            mv.visitMethodInsn( Opcodes.INVOKESPECIAL, superName, "<init>", "()V", false );
View Full Code Here

Examples of org.eclipse.wst.wsi.internal.core.xml.XMLTraversal.visit()

          super.visit(pi);
        }
      };

      traversal.visit(doc);

      if (result == AssertionResult.RESULT_FAILED
        && failureDetailMessage != null)
      {
        failureDetail = this.validator.createFailureDetail(failureDetailMessage, entryContext);
View Full Code Here

Examples of org.enclojure.ide.asm.AnnotationVisitor.visit()

        public void begin(final String nm, final Attributes attrs)
                throws SAXException
        {
            AnnotationVisitor av = (AnnotationVisitor) peek();
            if (av != null) {
                av.visit(attrs.getValue("name"),
                        getValue(attrs.getValue("desc"),
                                attrs.getValue("value")));
            }
        }
    }
View Full Code Here

Examples of org.evolizer.famix.importer.nodehandler.AbstractASTNodeHandler.visit()

    public boolean visit(EnumConstantDeclaration enumConstantDeclaration) {
        sLogger.debug("Processing enum constant declaration node " + enumConstantDeclaration.getName());

        AbstractASTNodeHandler lEnumConstantHandler = new EnumConstantDeclarationHandler(this);
        fNodeHandler.put(enumConstantDeclaration, lEnumConstantHandler);
        return lEnumConstantHandler.visit(enumConstantDeclaration);
    }
   
    /**
     * Handle anonymous type declarations.
     *
 
View Full Code Here

Examples of org.evolizer.famix.importer.nodehandler.AnonymTypeHandler.visit()

    public boolean visit(AnonymousClassDeclaration anonymTypeDeclaration) {
        sLogger.debug("Processing anonymous class declaration node");

        AbstractASTNodeHandler lTypeHandler = new AnonymTypeHandler(this);
        fNodeHandler.put(anonymTypeDeclaration, lTypeHandler);
        return lTypeHandler.visit(anonymTypeDeclaration);
    }

    /**
     * Finish anonymous class declarations.
     *
 
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.