From 680f0e57328ea194d77fb4d722890e37b563db23 Mon Sep 17 00:00:00 2001 From: Robert Greene Date: Fri, 18 Jun 2004 02:14:48 +0000 Subject: [PATCH] Simple ContentTypeAdapter to do no action. --- .../NoActionContentTypeAdapter.java | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/com/webcodepro/applecommander/ui/swt/util/contentadapter/NoActionContentTypeAdapter.java diff --git a/src/com/webcodepro/applecommander/ui/swt/util/contentadapter/NoActionContentTypeAdapter.java b/src/com/webcodepro/applecommander/ui/swt/util/contentadapter/NoActionContentTypeAdapter.java new file mode 100644 index 0000000..3934e00 --- /dev/null +++ b/src/com/webcodepro/applecommander/ui/swt/util/contentadapter/NoActionContentTypeAdapter.java @@ -0,0 +1,26 @@ +/* + * Created on Jun 17, 2004 + * + * To change the template for this generated file go to + * Window>Preferences>Java>Code Generation>Code and Comments + */ +package com.webcodepro.applecommander.ui.swt.util.contentadapter; + +/** + * A content adapter that implements all methods but performs no actions. + * + * @author Rob Greene + */ +public class NoActionContentTypeAdapter implements ContentTypeAdapter { + public void copy() { + // Do Nothing!! + } + + public void print() { + // Do Nothing!! + } + + public void selectAll() { + // Do Nothing!! + } +}