me.dsnet.quickopener.QuickMessages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nb-quickopener Show documentation
Show all versions of nb-quickopener Show documentation
<p>Sometimes while programming in NetBeans you want to explore a particular file that you are editing on the file
system browser, or maybe launch a command in a terminal to do something with it.</p>
<p>This plugins brings to your NetBeans six action, three of them always available and three of them available when
the selected node has a file assiociated with it.<br/>
In particular:<p><p><em>When the selection has a valid file</em></p>
<ul>
<li><strong>Open the default OS shell</strong> on the location of the file (or its folder) selected.</li>
<li><strong>Open the file system browser</strong> on the location of the file (or its folder) selected.</li>
<li><strong>Copy to the clipboard</strong> the path of the file selected.</li>
</ul>
<p><em>Always enabled:</em></p>
<ul>
<li><strong>Launch a shell command</strong> (with parameters, customizable on
preferences)</li>
<li><strong>FileSystem browser on any location</strong> (favorites, customizable on preferences)</li>
<li><strong>Open a shell on any location</strong> (favorites, customizable on preferences)</li>
</ul>
The newest version!
/*
* Copyright (C) 2017 Diego Zambelli Sessona ([email protected])
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package me.dsnet.quickopener;
/**
*
* @author SessonaD
*/
public enum QuickMessages {
NO_FILE_IN_SELECTION ("There are no files associated with the current selection."),
CONFIRM_COMMAND_PREFIX ("You are about to launch the following command:\n\n"),
CONFIRM_COMMAND_SUFFIX ("\n\nAre you sure?"),
DESCRIPTION_MANDATORY ("A description is mandatory."),
FOLDER_INVALID ("The folder specified is not valid or does not exists."),
FOLDER_ADDED ("Folder added as favorite."),
SEPARATOR_NULL ("Separator cannot be empty."),
CUSTOM_SHELL ("Custom shell cannot be empty."),
CUSTOM_FILEMANAGER ("Custom file manager cannot be empty."),
NO_COMMAND ("No command given."),
NO_DEFAULT_PARAMETERS ("Some placeholders could not be replaced."),
DEFAULT_COMMAND_PARAMETERS ("A default command cannot contain parameters."),
NOT_IN_FILE_SYSTEM ("The file does not exists in the file system.");
private String message;
private QuickMessages(String message) {
this.message = message;
}
@Override
public String toString() {
return message ;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy