directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSTUDIO-136) Apache DS Menu Removed From Java Perspective
Date Mon, 11 Jun 2007 09:09:26 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503337
] 

Stefan Seelmann commented on DIRSTUDIO-136:
-------------------------------------------

You are right, an ADS perspective would be very useful.

About opening an existing configuration: It would be cool to do this via File->Open. The
default detection of a editor in Eclipse is done via the file extension or filename. Unfortunately
the filename server.xml is ambiguous, e.g. Tomcat also has a server.xml.

What we can do is to define a content type with a content describer (interface IContentDescriber)
and bind this content type to the configuration editor. The content describer must implement
the method 
  public int describe(InputStream contents, IContentDescription description) throws IOException;
What we need is a criteria to determine it the file is an ADS configuration file. I think
it is enough to check if the given input stream contains an ADS specific string like "org.apache.directory.server.configuration".

Some more info about the content type and content describer:
  http://help.eclipse.org/help32/index.jsp?topic=/org.eclipse.platform.doc.isv/guide/runtime_content.htm
  http://www.developer.com/java/data/article.php/3648736 (example using the predifined XMLRootElementContentDescriber)
  http://www.eclipse.org/eclipse/platform-core/documents/content_types.html (seems to be outdated)



> Apache DS Menu Removed From Java Perspective
> --------------------------------------------
>
>                 Key: DIRSTUDIO-136
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-136
>             Project: Directory Studio
>          Issue Type: Improvement
>    Affects Versions: 0.8.0
>            Reporter: Ole Ersoy
>            Priority: Minor
>
> Some ideas from Stefan Seelman are:
> (1) Keep it only in the LDAP or Schemas perspective
> (2) Replace the functionality with wizards
> Seemed very wizard like to me.  Plus 1 for the wizard idea.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message