public void _ns(CommandInterpreter ci) throws Exception { String namespace = getArgument(ci); if (namespace == null) { String[] namespaces = RegistryFactory.getRegistry().getNamespaces(); ci.println("Namespace(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ for (int i = 0; i < namespaces.length; i++) ci.println(namespaces[i]); return; } IExtensionRegistry registry = RegistryFactory.getRegistry(); IExtensionPoint[] extpts = registry.getExtensionPoints(namespace); ci.println("Extension point(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ for (int i = 0; i < extpts.length; i++) displayExtensionPoint(extpts[i], ci); if (verbose) { ci.println("\nExtension(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ IExtension[] exts = RegistryFactory.getRegistry().getExtensions(namespace); for (int j = 0; j < exts.length; j++) displayExtension(exts[j], ci, true /*full*/); } }
public void _ns(CommandInterpreter ci) throws Exception { String namespace = getArgument(ci); if (namespace == null) { String[] namespaces = RegistryFactory.getRegistry().getNamespaces(); ci.println("Namespace(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ for (int i = 0; i < namespaces.length; i++) ci.println(namespaces[i]); return; } IExtensionRegistry registry = RegistryFactory.getRegistry(); IExtensionPoint[] extpts = registry.getExtensionPoints(namespace); ci.println("Extension point(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ for (int i = 0; i < extpts.length; i++) displayExtensionPoint(extpts[i], ci); if (verbose) { ci.println("\nExtension(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ IExtension[] exts = RegistryFactory.getRegistry().getExtensions(namespace); for (int j = 0; j < exts.length; j++) displayExtension(exts[j], ci, true /*full*/); } }
public void _ns(CommandInterpreter ci) throws Exception { String namespace = getArgument(ci); if (namespace == null) { String[] namespaces = RegistryFactory.getRegistry().getNamespaces(); ci.println("Namespace(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ for (int i = 0; i < namespaces.length; i++) ci.println(namespaces[i]); return; } IExtensionRegistry registry = RegistryFactory.getRegistry(); IExtensionPoint[] extpts = registry.getExtensionPoints(namespace); ci.println("Extension point(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ for (int i = 0; i < extpts.length; i++) displayExtensionPoint(extpts[i], ci); if (verbose) { ci.println("\nExtension(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ IExtension[] exts = RegistryFactory.getRegistry().getExtensions(namespace); for (int j = 0; j < exts.length; j++) displayExtension(exts[j], ci, true /*full*/); } }
public void _ns(CommandInterpreter ci) throws Exception { String namespace = getArgument(ci); if (namespace == null) { String[] namespaces = RegistryFactory.getRegistry().getNamespaces(); ci.println("Namespace(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ for (int i = 0; i < namespaces.length; i++) ci.println(namespaces[i]); return; } IExtensionRegistry registry = RegistryFactory.getRegistry(); IExtensionPoint[] extpts = registry.getExtensionPoints(namespace); ci.println("Extension point(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ for (int i = 0; i < extpts.length; i++) displayExtensionPoint(extpts[i], ci); if (verbose) { ci.println("\nExtension(s):"); //$NON-NLS-1$ ci.println("-------------------"); //$NON-NLS-1$ IExtension[] exts = RegistryFactory.getRegistry().getExtensions(namespace); for (int j = 0; j < exts.length; j++) displayExtension(exts[j], ci, true /*full*/); } }