mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 03:32:51 -06:00
added GPL headers to JavaGUI2. Include LICENSE files in gfeditor.jar
This commit is contained in:
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
|
|||||||
@@ -1,7 +1,18 @@
|
|||||||
/*
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
* Created on 27.04.2005
|
//
|
||||||
*
|
//This program is free software; you can redistribute it and/or modify
|
||||||
*/
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
import java.util.logging.*;
|
import java.util.logging.*;
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
import java.awt.Font;
|
import java.awt.Font;
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Janna Khegai 2004, Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
/*
|
/*
|
||||||
* This code is based on an example provided by Richard Stanford,
|
* This code is based on an example provided by Richard Stanford,
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
/**
|
/**
|
||||||
* @author daniels
|
* @author daniels
|
||||||
|
|||||||
@@ -1,3 +1,19 @@
|
|||||||
|
//Copyright (c) Janna Khegai 2004, Kristofer Johanisson 2004,
|
||||||
|
// Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.*;
|
||||||
@@ -1553,7 +1569,6 @@ KeyListener, FocusListener {
|
|||||||
* which is executed and thus should load the needed grammars
|
* which is executed and thus should load the needed grammars
|
||||||
*/
|
*/
|
||||||
public static void main(String args[]) {
|
public static void main(String args[]) {
|
||||||
Utils.configureLogger();
|
|
||||||
//command line parsing
|
//command line parsing
|
||||||
CmdLineParser parser = new CmdLineParser();
|
CmdLineParser parser = new CmdLineParser();
|
||||||
CmdLineParser.Option optHtml = parser.addBooleanOption('h', "html");
|
CmdLineParser.Option optHtml = parser.addBooleanOption('h', "html");
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,12 +1,18 @@
|
|||||||
// This file is part of KeY - Integrated Deductive Software Design
|
//Copyright (c) Janna Khegai 2004, Hans-Joachim Daniels 2005
|
||||||
// Copyright (C) 2001-2005 Universitaet Karlsruhe, Germany
|
|
||||||
// Universitaet Koblenz-Landau, Germany
|
|
||||||
// Chalmers University of Technology, Sweden
|
|
||||||
//
|
//
|
||||||
// The KeY system is protected by the GNU General Public License.
|
//This program is free software; you can redistribute it and/or modify
|
||||||
// See LICENSE.TXT for details.
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
//
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
//
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Janna Khegai 2004, Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,6 +1,18 @@
|
|||||||
/*
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
* Created on 21.04.2005
|
//
|
||||||
*/
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Janna Khegai 2004, Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
import java.util.Hashtable;
|
import java.util.Hashtable;
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
import java.util.Hashtable;
|
import java.util.Hashtable;
|
||||||
import java.util.logging.*;
|
import java.util.logging.*;
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Janna Khegai 2004, Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
import java.awt.BorderLayout;
|
import java.awt.BorderLayout;
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
import java.awt.Component;
|
import java.awt.Component;
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
|
|||||||
@@ -1,3 +1,18 @@
|
|||||||
|
//Copyright (c) Hans-Joachim Daniels 2005
|
||||||
|
//
|
||||||
|
//This program is free software; you can redistribute it and/or modify
|
||||||
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -1,19 +1,25 @@
|
|||||||
// This file is part of KeY - Integrated Deductive Software Design
|
//Copyright (c) Kristofer Johanisson 2005, Hans-Joachim Daniels 2005
|
||||||
// Copyright (C) 2001-2005 Universitaet Karlsruhe, Germany
|
|
||||||
// Universitaet Koblenz-Landau, Germany
|
|
||||||
// Chalmers University of Technology, Sweden
|
|
||||||
//
|
//
|
||||||
// The KeY system is protected by the GNU General Public License.
|
//This program is free software; you can redistribute it and/or modify
|
||||||
// See LICENSE.TXT for details.
|
//it under the terms of the GNU General Public License as published by
|
||||||
|
//the Free Software Foundation; either version 2 of the License, or
|
||||||
|
//(at your option) any later version.
|
||||||
//
|
//
|
||||||
|
//This program 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 General Public License for more details.
|
||||||
//
|
//
|
||||||
|
//You can either finde the file LICENSE or LICENSE.TXT in the source
|
||||||
|
//distribution or in the .jar file of this application
|
||||||
|
|
||||||
|
|
||||||
package de.uka.ilkd.key.ocl.gf;
|
package de.uka.ilkd.key.ocl.gf;
|
||||||
|
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.logging.*;
|
import java.util.logging.*;
|
||||||
import javax.swing.ProgressMonitor;
|
import javax.swing.ProgressMonitor;
|
||||||
//import org.apache.log4j.Logger;
|
|
||||||
|
|
||||||
public class Utils {
|
public class Utils {
|
||||||
protected static Logger timeLogger = Logger.getLogger(Utils.class.getName() + ".timer");
|
protected static Logger timeLogger = Logger.getLogger(Utils.class.getName() + ".timer");
|
||||||
@@ -80,29 +86,6 @@ public class Utils {
|
|||||||
file.deleteOnExit();
|
file.deleteOnExit();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* shamelessly copied from de.uka.ilkd.key.gui.Main
|
|
||||||
* With that, the editor is compilable without changes.
|
|
||||||
*/
|
|
||||||
private static final String LOGGER_CONFIGURATION =
|
|
||||||
System.getProperty("user.home")+
|
|
||||||
File.separator+".key"+File.separator+"logger.props";
|
|
||||||
|
|
||||||
/**
|
|
||||||
* shamelessly copied from de.uka.ilkd.key.gui.Main
|
|
||||||
* With that, the editor is compilable without changes.
|
|
||||||
* Only gets called in stand-alone mode, not when run with KeY.
|
|
||||||
*/
|
|
||||||
public static void configureLogger() {
|
|
||||||
// if ((new File(LOGGER_CONFIGURATION)).exists())
|
|
||||||
// org.apache.log4j.PropertyConfigurator.configureAndWatch(
|
|
||||||
// LOGGER_CONFIGURATION, 1500);
|
|
||||||
// else {
|
|
||||||
// org.apache.log4j.BasicConfigurator.configure();
|
|
||||||
// Logger.getRootLogger().setLevel(org.apache.log4j.Level.ERROR);
|
|
||||||
// }
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Searches for the first occurace not escaped with '\' of toBeFound in s.
|
* Searches for the first occurace not escaped with '\' of toBeFound in s.
|
||||||
* Works like String::indexOf otherwise
|
* Works like String::indexOf otherwise
|
||||||
|
|||||||
@@ -119,7 +119,7 @@ javac:
|
|||||||
|
|
||||||
jar: javac
|
jar: javac
|
||||||
cd JavaGUI; $(JAR) -cmf manifest.txt gf-java.jar *.class ; cd ..
|
cd JavaGUI; $(JAR) -cmf manifest.txt gf-java.jar *.class ; cd ..
|
||||||
cd $(GFEDITOR) ; rm -rf jarcontents ; mkdir jarcontents ; cp -r de/ ManifestMain.txt jarcontents ; cat jargs-1.0.jar | (cd jarcontents; jar -x jargs) ; cd jarcontents ; $(JAR) -cmf ManifestMain.txt ../gfeditor.jar de/uka/ilkd/key/ocl/gf/*.class jargs ; cd .. ; rm -rf jarcontents ; cd ..
|
cd $(GFEDITOR) ; rm -rf jarcontents ; mkdir jarcontents ; cp -r de/ ManifestMain.txt ../../LICENSE LICENCE_jargs jarcontents ; cat jargs-1.0.jar | (cd jarcontents; jar -x jargs) ; cd jarcontents ; $(JAR) -cmf ManifestMain.txt ../gfeditor.jar de/uka/ilkd/key/ocl/gf/*.class jargs LICENSE LICENCE_jargs ; cd .. ; cd ..
|
||||||
|
|
||||||
showflags:
|
showflags:
|
||||||
@echo $(GHCFLAGS)
|
@echo $(GHCFLAGS)
|
||||||
|
|||||||
Reference in New Issue
Block a user