| /* |
| * Copyright (c) 2011 Google Inc. |
| * |
| * All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse |
| * Public License v1.0 which accompanies this distribution, and is available at |
| * |
| * http://www.eclipse.org/legal/epl-v10.html |
| */ |
| package com.google.eclipse.protobuf.ui.outline; |
| |
| import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider; |
| |
| import com.google.eclipse.protobuf.protobuf.*; |
| |
| /** |
| * Customization of the default outline structure |
| * |
| * @author alruiz@google.com (Alex Ruiz) |
| */ |
| public class ProtobufOutlineTreeProvider extends DefaultOutlineTreeProvider { |
| |
| boolean _isLeaf(Property p) { |
| return true; |
| } |
| |
| boolean _isLeaf(Option o) { |
| return true; |
| } |
| } |