Dépôt officiel du code source de l'ERP OpenConcerto
/trunk/Modules/Module OVH Cloud NAS/gestionModule.properties |
---|
File deleted |
\ No newline at end of file |
/trunk/Modules/Module OVH Cloud NAS/.classpath |
---|
2,7 → 2,7 |
<classpath> |
<classpathentry kind="src" path="src"/> |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> |
<classpathentry combineaccessrules="false" kind="src" path="/OpenConcerto GoogleCode"/> |
<classpathentry combineaccessrules="false" kind="src" path="/OpenConcerto"/> |
<classpathentry combineaccessrules="false" kind="src" path="/Module HTTP"/> |
<classpathentry kind="output" path="bin"/> |
</classpath> |
/trunk/Modules/Module OVH Cloud NAS/module.properties |
---|
New file |
0,0 → 1,7 |
# [\p{Alnum}_.]{3,} |
id=org.openconcerto.modules.storage.docs.ovh |
entryPoint=Module |
# \p{Digit}(\.\p{Digit}+)? |
version=1.0 |
contact=ILM Informatique |
depends=org.openconcerto.modules.common.http |
/trunk/Modules/Module OVH Cloud NAS/src/org/openconcerto/modules/storage/docs/ovh/CloudNASListAction.java |
---|
18,6 → 18,7 |
import org.openconcerto.sql.element.SQLElementDirectory; |
import org.openconcerto.sql.model.SQLRow; |
import org.openconcerto.sql.model.SQLRowAccessor; |
import org.openconcerto.sql.model.SQLRowValues; |
import org.openconcerto.sql.model.SQLTable; |
import org.openconcerto.sql.view.list.IListeAction; |
import org.openconcerto.utils.ExceptionHandler; |
37,13 → 38,13 |
@Override |
public PopupBuilder getPopupContent(PopupEvent evt) { |
final PopupBuilder actions = new PopupBuilder(this.getClass().getPackage().getName()); |
final List<SQLRowAccessor> rows = evt.getSelectedRows(); |
final List<SQLRowValues> rows = evt.getSelectedRows(); |
final JMenuItem createCallAction = createAction("Envoyer sur Cloud NAS", rows); |
actions.addItem(createCallAction); |
return actions; |
} |
private JMenuItem createAction(final String label, final List<SQLRowAccessor> rows) { |
private JMenuItem createAction(final String label, final List<SQLRowValues> rows) { |
return new JMenuItem(new AbstractAction(label) { |
@Override |
public void actionPerformed(ActionEvent e) { |
/trunk/Modules/Module OVH Cloud NAS/src/org/openconcerto/modules/storage/docs/ovh/Module.java |
---|
75,7 → 75,7 |
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); |
System.setProperty(ConnexionPanel.QUICK_LOGIN, "true"); |
final File propsFile = new File("gestionModule.properties"); |
final File propsFile = new File("module.properties"); |
final ModuleFactory factory = new RuntimeModuleFactory(propsFile); |