org.netbeans.modules.editor.mimelookup/1 1.22.1

org.netbeans.spi.editor.mimelookup
Annotation Type MimeLocation


@Documented
@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface MimeLocation

Should be used for services that are to be registered to the MimeLookup and that need a specific subfolder to be used for the registration (optional, mime-type root will be searched if this annotation is missing)

Since:
1.19

Required Element Summary
 String subfolderName
          Folder under which the services should be registered in the system filesystem.
 
Optional Element Summary
 Class<? extends InstanceProvider> instanceProviderClass
           
 

Element Detail

subfolderName

public abstract String subfolderName
Folder under which the services should be registered in the system filesystem. The full path for registering the services will then be Editors/<mime-type>/<subfolderName>

instanceProviderClass

public abstract Class<? extends InstanceProvider> instanceProviderClass
Default:
org.netbeans.spi.editor.mimelookup.InstanceProvider.class

org.netbeans.modules.editor.mimelookup/1 1.22.1

Built on December 5 2011.  |  Portions Copyright 1997-2011 Sun Microsystems, Inc. All rights reserved.