Skip to content
This repository has been archived by the owner on Apr 10, 2021. It is now read-only.

Commit

Permalink
Merge pull request #64 from welovecoding/issue-55-ordering-warnings
Browse files Browse the repository at this point in the history
Ordering warnings #55
  • Loading branch information
bennycode committed Mar 28, 2015
2 parents eaf021f + 4af376b commit 80e545a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package com.welovecoding.nbeditorconfig.filetype;

import static com.welovecoding.nbeditorconfig.config.Settings.LOGO_PATH;
import static com.welovecoding.nbeditorconfig.config.Settings.MIME_TYPE;
import java.io.IOException;
import org.netbeans.api.templates.TemplateRegistration;
import org.openide.WizardDescriptor;
Expand All @@ -13,13 +15,12 @@
import org.openide.loaders.MultiDataObject;
import org.openide.loaders.MultiFileLoader;
import org.openide.util.NbBundle.Messages;
import static com.welovecoding.nbeditorconfig.config.Settings.LOGO_PATH;
import static com.welovecoding.nbeditorconfig.config.Settings.MIME_TYPE;

@MIMEResolver.ExtensionRegistration(
displayName = "#LBL_EditorConfig_LOADER",
mimeType = MIME_TYPE,
extension = {"editorconfig"}
extension = {"editorconfig"},
position = 3214328
)
@DataObject.Registration(
mimeType = MIME_TYPE,
Expand Down Expand Up @@ -102,7 +103,8 @@ protected int associateLookup() {
folder = "Other",
targetName = "",
content = "../EditorConfigExample.editorconfig",
iconBase = LOGO_PATH)
iconBase = LOGO_PATH,
position = 100)
public static WizardDescriptor.InstantiatingIterator templateIterator() {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<folder name="Defaults">
<file name="FontAndColors.xml" url="FontAndColors.xml">
<attr name="SystemFileSystem.localizingBundle" stringvalue="com.welovecoding.nbeditorconfig.Bundle"/>
</file>
</file>
</folder>
</folder>
</folder>
Expand Down

0 comments on commit 80e545a

Please sign in to comment.