Skip to Content.
Sympa Menu

notify-dpml - Re: svn commit: r1294 - in development/laboratory/mgr: . main main/src main/src/main main/src/main/net main/src/main/net/dpml main/src/main/net/dpml/mgr main/src/main/net/dpml/mgr/main plugins plugins/home plugins/home/src plugins/home/src/main plugins/home/src/main/net plugins/home/src/main/net/dpml plugins/home/src/main/net/dpml/mgr plugins/home/src/main/net/dpml/mgr/home plugins/magic plugins/magic/src plugins/magic/src/main plugins/magic/src/main/net plugins/magic/src/main/net/dpml plugins/magic/src/main/net/dpml/mgr plugins/magic/src/main/net/dpml/mgr/magic plugins/metro plugins/metro/src plugins/metro/src/main plugins/metro/src/main/net plugins/metro/src/main/net/dpml plugins/metro/src/main/net/dpml/mgr plugins/metro/src/main/net/dpml/mgr/metro plugins/transit plugins/transit/src plugins/transit/src/main plugins/transit/src/main/net plugins/transit/src/main/net/dpml plugins/transit/src/main/net/dpml/mgr plugins/transit/src/main/net/dpml/mgr/transit

notify-dpml AT lists.ibiblio.org

Subject: DPML Notify

List archive

Chronological Thread  
  • From: Peter Neubauer <peter AT neubauer.se>
  • To: dev-dpml AT lists.ibiblio.org, DPML Notify <notify-dpml AT lists.ibiblio.org>
  • Cc:
  • Subject: Re: svn commit: r1294 - in development/laboratory/mgr: . main main/src main/src/main main/src/main/net main/src/main/net/dpml main/src/main/net/dpml/mgr main/src/main/net/dpml/mgr/main plugins plugins/home plugins/home/src plugins/home/src/main plugins/home/src/main/net plugins/home/src/main/net/dpml plugins/home/src/main/net/dpml/mgr plugins/home/src/main/net/dpml/mgr/home plugins/magic plugins/magic/src plugins/magic/src/main plugins/magic/src/main/net plugins/magic/src/main/net/dpml plugins/magic/src/main/net/dpml/mgr plugins/magic/src/main/net/dpml/mgr/magic plugins/metro plugins/metro/src plugins/metro/src/main plugins/metro/src/main/net plugins/metro/src/main/net/dpml plugins/metro/src/main/net/dpml/mgr plugins/metro/src/main/net/dpml/mgr/metro plugins/transit plugins/transit/src plugins/transit/src/main plugins/transit/src/main/net plugins/transit/src/main/net/dpml plugins/transit/src/main/net/dpml/mgr plugins/transit/src/main/net/dpml/mgr/transit
  • Date: Sun, 26 Dec 2004 09:35:04 +0100

Hi,

-----Original message-----
> Log:
> kicking off a DPML Desktop
Any more information on that?


/peter













>
> Added: development/laboratory/mgr/README.TXT
> ==============================================================================
> --- (empty file)
> +++ development/laboratory/mgr/README.TXT Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,3 @@
> +
> +$ ant
> +$ metro main\target\classes
>
> Added: development/laboratory/mgr/build.xml
> ==============================================================================
> --- (empty file)
> +++ development/laboratory/mgr/build.xml Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,8 @@
> +<?xml version="1.0" encoding="UTF-8" ?>
> +
> +<project name="dpml-mgr" default="install" basedir="."
> + xmlns:magic="antlib:net.dpml.magic">
> +
> + <magic:import uri="artifact:template:dpml/magic/reactor"/>
> +
> +</project>
>
> Added: development/laboratory/mgr/index.xml
> ==============================================================================
> --- (empty file)
> +++ development/laboratory/mgr/index.xml Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,75 @@
> +<?xml version="1.0" encoding="ISO-8859-1"?>
> +<!--
> + Copyright 2004 Stephen J McConnell
> + Copyright 2004 Niclas Hedhman
> +
> + 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.
> +-->
> +
> +
> +<index>
> +
> + <import uri="artifact:module:dpml/metro/dpml-metro#SNAPSHOT"/>
> +
> + <project basedir="main">
> + <info>
> + <group>dpml/mgr</group>
> + <name>dpml-mgr-main</name>
> + <type>jar</type>
> + </info>
> + <dependencies>
> + <include key="dpml-activity-api"/>
> + <include key="dpml-configuration-api"/>
> + <include key="dpml-logging-api"/>
> + <include key="dpml-composition-api"/>
> + </dependencies>
> + <plugins>
> + <include key="dpml-meta-tools"/>
> + </plugins>
> + </project>
> +
> + <project basedir="plugins/home">
> + <info>
> + <group>dpml/mgr</group>
> + <name>dpml-mgr-home</name>
> + <type>jar</type>
> + </info>
> + </project>
> +
> + <project basedir="plugins/transit">
> + <info>
> + <group>dpml/mgr</group>
> + <name>dpml-mgr-transit</name>
> + <type>jar</type>
> + </info>
> + </project>
> +
> + <project basedir="plugins/magic">
> + <info>
> + <group>dpml/mgr</group>
> + <name>dpml-mgr-magic</name>
> + <type>jar</type>
> + </info>
> + </project>
> +
> + <project basedir="plugins/metro">
> + <info>
> + <group>dpml/mgr</group>
> + <name>dpml-mgr-metro</name>
> + <type>jar</type>
> + </info>
> + </project>
> +
> +</index>
>
> Added: development/laboratory/mgr/main/build.xml
> ==============================================================================
> --- (empty file)
> +++ development/laboratory/mgr/main/build.xml Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,21 @@
> +<?xml version="1.0" encoding="UTF-8" ?>
> +
> +<project name="dpml-mgr-main" default="install" basedir="."
> + xmlns:magic="antlib:net.dpml.magic"
> xmlns:x="plugin:dpml/magic/dpml-magic-core" >
> +
> + <magic:import uri="artifact:template:dpml/magic/standard"/>
> +
> + <target name="init" depends="standard.init">
> + <x:filter feature="plugin" key="dpml-mgr-home" token="DPML-HOME-URI"/>
> + <x:filter feature="plugin" key="dpml-mgr-transit"
> token="DPML-TRANSIT-URI"/>
> + <x:filter feature="plugin" key="dpml-mgr-magic"
> token="DPML-MAGIC-URI"/>
> + <x:filter feature="plugin" key="dpml-mgr-metro"
> token="DPML-METRO-URI"/>
> + </target>
> +
> + <target name="build" depends="standard.build">
> + <x:block name="mgr" embed="MAIN">
> + <x:component name="desktop"
> class="net.dpml.mgr.main.DefaultDesktop"/>
> + </x:block>
> + </target>
> +
> +</project>
>
> Added:
> development/laboratory/mgr/main/src/main/net/dpml/mgr/main/DefaultDesktop.java
> ==============================================================================
> --- (empty file)
> +++
> development/laboratory/mgr/main/src/main/net/dpml/mgr/main/DefaultDesktop.java
> Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,316 @@
> +/*
> + * Copyright 2004 Stephen McConnell
> + *
> + * 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 net.dpml.mgr.main;
> +
> +import java.awt.Font;
> +import java.awt.Toolkit;
> +import java.awt.Dimension;
> +import java.awt.Component;
> +import java.awt.Color;
> +import java.awt.FlowLayout;
> +import javax.swing.JFrame;
> +import javax.swing.JPanel;
> +import javax.swing.JScrollPane;
> +import javax.swing.JLabel;
> +import javax.swing.JMenu;
> +import javax.swing.JMenuItem;
> +import javax.swing.JMenuBar;
> +import javax.swing.JDesktopPane;
> +import javax.swing.KeyStroke;
> +import javax.swing.ImageIcon;
> +import javax.swing.JToggleButton;
> +import java.awt.event.ActionListener;
> +import java.awt.event.WindowAdapter;
> +import java.awt.event.WindowEvent;
> +import java.awt.event.ActionEvent;
> +import java.awt.event.KeyEvent;
> +import java.net.URI;
> +import java.net.URL;
> +import java.util.Map;
> +import java.util.Hashtable;
> +
> +import net.dpml.activity.Startable;
> +import net.dpml.composition.model.ContainmentModel;
> +import net.dpml.configuration.Configuration;
> +import net.dpml.configuration.ConfigurationException;
> +import net.dpml.context.Context;
> +import net.dpml.context.ContextException;
> +import net.dpml.logging.Logger;
> +import net.dpml.transit.repository.Repository;
> +import net.dpml.transit.repository.StandardLoader;
> +import net.dpml.transit.util.Dictionary;
> +
> +/**
> + * The desktop shell manages the presentation of root panel and menubar.
> + * @metro.component name="desktop" lifestyle="singleton"
> + * @metro.service type="net.dpml.mgr.main.Desktop"
> + */
> +public class DefaultDesktop extends JFrame implements Startable, Runnable,
> Desktop, ActionListener
> +{
> +
> //--------------------------------------------------------------------------
> + // static
> +
> //--------------------------------------------------------------------------
> +
> + public static Font DEFAULT_FONT = new Font("Dialog", 0, 11);
> +
> + static
> + {
> + JFrame.setDefaultLookAndFeelDecorated( true );
> + }
> +
> +
> //--------------------------------------------------------------------------
> + // state
> +
> //--------------------------------------------------------------------------
> +
> + /**
> + * The container supplied logging channel.
> + */
> + private final Logger m_logger;
> +
> + /**
> + * The desktop configuration (establish via container supplied
> configuration argument)
> + */
> + private final Configuration m_configuration;
> +
> + /**
> + * The common artifact repository.
> + */
> + private final Repository m_repository;
> +
> +
> //--------------------------------------------------------------------------
> + // constructor
> +
> //--------------------------------------------------------------------------
> +
> + /**
> + */
> + public DefaultDesktop( Logger logger, Configuration config )
> + throws Exception
> + {
> + if( logger.isDebugEnabled() )
> + {
> + logger.debug("desktop initialization");
> + }
> + m_logger = logger;
> + m_configuration = config;
> + m_repository = new StandardLoader();
> + }
> +
> +
> //--------------------------------------------------------------------------
> + // Startable
> +
> //--------------------------------------------------------------------------
> +
> + public void start()
> + {
> + Thread thread = new Thread( this );
> + thread.start();
> + }
> +
> + public void stop()
> + {
> + System.exit( 0 );
> + }
> +
> +
> //--------------------------------------------------------------------------
> + // Runnable
> +
> //--------------------------------------------------------------------------
> +
> + public void run()
> + {
> + try
> + {
> + initialize();
> + }
> + catch( Throwable e )
> + {
> + e.printStackTrace();
> + }
> + }
> +
> +
> //--------------------------------------------------------------------------
> + // ActionListener
> +
> //--------------------------------------------------------------------------
> +
> + public void actionPerformed(ActionEvent e)
> + {
> + if( "quit".equals( e.getActionCommand() ) )
> + {
> + exit( 0 );
> + }
> + }
> +
> +
> //--------------------------------------------------------------------------
> + // implementation
> +
> //--------------------------------------------------------------------------
> +
> + /**
> + * Setup the root panel including creation of a menubar, scrollpane,
> + * and intial content based on the supplied configuration.
> + */
> + private void initialize() throws DesktopException
> + {
> + //
> + // add an exit strategy
> + //
> +
> + setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
> +
> + //
> + // create the content panel
> + //
> +
> + JPanel panel = new JPanel();
> + panel.setBackground( Color.white );
> + panel.setSize( 700, 500 );
> + panel.setLayout( new FlowLayout( FlowLayout.LEFT ) );
> +
> + //
> + // populate the panel with the entries declared in the
> configuration
> + //
> +
> + Configuration conf = m_configuration.getChild( "desktop" );
> + Configuration[] entries = conf.getChildren( "entry" );
> + for( int i=0; i<entries.length; i++ )
> + {
> + Configuration entry = entries[i];
> + URI uri = getEntryURI( entry );
> + String title = entry.getAttribute( "title", uri.toString() );
> + Component icon = constructDesktopIcon( uri, title );
> + panel.add( icon );
> + }
> +
> + //
> + // add a scroll pane
> + //
> +
> + JScrollPane scroller = new JScrollPane();
> + scroller.setVerticalScrollBarPolicy(
> + JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED );
> + scroller.setHorizontalScrollBarPolicy(
> + JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED );
> + scroller.setViewportView( panel );
> + getContentPane().add( scroller );
> +
> + //
> + // configure the enclosing frame
> + //
> +
> + setTitle( "MGR" );
> + DefaultMenuBar menubar = new DefaultMenuBar( DEFAULT_FONT, this );
> + setJMenuBar( menubar );
> + setSize( 700, 500 );
> + setVisible( true );
> + }
> +
> + private URI getEntryURI( Configuration entry ) throws DesktopException
> + {
> + try
> + {
> + String uri = entry.getAttribute( "uri" );
> + return new URI( uri );
> + }
> + catch( ConfigurationException ce )
> + {
> + final String error =
> + "Desktop entry configuration element does not include the
> required uri attribute.";
> + throw new DesktopException( error );
> + }
> + catch( Throwable e )
> + {
> + final String error =
> + "Invalid desktop entry.";
> + throw new DesktopException( error, e );
> + }
> + }
> +
> + private Component constructDesktopIcon( final URI uri, final String
> title )
> + throws DesktopException
> + {
> + Component component = getPluginComponent( uri );
> + ImageIcon icon = createImageIcon( component.getClass() );
> +
> + //JLabel label = new JLabel( icon );
> + //label.setText( title );
> + JToggleButton label = new JToggleButton( title, icon );
> +
> + label.setVerticalTextPosition( JLabel.BOTTOM );
> + label.setHorizontalTextPosition( JLabel.CENTER );
> + label.setFont( DEFAULT_FONT );
> + label.setBackground( Color.white );
> + label.setSize( 200, 35 );
> +
> + label.setBorderPainted( false );
> + label.setFocusPainted( false );
> + label.setContentAreaFilled( false );
> +
> + return label;
> + }
> +
> + protected static ImageIcon createImageIcon( Class clazz )
> + {
> + String path = "/" + clazz.getName().replace( '.', '/' ) + ".icon";
> + URL url = clazz.getResource( path );
> + if( null != url )
> + {
> + return new ImageIcon( url, clazz.getName() );
> + }
> + else
> + {
> + System.err.println("Couldn't find icon on path: " + path);
> + return null;
> + }
> + }
> +
> +
> +
> + private Component getPluginComponent( URI uri ) throws DesktopException
> + {
> + try
> + {
> + ClassLoader classloader =
> DefaultDesktop.class.getClassLoader();
> + Map map = new Hashtable();
> + map.put( "urn:dpml.mgr.action-listener", this );
> + Map params = new Dictionary( map );
> + return (Component) m_repository.getPlugin( classloader, uri,
> new Object[]{ params } );
> + }
> + catch( ClassCastException e )
> + {
> + final String error =
> + "Cannot load desktop plugin ["
> + + uri
> + + "] because it does not implement the java.awt.Component
> interface.";
> + throw new DesktopException( error, e );
> + }
> + catch( Throwable e )
> + {
> + final String error =
> + "An error occured while attempting to load a desktop plugin
> ["
> + + uri.toString()
> + + "].";
> + throw new DesktopException( error, e );
> + }
> + }
> +
> + private void exit( int status )
> + {
> + stop();
> + }
> +
> + private Logger getLogger()
> + {
> + return m_logger;
> + }
> +}
>
> Added:
> development/laboratory/mgr/main/src/main/net/dpml/mgr/main/DefaultDesktop.xconfig
> ==============================================================================
> --- (empty file)
> +++
> development/laboratory/mgr/main/src/main/net/dpml/mgr/main/DefaultDesktop.xconfig
> Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,9 @@
> +
> +<configuration>
> + <desktop>
> + <entry uri="@DPML-HOME-URI@" title="DPML Home"/>
> + <entry uri="@DPML-TRANSIT-URI@" title="DPML Transit"/>
> + <entry uri="@DPML-MAGIC-URI@" title="DPML Magic"/>
> + <entry uri="@DPML-METRO-URI@" title="DPML Metro"/>
> + </desktop>
> +</configuration>
>
> Added:
> development/laboratory/mgr/main/src/main/net/dpml/mgr/main/DefaultMenuBar.java
> ==============================================================================
> --- (empty file)
> +++
> development/laboratory/mgr/main/src/main/net/dpml/mgr/main/DefaultMenuBar.java
> Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,59 @@
> +/*
> + * Copyright 2004 Stephen McConnell
> + *
> + * 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 net.dpml.mgr.main;
> +
> +import java.awt.Font;
> +import java.awt.event.ActionEvent;
> +import java.awt.event.ActionListener;
> +import java.awt.event.KeyEvent;
> +import javax.swing.KeyStroke;
> +import javax.swing.AbstractAction;
> +import javax.swing.JMenuBar;
> +import javax.swing.JMenuItem;
> +import javax.swing.JMenu;
> +
> +/**
> + * The default menubar implementation.
> + */
> +class DefaultMenuBar extends JMenuBar
> +{
> + public DefaultMenuBar( Font font, ActionListener listener )
> + {
> + //
> + // create the file menu
> + //
> +
> + JMenu file = new JMenu( "File" );
> + file.setMnemonic(KeyEvent.VK_F);
> + file.setFont( font );
> + add( file );
> +
> + //
> + // add a quit menuitem to the file menu
> + //
> +
> + JMenuItem quit = new JMenuItem( "Quit" );
> + quit.setFont( font );
> + quit.setMnemonic(KeyEvent.VK_Q);
> + quit.setAccelerator(
> + KeyStroke.getKeyStroke(
> + KeyEvent.VK_Q, ActionEvent.ALT_MASK ) );
> + quit.setActionCommand( "quit" );
> + quit.addActionListener( listener );
> + file.add( quit );
> + }
> +}
>
> Added:
> development/laboratory/mgr/main/src/main/net/dpml/mgr/main/Desktop.java
> ==============================================================================
> --- (empty file)
> +++ development/laboratory/mgr/main/src/main/net/dpml/mgr/main/Desktop.java
> Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,28 @@
> +/*
> + * Copyright 2004 Stephen McConnell
> + *
> + * 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 net.dpml.mgr.main;
> +
> +import java.awt.event.ActionListener;
> +import java.awt.Component;
> +
> +/**
> + * The desktop shell manages the presentation of a menubar, working
> + * panels and status bar.
> + */
> +public interface Desktop extends ActionListener
> +{
> +}
>
> Added:
> development/laboratory/mgr/main/src/main/net/dpml/mgr/main/DesktopException.java
> ==============================================================================
> --- (empty file)
> +++
> development/laboratory/mgr/main/src/main/net/dpml/mgr/main/DesktopException.java
> Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,33 @@
> +/*
> + * Copyright 2004 Stephen McConnell
> + *
> + * 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 net.dpml.mgr.main;
> +
> +/**
> + * The default menubar implementation.
> + */
> +class DesktopException extends Exception
> +{
> + public DesktopException( String message )
> + {
> + this( message, null );
> + }
> +
> + public DesktopException( String message, Throwable cause )
> + {
> + super( message, cause );
> + }
> +}
>
> Added: development/laboratory/mgr/plugins/home/build.xml
> ==============================================================================
> --- (empty file)
> +++ development/laboratory/mgr/plugins/home/build.xml Sun Dec 26 04:41:57
> 2004
> @@ -0,0 +1,12 @@
> +<?xml version="1.0" encoding="UTF-8" ?>
> +
> +<project name="dpml-mgr-home" default="install" basedir="."
> + xmlns:magic="antlib:net.dpml.magic"
> xmlns:x="plugin:dpml/magic/dpml-magic-core" >
> +
> + <magic:import uri="artifact:template:dpml/magic/standard"/>
> +
> + <target name="build" depends="standard.build">
> + <x:export class="net.dpml.mgr.home.HomeComponent"/>
> + </target>
> +
> +</project>
>
> Added:
> development/laboratory/mgr/plugins/home/src/main/net/dpml/mgr/home/HomeComponent.icon
> ==============================================================================
> Binary file. No diff available.
>
> Added:
> development/laboratory/mgr/plugins/home/src/main/net/dpml/mgr/home/HomeComponent.java
> ==============================================================================
> --- (empty file)
> +++
> development/laboratory/mgr/plugins/home/src/main/net/dpml/mgr/home/HomeComponent.java
> Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,30 @@
> +/*
> + * Copyright 2004 Stephen McConnell
> + *
> + * 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 net.dpml.mgr.home;
> +
> +import java.awt.Component;
> +
> +/**
> + * The home component is a model of the DPML Home.
> + *
> + */
> +public class HomeComponent extends Component
> +{
> + public HomeComponent()
> + {
> + }
> +}
>
> Added: development/laboratory/mgr/plugins/magic/build.xml
> ==============================================================================
> --- (empty file)
> +++ development/laboratory/mgr/plugins/magic/build.xml Sun Dec 26
> 04:41:57 2004
> @@ -0,0 +1,12 @@
> +<?xml version="1.0" encoding="UTF-8" ?>
> +
> +<project name="dpml-mgr-magic" default="install" basedir="."
> + xmlns:magic="antlib:net.dpml.magic"
> xmlns:x="plugin:dpml/magic/dpml-magic-core" >
> +
> + <magic:import uri="artifact:template:dpml/magic/standard"/>
> +
> + <target name="build" depends="standard.build">
> + <x:export class="net.dpml.mgr.magic.MagicComponent"/>
> + </target>
> +
> +</project>
>
> Added:
> development/laboratory/mgr/plugins/magic/src/main/net/dpml/mgr/magic/MagicComponent.icon
> ==============================================================================
> Binary file. No diff available.
>
> Added:
> development/laboratory/mgr/plugins/magic/src/main/net/dpml/mgr/magic/MagicComponent.java
> ==============================================================================
> --- (empty file)
> +++
> development/laboratory/mgr/plugins/magic/src/main/net/dpml/mgr/magic/MagicComponent.java
> Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,27 @@
> +/*
> + * Copyright 2004 Stephen McConnell
> + *
> + * 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 net.dpml.mgr.magic;
> +
> +import java.awt.Component;
> +
> +/**
> + * The home component is a model of the DPML Home.
> + *
> + */
> +public class MagicComponent extends Component
> +{
> +}
>
> Added: development/laboratory/mgr/plugins/metro/build.xml
> ==============================================================================
> --- (empty file)
> +++ development/laboratory/mgr/plugins/metro/build.xml Sun Dec 26
> 04:41:57 2004
> @@ -0,0 +1,12 @@
> +<?xml version="1.0" encoding="UTF-8" ?>
> +
> +<project name="dpml-mgr-metro" default="install" basedir="."
> + xmlns:magic="antlib:net.dpml.magic"
> xmlns:x="plugin:dpml/magic/dpml-magic-core" >
> +
> + <magic:import uri="artifact:template:dpml/magic/standard"/>
> +
> + <target name="build" depends="standard.build">
> + <x:export class="net.dpml.mgr.metro.MetroComponent"/>
> + </target>
> +
> +</project>
>
> Added:
> development/laboratory/mgr/plugins/metro/src/main/net/dpml/mgr/metro/MetroComponent.icon
> ==============================================================================
> Binary file. No diff available.
>
> Added:
> development/laboratory/mgr/plugins/metro/src/main/net/dpml/mgr/metro/MetroComponent.java
> ==============================================================================
> --- (empty file)
> +++
> development/laboratory/mgr/plugins/metro/src/main/net/dpml/mgr/metro/MetroComponent.java
> Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,27 @@
> +/*
> + * Copyright 2004 Stephen McConnell
> + *
> + * 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 net.dpml.mgr.metro;
> +
> +import java.awt.Component;
> +
> +/**
> + * The home component is a model of the DPML Home.
> + *
> + */
> +public class MetroComponent extends Component
> +{
> +}
>
> Added: development/laboratory/mgr/plugins/transit/build.xml
> ==============================================================================
> --- (empty file)
> +++ development/laboratory/mgr/plugins/transit/build.xml Sun Dec 26
> 04:41:57 2004
> @@ -0,0 +1,12 @@
> +<?xml version="1.0" encoding="UTF-8" ?>
> +
> +<project name="dpml-mgr-transit" default="install" basedir="."
> + xmlns:magic="antlib:net.dpml.magic"
> xmlns:x="plugin:dpml/magic/dpml-magic-core" >
> +
> + <magic:import uri="artifact:template:dpml/magic/standard"/>
> +
> + <target name="build" depends="standard.build">
> + <x:export class="net.dpml.mgr.transit.TransitComponent"/>
> + </target>
> +
> +</project>
>
> Added:
> development/laboratory/mgr/plugins/transit/src/main/net/dpml/mgr/transit/Thumbs.db
> ==============================================================================
> Binary file. No diff available.
>
> Added:
> development/laboratory/mgr/plugins/transit/src/main/net/dpml/mgr/transit/TransitComponent.icon
> ==============================================================================
> Binary file. No diff available.
>
> Added:
> development/laboratory/mgr/plugins/transit/src/main/net/dpml/mgr/transit/TransitComponent.java
> ==============================================================================
> --- (empty file)
> +++
> development/laboratory/mgr/plugins/transit/src/main/net/dpml/mgr/transit/TransitComponent.java
> Sun Dec 26 04:41:57 2004
> @@ -0,0 +1,30 @@
> +/*
> + * Copyright 2004 Stephen McConnell
> + *
> + * 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 net.dpml.mgr.transit;
> +
> +import java.awt.Component;
> +
> +/**
> + * The home component is a model of the DPML Home.
> + *
> + */
> +public class TransitComponent extends Component
> +{
> + public TransitComponent()
> + {
> + }
> +}
> _______________________________________________
> notify-dpml mailing list
> notify-dpml AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/notify-dpml
>
>
>



  • Re: svn commit: r1294 - in development/laboratory/mgr: . main main/src main/src/main main/src/main/net main/src/main/net/dpml main/src/main/net/dpml/mgr main/src/main/net/dpml/mgr/main plugins plugins/home plugins/home/src plugins/home/src/main plugins/home/src/main/net plugins/home/src/main/net/dpml plugins/home/src/main/net/dpml/mgr plugins/home/src/main/net/dpml/mgr/home plugins/magic plugins/magic/src plugins/magic/src/main plugins/magic/src/main/net plugins/magic/src/main/net/dpml plugins/magic/src/main/net/dpml/mgr plugins/magic/src/main/net/dpml/mgr/magic plugins/metro plugins/metro/src plugins/metro/src/main plugins/metro/src/main/net plugins/metro/src/main/net/dpml plugins/metro/src/main/net/dpml/mgr plugins/metro/src/main/net/dpml/mgr/metro plugins/transit plugins/transit/src plugins/transit/src/main plugins/transit/src/main/net plugins/transit/src/main/net/dpml plugins/transit/src/main/net/dpml/mgr plugins/transit/src/main/net/dpml/mgr/transit, Peter Neubauer, 12/26/2004

Archive powered by MHonArc 2.6.24.

Top of Page