Package de.mindcrimeilab.xsanalyzer.actions

Examples of de.mindcrimeilab.xsanalyzer.actions.TypeInspectionCommand


        final ValueModel selectionHolder = new TreeSelectionValueModelAdapter(jtStructure.getSelectionModel());
        final ValueModel vModel = new JTreeValueModelAdapter((TreeSelectionValueModelAdapter) selectionHolder);

        final DefaultMutableTreeNodeAccessor accessor = new DefaultMutableTreeNodeAccessor();
        final CommandGroup group = getWindowCommandManager().createCommandGroup("schemaElementsCommandGroup", new Object[] { new TypeHierarchyCommand(vModel), new TypeInspectionCommand(vModel), "separator", "propertiesCommand"});

        jtStructure.addMouseListener(new PopupMenuMouseListener() {

            @Override
            protected JPopupMenu getPopupMenu(MouseEvent e) {
View Full Code Here


        final SimilarTypeEntryAccessor accessor = new SimilarTypeEntryAccessor();

        similarTypesTypeHierarchyCommand = new TypeHierarchyCommand();
        similarTypesTypeHierarchyCommand.setAccessor(accessor);

        similarTypesInspectionCommand = new TypeInspectionCommand();
        similarTypesInspectionCommand.setAccessor(accessor);

        typesListTypeHierarchyCommand = new TypeHierarchyCommand();
        typesListTypeInspectionCommand = new TypeInspectionCommand();

        elementTypeConstraint = new SchemaTypeConstraint(accessor);

        masterDetailList = new MasterListDetailList();
        masterDetailList.setListModelFactory(new SimilarTypeListModelFactory(elementTypeConstraint));
View Full Code Here

TOP

Related Classes of de.mindcrimeilab.xsanalyzer.actions.TypeInspectionCommand

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.