*
* 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
*
* 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
public void run() {
setHeading(I18n.getMessage("jsite.project.heading"));
setDescription(I18n.getMessage("jsite.project.description"));
public void run() {
setHeading(I18n.getMessage("jsite.project.heading"));
setDescription(I18n.getMessage("jsite.project.description"));
projectList = new JList(projectListModel);
projectList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
projectList.addListSelectionListener(this);
projectList = new JList(projectListModel);
projectList.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
projectList.addListSelectionListener(this);
private void createActions() {
projectLocalPathBrowseAction = new AbstractAction(I18n.getMessage("jsite.project.action.browse")) {
private void createActions() {
projectLocalPathBrowseAction = new AbstractAction(I18n.getMessage("jsite.project.action.browse")) {
@SuppressWarnings("synthetic-access")
public void run() {
projectLocalPathBrowseAction.putValue(Action.NAME, I18n.getMessage("jsite.project.action.browse"));
@SuppressWarnings("synthetic-access")
public void run() {
projectLocalPathBrowseAction.putValue(Action.NAME, I18n.getMessage("jsite.project.action.browse"));
public void run() {
projectInformationLabel.setText("<html><b>" + I18n.getMessage("jsite.project.project.information") + "</b></html>");
projectNameLabel.setText(I18n.getMessage("jsite.project.project.name") + ":");
public void run() {
projectInformationLabel.setText("<html><b>" + I18n.getMessage("jsite.project.project.information") + "</b></html>");
projectNameLabel.setText(I18n.getMessage("jsite.project.project.name") + ":");
keyDialog.setPublicKey(selectedProject.getRequestURI());
keyDialog.setVisible(true);
if (!keyDialog.wasCancelled()) {
keyDialog.setPublicKey(selectedProject.getRequestURI());
keyDialog.setVisible(true);
if (!keyDialog.wasCancelled()) {
selectedProject.setInsertURI(keyDialog.getPrivateKey());
selectedProject.setRequestURI(keyDialog.getPublicKey());
selectedProject.setInsertURI(keyDialog.getPrivateKey());
selectedProject.setRequestURI(keyDialog.getPublicKey());
public void valueChanged(ListSelectionEvent listSelectionEvent) {
int selectedRow = projectList.getSelectedIndex();
Project selectedProject = (Project) projectList.getSelectedValue();
public void valueChanged(ListSelectionEvent listSelectionEvent) {
int selectedRow = projectList.getSelectedIndex();
Project selectedProject = (Project) projectList.getSelectedValue();