aboutsummaryrefslogtreecommitdiffstats
path: root/ajde
diff options
context:
space:
mode:
authorLars Grefer <eclipse@larsgrefer.de>2020-08-17 01:19:52 +0200
committerLars Grefer <eclipse@larsgrefer.de>2020-08-17 01:19:52 +0200
commit85ad27ee704fa8c17345bbe46c959a3e6ccbd179 (patch)
tree64db483a4fd9027cb3ba862e371427538631b5dc /ajde
parentc5be7f17349f1e7ea5d3da4be09b5f3e964de19b (diff)
downloadaspectj-85ad27ee704fa8c17345bbe46c959a3e6ccbd179.tar.gz
aspectj-85ad27ee704fa8c17345bbe46c959a3e6ccbd179.zip
Remove unnecessary interface modifiers
Signed-off-by: Lars Grefer <eclipse@larsgrefer.de>
Diffstat (limited to 'ajde')
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/EditorAdapter.java44
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/EditorListener.java22
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/IRuntimeProperties.java22
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/IUIBuildMessageHandler.java18
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/IdeUIAdapter.java20
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/internal/BuildConfigListener.java28
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/internal/BuildConfigManager.java24
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/ui/BuildConfigEditor.java20
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/ui/IStructureViewNode.java68
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/ui/StructureViewRenderer.java34
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/ui/UserPreferencesAdapter.java66
-rw-r--r--ajde/src/main/java/org/aspectj/ajde/ui/swing/AjdeWidgetStyles.java36
12 files changed, 201 insertions, 201 deletions
diff --git a/ajde/src/main/java/org/aspectj/ajde/EditorAdapter.java b/ajde/src/main/java/org/aspectj/ajde/EditorAdapter.java
index b601f74e3..9e51cf8af 100644
--- a/ajde/src/main/java/org/aspectj/ajde/EditorAdapter.java
+++ b/ajde/src/main/java/org/aspectj/ajde/EditorAdapter.java
@@ -1,14 +1,14 @@
/* *******************************************************************
- * Copyright (c) 1999-2001 Xerox Corporation,
+ * Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Xerox/PARC initial implementation
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Xerox/PARC initial implementation
* ******************************************************************/
@@ -27,47 +27,47 @@ public interface EditorAdapter {
/**
* Seek the editor to a source line in the file specified.
*/
- public void showSourceLine(String filePath, int lineNumber, boolean highlight);
+ void showSourceLine(String filePath, int lineNumber, boolean highlight);
/**
* Seek the editor to a SourceLocation and highlight if specified.
*/
- public void showSourceLine(ISourceLocation sourceLocation, boolean highlight);
+ void showSourceLine(ISourceLocation sourceLocation, boolean highlight);
/**
* Seek the editor to a source line in the current file.
*/
- public void showSourceLine(int lineNumber, boolean highlight);
+ void showSourceLine(int lineNumber, boolean highlight);
/**
* @return full path to the file currently being edited.
*/
- public String getCurrFile();
+ String getCurrFile();
/**
* Save the contents of the current file being edited.
- */
- public void saveContents() throws IOException;
+ */
+ void saveContents() throws IOException;
/**
* Paste text into the current caret position of the editor.
- */
- public void pasteToCaretPos(String text);
-
+ */
+ void pasteToCaretPos(String text);
+
/**
* Implement if inline annotations are supported by the editor. Make null
* implementation if inline annotations are not supported.
- *
+ *
* @param filePath path to the file that should get the annotation
* @param lineNumber line number for the annotation
- * @param items list of relations to be rendered as the annotation
+ * @param items list of relations to be rendered as the annotation
*/
- public void showSourcelineAnnotation(String filePath, int lineNumber, List items);
+ void showSourcelineAnnotation(String filePath, int lineNumber, List items);
/**
* Implement if multipe editor views are supported by the editor. Make null
* implementation if multiple editor views are not supported.
- *
+ *
* @param filePath path to the source file
* @param lineNumber line number of the sourceline
*/
diff --git a/ajde/src/main/java/org/aspectj/ajde/EditorListener.java b/ajde/src/main/java/org/aspectj/ajde/EditorListener.java
index f39cfa074..6c7c087b7 100644
--- a/ajde/src/main/java/org/aspectj/ajde/EditorListener.java
+++ b/ajde/src/main/java/org/aspectj/ajde/EditorListener.java
@@ -1,14 +1,14 @@
/* *******************************************************************
- * Copyright (c) 1999-2001 Xerox Corporation,
+ * Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Xerox/PARC initial implementation
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Xerox/PARC initial implementation
* ******************************************************************/
@@ -20,7 +20,7 @@ import java.util.EventListener;
* Compiler listeners get notified of structure model update events.
*
* XXX remove, not used
- *
+ *
* @author Mik Kersten
*/
public interface EditorListener extends EventListener {
@@ -28,5 +28,5 @@ public interface EditorListener extends EventListener {
/**
* @param filePath full path to the current file being edited
*/
- public void currentFileChanged(String filePath);
+ void currentFileChanged(String filePath);
}
diff --git a/ajde/src/main/java/org/aspectj/ajde/IRuntimeProperties.java b/ajde/src/main/java/org/aspectj/ajde/IRuntimeProperties.java
index 9970c597e..2a4f20ba2 100644
--- a/ajde/src/main/java/org/aspectj/ajde/IRuntimeProperties.java
+++ b/ajde/src/main/java/org/aspectj/ajde/IRuntimeProperties.java
@@ -1,11 +1,11 @@
/********************************************************************
- * Copyright (c) 2007 Contributors. All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://eclipse.org/legal/epl-v10.html
- *
- * Contributors: IBM Corporation - initial API and implementation
+ * Copyright (c) 2007 Contributors. All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors: IBM Corporation - initial API and implementation
* Helen Hawkins - initial version (bug 148190)
*******************************************************************/
package org.aspectj.ajde;
@@ -19,12 +19,12 @@ public interface IRuntimeProperties {
* @return class which contains the main method and should
* be used to run the application
*/
- public String getClassToExecute();
-
+ String getClassToExecute();
+
/**
* @return args which should be used as part of the execution
* of the application
*/
- public String getExecutionArgs();
-
+ String getExecutionArgs();
+
}
diff --git a/ajde/src/main/java/org/aspectj/ajde/IUIBuildMessageHandler.java b/ajde/src/main/java/org/aspectj/ajde/IUIBuildMessageHandler.java
index 7e9678d22..243a6947e 100644
--- a/ajde/src/main/java/org/aspectj/ajde/IUIBuildMessageHandler.java
+++ b/ajde/src/main/java/org/aspectj/ajde/IUIBuildMessageHandler.java
@@ -1,11 +1,11 @@
/********************************************************************
- * Copyright (c) 2007 Contributors. All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://eclipse.org/legal/epl-v10.html
- *
- * Contributors: IBM Corporation - initial API and implementation
+ * Copyright (c) 2007 Contributors. All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors: IBM Corporation - initial API and implementation
* Helen Hawkins - initial version (bug 148190)
*******************************************************************/
package org.aspectj.ajde;
@@ -22,6 +22,6 @@ public interface IUIBuildMessageHandler extends IBuildMessageHandler {
/**
* Reset the state of the message handler
*/
- public void reset();
-
+ void reset();
+
}
diff --git a/ajde/src/main/java/org/aspectj/ajde/IdeUIAdapter.java b/ajde/src/main/java/org/aspectj/ajde/IdeUIAdapter.java
index 9c526fb0d..09f986540 100644
--- a/ajde/src/main/java/org/aspectj/ajde/IdeUIAdapter.java
+++ b/ajde/src/main/java/org/aspectj/ajde/IdeUIAdapter.java
@@ -1,14 +1,14 @@
/* *******************************************************************
- * Copyright (c) 1999-2001 Xerox Corporation,
+ * Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Xerox/PARC initial implementation
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Xerox/PARC initial implementation
* ******************************************************************/
@@ -19,5 +19,5 @@ package org.aspectj.ajde;
*/
public interface IdeUIAdapter {
- public void displayStatusInformation(String message);
+ void displayStatusInformation(String message);
}
diff --git a/ajde/src/main/java/org/aspectj/ajde/internal/BuildConfigListener.java b/ajde/src/main/java/org/aspectj/ajde/internal/BuildConfigListener.java
index 30d3f1e35..9fd974e32 100644
--- a/ajde/src/main/java/org/aspectj/ajde/internal/BuildConfigListener.java
+++ b/ajde/src/main/java/org/aspectj/ajde/internal/BuildConfigListener.java
@@ -1,14 +1,14 @@
/* *******************************************************************
- * Copyright (c) 1999-2001 Xerox Corporation,
+ * Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Xerox/PARC initial implementation
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Xerox/PARC initial implementation
* ******************************************************************/
@@ -25,13 +25,13 @@ public interface BuildConfigListener extends EventListener {
/**
* Called when the current configuration has changed.
- *
+ *
* @param configFilePath the path to the new current configuration file
- */
- public void currConfigChanged(String configFilePath);
+ */
+ void currConfigChanged(String configFilePath);
/**
* Called when items are added to or deleted from the configurations list.
- */
- public void configsListUpdated(List configsList);
+ */
+ void configsListUpdated(List configsList);
}
diff --git a/ajde/src/main/java/org/aspectj/ajde/internal/BuildConfigManager.java b/ajde/src/main/java/org/aspectj/ajde/internal/BuildConfigManager.java
index fdee90e03..d61cbc6b3 100644
--- a/ajde/src/main/java/org/aspectj/ajde/internal/BuildConfigManager.java
+++ b/ajde/src/main/java/org/aspectj/ajde/internal/BuildConfigManager.java
@@ -23,9 +23,9 @@ import org.aspectj.ajde.ui.BuildConfigModel;
*/
public interface BuildConfigManager {
- public static final String CONFIG_FILE_SUFFIX = ".lst";
+ String CONFIG_FILE_SUFFIX = ".lst";
- public static final String DEFAULT_CONFIG_LABEL = "<all project files>";
+ String DEFAULT_CONFIG_LABEL = "<all project files>";
/**
* Returns the currently active build configuration file. The current active
@@ -34,42 +34,42 @@ public interface BuildConfigManager {
*
* @return full path to the file
*/
- public String getActiveConfigFile();
+ String getActiveConfigFile();
/**
* Sets the currently active build configuration file.
*
* @param full path to the file
*/
- public void setActiveConfigFile(String currConfigFilePath);
+ void setActiveConfigFile(String currConfigFilePath);
/**
* Add a listner that will be notified of build configuration change events
*/
- public void addListener(BuildConfigListener configurationListener);
+ void addListener(BuildConfigListener configurationListener);
/**
* Remove a configuration listener.
*/
- public void removeListener(BuildConfigListener configurationListener);
+ void removeListener(BuildConfigListener configurationListener);
/**
* Build a model for the corresponding configuration file.
*
* @param full path to the file
*/
- public BuildConfigModel buildModel(String configFilePath);
+ BuildConfigModel buildModel(String configFilePath);
/**
* Save the given configuration model to the file that it was generated from.
*/
- public void writeModel(BuildConfigModel model);
+ void writeModel(BuildConfigModel model);
/**
* Write a list of source files into a configuration file. File paths will be
* written relative to the path of the configuration file.
*/
- public void writePaths(String configFilePath, List<String> paths);
+ void writePaths(String configFilePath, List<String> paths);
/**
* Add files to a configuration.
@@ -77,7 +77,7 @@ public interface BuildConfigManager {
* @param configFilePath full path to the configuration file
* @param files list of full paths to the files to be added
*/
- public void addFilesToConfig(String configFilePath, List files);
+ void addFilesToConfig(String configFilePath, List files);
/**
* Remove files from a configuration.
@@ -85,13 +85,13 @@ public interface BuildConfigManager {
* @param configFilePath full path to the configuration file
* @param files list of full paths to the files to be removed
*/
- public void removeFilesFromConfig(String configFilePath, List files);
+ void removeFilesFromConfig(String configFilePath, List files);
/**
* @return list (of Strings) of all build configuration files
* found so far
*/
- public List /*String*/ getAllBuildConfigFiles();
+ List /*String*/ getAllBuildConfigFiles();
}
diff --git a/ajde/src/main/java/org/aspectj/ajde/ui/BuildConfigEditor.java b/ajde/src/main/java/org/aspectj/ajde/ui/BuildConfigEditor.java
index 174f92c0c..a56fc51b0 100644
--- a/ajde/src/main/java/org/aspectj/ajde/ui/BuildConfigEditor.java
+++ b/ajde/src/main/java/org/aspectj/ajde/ui/BuildConfigEditor.java
@@ -1,14 +1,14 @@
/* *******************************************************************
- * Copyright (c) 1999-2001 Xerox Corporation,
+ * Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Xerox/PARC initial implementation
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Xerox/PARC initial implementation
* ******************************************************************/
@@ -24,5 +24,5 @@ public interface BuildConfigEditor {
/**
* @param the full path to the file resource to be opened
*/
- public void openFile(String filePath) throws IOException, InvalidResourceException;
+ void openFile(String filePath) throws IOException, InvalidResourceException;
}
diff --git a/ajde/src/main/java/org/aspectj/ajde/ui/IStructureViewNode.java b/ajde/src/main/java/org/aspectj/ajde/ui/IStructureViewNode.java
index 59a44f127..a66e1faf6 100644
--- a/ajde/src/main/java/org/aspectj/ajde/ui/IStructureViewNode.java
+++ b/ajde/src/main/java/org/aspectj/ajde/ui/IStructureViewNode.java
@@ -1,17 +1,17 @@
/* *******************************************************************
- * Copyright (c) 1999-2001 Xerox Corporation,
+ * Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Xerox/PARC initial implementation
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Xerox/PARC initial implementation
* ******************************************************************/
-
+
package org.aspectj.ajde.ui;
import java.io.ObjectStreamException;
@@ -22,57 +22,57 @@ import org.aspectj.asm.IProgramElement;
/**
* @author Mik Kersten
- */
+ */
public interface IStructureViewNode {
-
- public IProgramElement getStructureNode();
-
- public AbstractIcon getIcon();
-
+
+ IProgramElement getStructureNode();
+
+ AbstractIcon getIcon();
+
/**
* Add a child node.
*/
- public void add(IStructureViewNode child);
+ void add(IStructureViewNode child);
/**
* Add a child node.
*/
- public void add(IStructureViewNode child, int position);
-
+ void add(IStructureViewNode child, int position);
+
/**
* Remove a child node.
*/
- public void remove(IStructureViewNode child);
-
+ void remove(IStructureViewNode child);
+
/**
* @return an empty list if there are no children
*/
- public List getChildren();
-
- public Kind getKind();
-
- public String getRelationshipName();
-
+ List getChildren();
+
+ Kind getKind();
+
+ String getRelationshipName();
+
/**
* Uses "typesafe enum" pattern.
*/
- public static class Kind implements Serializable {
-
+ class Kind implements Serializable {
+
private static final long serialVersionUID = 6730849292562214877L;
-
+
public static final Kind DECLARATION = new Kind("declaration");
public static final Kind RELATIONSHIP = new Kind("relationship");
public static final Kind LINK = new Kind("link");
public static final Kind[] ALL = { DECLARATION, RELATIONSHIP, LINK };
private final String name;
-
+
private Kind(String name) {
- this.name = name;
+ this.name = name;
}
-
+
public String toString() {
return name;
- }
+ }
// The 4 declarations below are necessary for serialization
private static int nextOrdinal = 0;
diff --git a/ajde/src/main/java/org/aspectj/ajde/ui/StructureViewRenderer.java b/ajde/src/main/java/org/aspectj/ajde/ui/StructureViewRenderer.java
index c31a130fa..49cf27279 100644
--- a/ajde/src/main/java/org/aspectj/ajde/ui/StructureViewRenderer.java
+++ b/ajde/src/main/java/org/aspectj/ajde/ui/StructureViewRenderer.java
@@ -1,14 +1,14 @@
/* *******************************************************************
- * Copyright (c) 1999-2001 Xerox Corporation,
+ * Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Xerox/PARC initial implementation
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Xerox/PARC initial implementation
* ******************************************************************/
@@ -27,23 +27,23 @@ public interface StructureViewRenderer extends EventListener {
/**
* Implementors should updated the display of the corresponding
* file structure view.
- */
- public void updateView(StructureView structureView);
-
+ */
+ void updateView(StructureView structureView);
+
/**
* Highlights and selects the given node as active. What "active"
* means depends on the renderer: a typical activation should cause
* the corresponding node's sourceline to be highlighted in the
* active editor.
*/
- public void setActiveNode(IStructureViewNode node);
-
+ void setActiveNode(IStructureViewNode node);
+
/**
* Same behavior as <CODE>setActiveNode(StructureViewNode)</CODE> but
* highlights a particular line within the span of the node.
- *
+ *
* @param lineOffset number of lines after the begin and before the
* end line of the corresponding <CODE>StructureNode</CODE>.
- */
- public void setActiveNode(IStructureViewNode activeNode, int lineOffset);
+ */
+ void setActiveNode(IStructureViewNode activeNode, int lineOffset);
}
diff --git a/ajde/src/main/java/org/aspectj/ajde/ui/UserPreferencesAdapter.java b/ajde/src/main/java/org/aspectj/ajde/ui/UserPreferencesAdapter.java
index 5d8560952..6d00fb96a 100644
--- a/ajde/src/main/java/org/aspectj/ajde/ui/UserPreferencesAdapter.java
+++ b/ajde/src/main/java/org/aspectj/ajde/ui/UserPreferencesAdapter.java
@@ -1,14 +1,14 @@
/* *******************************************************************
- * Copyright (c) 1999-2001 Xerox Corporation,
+ * Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Xerox/PARC initial implementation
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Xerox/PARC initial implementation
* ******************************************************************/
@@ -20,48 +20,48 @@ import java.util.List;
/**
* This interface needs to be implemented by an IDE extension in order for AJDE
* to store properties in a way that matches the IDE's property storing facilities.
- *
+ *
* @author Mik Kersten
*/
public interface UserPreferencesAdapter {
/**
* Retrieves a global IDE option.
- */
- public String getGlobalPreference(String name);
-
+ */
+ String getGlobalPreference(String name);
+
/**
* Retrieves a global IDE option.
- */
- public List getGlobalMultivalPreference(String name);
-
+ */
+ List getGlobalMultivalPreference(String name);
+
/**
* Sets a global IDE option with a single value.
- */
- public void setGlobalPreference(String name, String value);
-
+ */
+ void setGlobalPreference(String name, String value);
+
/**
* Sets a global IDE option with multiple values.
- */
- public void setGlobalMultivalPreference(String name, List values);
-
+ */
+ void setGlobalMultivalPreference(String name, List values);
+
/**
* Retrieves an option for the currently active project.
- */
- public String getProjectPreference(String name);
-
+ */
+ String getProjectPreference(String name);
+
/**
* Retrieves an option for the currently active project.
- */
- public List getProjectMultivalPreference(String name);
-
+ */
+ List getProjectMultivalPreference(String name);
+
/**
* Sets an option for the currently active project.
- */
- public void setProjectPreference(String name, String value);
-
+ */
+ void setProjectPreference(String name, String value);
+
/**
* Sets an option for the currently active project.
- */
- public void setProjectMultivalPreference(String name, List values);
+ */
+ void setProjectMultivalPreference(String name, List values);
}
diff --git a/ajde/src/main/java/org/aspectj/ajde/ui/swing/AjdeWidgetStyles.java b/ajde/src/main/java/org/aspectj/ajde/ui/swing/AjdeWidgetStyles.java
index f0637446a..714971f03 100644
--- a/ajde/src/main/java/org/aspectj/ajde/ui/swing/AjdeWidgetStyles.java
+++ b/ajde/src/main/java/org/aspectj/ajde/ui/swing/AjdeWidgetStyles.java
@@ -1,14 +1,14 @@
/* *******************************************************************
- * Copyright (c) 1999-2001 Xerox Corporation,
+ * Copyright (c) 1999-2001 Xerox Corporation,
* 2002 Palo Alto Research Center, Incorporated (PARC).
- * All rights reserved.
- * This program and the accompanying materials are made available
- * under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors:
- * Xerox/PARC initial implementation
+ * All rights reserved.
+ * This program and the accompanying materials are made available
+ * under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Xerox/PARC initial implementation
* ******************************************************************/
@@ -23,13 +23,13 @@ import javax.swing.border.Border;
public interface AjdeWidgetStyles {
- public static final Font DEFAULT_LABEL_FONT = new java.awt.Font("SansSerif", 0, 11);
- public static final Border DEFAULT_BORDER = BorderFactory.createEmptyBorder();
- public static final Border LOWERED_BEVEL_BORDER = BorderFactory.createBevelBorder(BevelBorder.LOWERED);
- public static final Border RAISED_BEVEL_BORDER = BorderFactory.createBevelBorder(BevelBorder.RAISED);
- public static final Color DEFAULT_BACKGROUND_COLOR = Color.lightGray;
-
- public static final Color LINK_NODE_COLOR = new Color(0, 0, 255);
- public static final Color LINK_NODE_NO_SOURCE_COLOR = new Color(150, 150, 255);
-
+ Font DEFAULT_LABEL_FONT = new java.awt.Font("SansSerif", 0, 11);
+ Border DEFAULT_BORDER = BorderFactory.createEmptyBorder();
+ Border LOWERED_BEVEL_BORDER = BorderFactory.createBevelBorder(BevelBorder.LOWERED);
+ Border RAISED_BEVEL_BORDER = BorderFactory.createBevelBorder(BevelBorder.RAISED);
+ Color DEFAULT_BACKGROUND_COLOR = Color.lightGray;
+
+ Color LINK_NODE_COLOR = new Color(0, 0, 255);
+ Color LINK_NODE_NO_SOURCE_COLOR = new Color(150, 150, 255);
+
}