| /******************************************************************************* |
| * Copyright (c) 2011 Tasktop Technologies. |
| * 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 |
| * |
| * Contributors: |
| * Tasktop Technologies - initial API and implementation |
| *******************************************************************************/ |
| |
| package org.eclipse.mylyn.mft.gmf.ui.figures; |
| |
| /** |
| * We have to mirror edit part functionality for Figure because we don't have access to the edit parts. |
| * |
| * @author Miles Parker |
| */ |
| public interface IRevealable { |
| |
| void reveal(double nearness); |
| |
| /** |
| * Returns the figure to it's original pre-revealed state, which will typically be "not shown" for a masked figure. |
| */ |
| void unreveal(); |
| |
| /** |
| * Restores any elements -- such as connectors and text -- that could not be made alpha to their prior state before |
| * we started managing them. Note that this is different from unrevealing them. In this case, we want to reveal them |
| * completely as the result of their parent figures being restored. This is awkward but seems necessary because of |
| * decoration design. |
| */ |
| void restore(); |
| |
| } |