-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
076a285
commit 6276cf6
Showing
8 changed files
with
65 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
....export/src/org/eclipse/fordiac/ide/export/properties/ITypeExportPreferenceConstants.java
This file was deleted.
Oops, something went wrong.
31 changes: 31 additions & 0 deletions
31
...rdiac.ide.export/src/org/eclipse/fordiac/ide/export/properties/PreferenceInitializer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2025 Primetals Technologies Austria GmbH | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* http://www.eclipse.org/legal/epl-2.0. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* Mario Kastner | ||
* - initial API and implementation and/or initial documentation | ||
*******************************************************************************/ | ||
package org.eclipse.fordiac.ide.export.properties; | ||
|
||
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer; | ||
import org.eclipse.core.runtime.preferences.DefaultScope; | ||
import org.eclipse.fordiac.ide.export.utils.ExportPreferenceConstants; | ||
import org.eclipse.jface.preference.IPreferenceStore; | ||
import org.eclipse.ui.preferences.ScopedPreferenceStore; | ||
|
||
public class PreferenceInitializer extends AbstractPreferenceInitializer { | ||
@Override | ||
public void initializeDefaultPreferences() { | ||
final IPreferenceStore store = new ScopedPreferenceStore(DefaultScope.INSTANCE, | ||
ExportPreferenceConstants.NODE_ID); | ||
store.setDefault(ExportPreferenceConstants.ENABLE_AUTOMATIC_TYPE_EXPORT, false); | ||
store.setDefault(ExportPreferenceConstants.EXTERNAL_MODULES_PATH, ""); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters