Skip to content

Commit

Permalink
Merge pull request #81 from rmburkhead/issue_78
Browse files Browse the repository at this point in the history
Update file icon
  • Loading branch information
madflow committed Mar 20, 2015
2 parents a772f84 + c409f22 commit a86c907
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ If you just want Markdown-Support - you can **download a pre-packaged release**:

- https://github.com/madflow/flow-netbeans-markdown/releases (list of all releases)
- https://github.com/madflow/flow-netbeans-markdown/releases/download/2.1/flow-netbeans-markdown.nbm (**note:** version 2.1)

Install the plugin with: `Tools -> Plugins -> Downloaded`

You may also compile a binary yourself with the **latest development code**.
Expand Down Expand Up @@ -65,5 +65,9 @@ Contributions are always welcome and greatly appreciated!
- [PegDown][] : A pure-Java Markdown processor based on a parboiled PEG parser supporting a number of extensions.
- http://daringfireball.net/projects/markdown/ : Home of the Markdown (Basics, Syntax)
- http://openiconlibrary.sourceforge.net/ : Icons
- [Markdown Mark][mdmark] : A graphic element to identify Markdown files created by [Dustin Curtis][dcurtis] ([Github repo][mdmark-gh])

[dcurtis]: http://dustincurtis.com/
[mdmark]: http://dcurt.is/the-markdown-mark
[mdmark-gh]: https://github.com/dcurtis/markdown-mark
[pegdown]: https://github.com/sirthias/pegdown
4 changes: 2 additions & 2 deletions src/flow/netbeans/markdown/MarkdownDataObject.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public MarkdownDataObject(FileObject pf, MultiFileLoader loader) throws DataObje

lookupContent = new InstanceContent();
lookupContent.add(new RenderableImpl(this));

lookup = new ProxyLookup(getCookieSet().getLookup(), new AbstractLookup(lookupContent));
}

Expand All @@ -53,7 +53,7 @@ protected int associateLookup() {
@NbBundle.Messages("Source=&Source")
@MultiViewElement.Registration(
displayName="#Source",
iconBase="flow/netbeans/markdown/resources/text-x-generic.png",
iconBase="flow/netbeans/markdown/resources/markdown-mark-16x16.png",
persistenceType=TopComponent.PERSISTENCE_ONLY_OPENED,
mimeType=MarkdownLanguageConfig.MIME_TYPE,
preferredID="markdown.source",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
@NbBundle.Messages("Preview=Preview")
@MultiViewElement.Registration(
displayName = "#Preview",
iconBase = "flow/netbeans/markdown/resources/text-x-generic.png",
iconBase = "flow/netbeans/markdown/resources/markdown-mark-16x16.png",
persistenceType = TopComponent.PERSISTENCE_ONLY_OPENED,
mimeType = MarkdownLanguageConfig.MIME_TYPE,
preferredID = "markdown.preview",
Expand Down
2 changes: 1 addition & 1 deletion src/flow/netbeans/markdown/resources/layer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
<folder name="Factories">
<file name="MarkdownDataLoader.instance">
<attr name="dataObjectClass" stringvalue="flow.netbeans.markdown.MarkdownDataObject"/>
<attr name="iconBase" stringvalue="flow/netbeans/markdown/resources/text-x-generic.png"/>
<attr name="iconBase" stringvalue="flow/netbeans/markdown/resources/markdown-mark-16x16.png"/>
<attr name="instanceCreate" methodvalue="org.openide.loaders.DataLoaderPool.factory"/>
<attr name="mimeType" stringvalue="text/x-markdown"/>
</file>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a86c907

Please sign in to comment.