Skip to content

Commit

Permalink
Fix CRLF
Browse files Browse the repository at this point in the history
  • Loading branch information
jawi committed Aug 19, 2010
1 parent b8a9a04 commit 2357db3
Show file tree
Hide file tree
Showing 61 changed files with 12,848 additions and 12,848 deletions.
58 changes: 29 additions & 29 deletions api/pom.xml
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>nl.lxtreme.ols</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
</parent>
<groupId>nl.lxtreme.ols</groupId>
<artifactId>api</artifactId>
<packaging>bundle</packaging>
<version>1.0.0-SNAPSHOT</version>
<name>OLS Framework API</name>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>nl.lxtreme.ols.api, nl.lxtreme.ols.api.data, nl.lxtreme.ols.api.devices, nl.lxtreme.ols.api.tools, nl.lxtreme.ols.api.ui</Export-Package>
<Require-Bundle>org.rxtx;bundle-version="2.0.1";visibility:=reexport</Require-Bundle>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>nl.lxtreme.ols</groupId>
<artifactId>parent</artifactId>
<version>1.0.0</version>
</parent>
<groupId>nl.lxtreme.ols</groupId>
<artifactId>api</artifactId>
<packaging>bundle</packaging>
<version>1.0.0-SNAPSHOT</version>
<name>OLS Framework API</name>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>nl.lxtreme.ols.api, nl.lxtreme.ols.api.data, nl.lxtreme.ols.api.devices, nl.lxtreme.ols.api.tools, nl.lxtreme.ols.api.ui</Export-Package>
<Require-Bundle>org.rxtx;bundle-version="2.0.1";visibility:=reexport</Require-Bundle>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
134 changes: 67 additions & 67 deletions api/src/main/java/nl/lxtreme/ols/api/Configurable.java
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
/*
* OpenBench LogicSniffer / SUMP project
*
* 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 should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
*
* Copyright (C) 2006-2010 Michael Poppitz, www.sump.org
* Copyright (C) 2010 J.W. Janssen, www.lxtreme.nl
*/
package nl.lxtreme.ols.api;


import java.util.*;


/**
* This interface defines the methods required to make (UI) object states
* controllable by the project mechanism.
* <p>
* Its methods are called by {@link Project} when storing or loading the project
* state. A project state is the collection of states of all user configurable
* items.
* <p>
* Note: When defining property values it should be kept in mind that the
* project configuration file should be understandable and editable by users.
* Use common sense to determine wheter a particular setting should be part of
* the project configuration or not. For key naming conventions please look at
* an actual configuration file.
*
* @version 0.7
* @author Michael "Mr. Sump" Poppitz
*/
public interface Configurable
{
/**
* Reads configuration from given properties. UI element settings must be
* modified according to the properties found.
*
* @param aNamespace
* the namespace to use for reading the properties;
* @param aProperties
* properties to read configuration from
*/
public void readProperties( final String aNamespace, final Properties aProperties );

/**
* Writes configuration to given properties. Properties must be set according
* to the UI element settings.
*
* @param aNamespace
* the namespace to use for writing the properties;
* @param aProperties
* properties to write configuration to
*/
public void writeProperties( final String aNamespace, final Properties aProperties );
}
/*
* OpenBench LogicSniffer / SUMP project
*
* 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 should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
*
* Copyright (C) 2006-2010 Michael Poppitz, www.sump.org
* Copyright (C) 2010 J.W. Janssen, www.lxtreme.nl
*/
package nl.lxtreme.ols.api;


import java.util.*;


/**
* This interface defines the methods required to make (UI) object states
* controllable by the project mechanism.
* <p>
* Its methods are called by {@link Project} when storing or loading the project
* state. A project state is the collection of states of all user configurable
* items.
* <p>
* Note: When defining property values it should be kept in mind that the
* project configuration file should be understandable and editable by users.
* Use common sense to determine wheter a particular setting should be part of
* the project configuration or not. For key naming conventions please look at
* an actual configuration file.
*
* @version 0.7
* @author Michael "Mr. Sump" Poppitz
*/
public interface Configurable
{
/**
* Reads configuration from given properties. UI element settings must be
* modified according to the properties found.
*
* @param aNamespace
* the namespace to use for reading the properties;
* @param aProperties
* properties to read configuration from
*/
public void readProperties( final String aNamespace, final Properties aProperties );

/**
* Writes configuration to given properties. Properties must be set according
* to the UI element settings.
*
* @param aNamespace
* the namespace to use for writing the properties;
* @param aProperties
* properties to write configuration to
*/
public void writeProperties( final String aNamespace, final Properties aProperties );
}
Loading

0 comments on commit 2357db3

Please sign in to comment.