X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fuk%2Fac%2Fvamsas%2Fclient%2Fpicking%2FCustomMessage.java;h=f422277590295440fa87707cc530810221c5dab0;hb=844ccad5a3fcbedec17b2af66d460f31abc7cff1;hp=3f07cfca36e6c24fd0f210cd36a3e592510d6180;hpb=f46a9401190f34549d6c1bef0c2ce8a920cab83d;p=vamsas.git diff --git a/src/uk/ac/vamsas/client/picking/CustomMessage.java b/src/uk/ac/vamsas/client/picking/CustomMessage.java index 3f07cfc..f422277 100644 --- a/src/uk/ac/vamsas/client/picking/CustomMessage.java +++ b/src/uk/ac/vamsas/client/picking/CustomMessage.java @@ -1,17 +1,38 @@ +/* + * This file is part of the Vamsas Client version 0.1. + * Copyright 2009 by Jim Procter, Iain Milne, Pierre Marguerite, + * Andrew Waterhouse and Dominik Lindner. + * + * Earlier versions have also been incorporated into Jalview version 2.4 + * since 2008, and TOPALi version 2 since 2007. + * + * The Vamsas Client is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * The Vamsas Client is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with the Vamsas Client. If not, see . + */ package uk.ac.vamsas.client.picking; /** * Defines a custom message that applications can use to send message types that * haven't been predefined in the API. */ -public class CustomMessage extends Message -{ - /** - * Constructs a new custom message. - * @param message the message to be sent - */ - public CustomMessage(String message) - { - this.message = "CUSTOM_" + message; - } -} \ No newline at end of file +public class CustomMessage extends Message { + /** + * Constructs a new custom message. + * + * @param message + * the message to be sent + */ + public CustomMessage(String message) { + this.message = "CUSTOM\t" + message; + } +}