/* Copyright 2011-2016 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package com.google.security.zynamics.binnavi.disassembly; import com.google.security.zynamics.binnavi.Gui.GraphWindows.CommentDialogs.Interfaces.IComment; import com.google.security.zynamics.binnavi.Tagging.CTag; import com.google.security.zynamics.zylib.gui.zygraph.nodes.IViewNode; import java.awt.Color; import java.util.List; /** * Adapter class for classes that want to listen on text nodes but only need to listen on few * events. */ public class CNaviTextNodeListenerAdapter implements INaviTextNodeListener { @Override public void appendedTextNodeComment(final INaviTextNode node, final IComment newComment) { // Empty default implementation } @Override public void changedBorderColor(final IViewNode<?> node, final Color color) { // Empty default implementation } @Override public void changedColor(final IViewNode<?> node, final Color color) { // Empty default implementation } @Override public void changedParentGroup(final INaviViewNode node, final INaviGroupNode groupNode) { // Empty default implementation } @Override public void changedSelection(final IViewNode<?> node, final boolean selected) { // Empty default implementation } @Override public void changedText(final CTextNode node, final String text) { // Empty default implementation } @Override public void changedVisibility(final IViewNode<?> node, final boolean visible) { // Empty default implementation } @Override public void deletedTextNodeComment(final INaviTextNode node, final IComment comment) { // Empty default implementation } @Override public void editedTextNodeComment(final INaviTextNode node, final IComment comment) { // Empty default implementation } @Override public void heightChanged(final IViewNode<?> node, final double height) { // Empty default implementation } @Override public void initializedTextNodeComment(final INaviTextNode node, final List<IComment> comments) { // Empty default implementation } @Override public void taggedNode(final INaviViewNode node, final CTag tag) { // Empty default implementation } @Override public void untaggedNodes(final INaviViewNode node, final List<CTag> tags) { // Empty default implementation } @Override public void widthChanged(final IViewNode<?> node, final double width) { // Empty default implementation } @Override public void xposChanged(final IViewNode<?> node, final double xpos) { // Empty default implementation } @Override public void yposChanged(final IViewNode<?> node, final double ypos) { // Empty default implementation } }