Package org.netbeans.modules.php.fuel.ui.actions.gotos.items

Examples of org.netbeans.modules.php.fuel.ui.actions.gotos.items.GoToItemFactory.create()


            if (view == null) {
                continue;
            }

            // add to items
            GoToItem item = itemFactory.create(view, DEFAULT_OFFSET, ""); // NOI18N
            if (item == null) {
                continue;
            }
            switch (fileType) {
                case VIEW:
View Full Code Here


        GoToItemFactory factory = GoToItemFactory.getInstance();
        while (children.hasMoreElements()) {
            FileObject child = children.nextElement();
            if (FileUtils.isPhpFile(child)) {
                // use EditorCookie if offset is 0 in order to open a file
                items.add(factory.create(child, DEFAULT_OFFSET, null));
            }
        }
        sort(items);
        return items;
    }
View Full Code Here

            break;
        }

        GoToItemFactory factory = GoToItemFactory.getInstance();
        List<GoToItem> items = new ArrayList<GoToItem>(2);
        items.add(factory.create(controller, DEFAULT_OFFSET, "")); // NOI18N
        if (!methodName.isEmpty()) {
            items.add(factory.create(controller, methodOffset, methodName));
        }
        return items;
    }
View Full Code Here

        GoToItemFactory factory = GoToItemFactory.getInstance();
        List<GoToItem> items = new ArrayList<GoToItem>(2);
        items.add(factory.create(controller, DEFAULT_OFFSET, "")); // NOI18N
        if (!methodName.isEmpty()) {
            items.add(factory.create(controller, methodOffset, methodName));
        }
        return items;
    }

    /**
 
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.