-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework domain registries to use OperatorWorkspace Signed-off-by: Alexander Fedorov <[email protected]>
- Loading branch information
1 parent
9d520b3
commit 516e4e8
Showing
32 changed files
with
709 additions
and
105 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
33 changes: 33 additions & 0 deletions
33
....eclipse.passage.loc.api/src/org/eclipse/passage/loc/internal/api/workspace/Features.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,33 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2022 ArSysOp | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* https://www.eclipse.org/legal/epl-2.0/. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* ArSysOp - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.passage.loc.internal.api.workspace; | ||
|
||
public interface Features extends KnownResources { | ||
|
||
ResourceType xmi = new ResourceType() { | ||
|
||
@Override | ||
public String id() { | ||
return "features_xmi"; //$NON-NLS-1$ | ||
} | ||
}; | ||
|
||
ResourceType xmi033 = new ResourceType() { | ||
|
||
@Override | ||
public String id() { | ||
return "lic_features"; //$NON-NLS-1$ | ||
} | ||
}; | ||
|
||
} |
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
24 changes: 24 additions & 0 deletions
24
...se.passage.loc.api/src/org/eclipse/passage/loc/internal/api/workspace/KnownResources.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,24 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2022 ArSysOp | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* https://www.eclipse.org/legal/epl-2.0/. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* ArSysOp - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.passage.loc.internal.api.workspace; | ||
|
||
import java.util.List; | ||
|
||
public interface KnownResources { | ||
|
||
List<ResourceHandle> all(); | ||
|
||
// FIXME: AF: temporary to not keep the functionality | ||
void memento(List<String> locations); | ||
|
||
} |
33 changes: 33 additions & 0 deletions
33
....eclipse.passage.loc.api/src/org/eclipse/passage/loc/internal/api/workspace/Licenses.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,33 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2022 ArSysOp | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* https://www.eclipse.org/legal/epl-2.0/. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* ArSysOp - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.passage.loc.internal.api.workspace; | ||
|
||
public interface Licenses extends KnownResources { | ||
|
||
ResourceType xmi = new ResourceType() { | ||
|
||
@Override | ||
public String id() { | ||
return "licenses_xmi"; //$NON-NLS-1$ | ||
} | ||
}; | ||
|
||
ResourceType xmi033 = new ResourceType() { | ||
|
||
@Override | ||
public String id() { | ||
return "lic_licenses"; //$NON-NLS-1$ | ||
} | ||
}; | ||
|
||
} |
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
33 changes: 33 additions & 0 deletions
33
....eclipse.passage.loc.api/src/org/eclipse/passage/loc/internal/api/workspace/Products.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,33 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2022 ArSysOp | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* https://www.eclipse.org/legal/epl-2.0/. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* ArSysOp - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.passage.loc.internal.api.workspace; | ||
|
||
public interface Products extends KnownResources { | ||
|
||
ResourceType xmi = new ResourceType() { | ||
|
||
@Override | ||
public String id() { | ||
return "products_xmi"; //$NON-NLS-1$ | ||
} | ||
}; | ||
|
||
ResourceType xmi033 = new ResourceType() { | ||
|
||
@Override | ||
public String id() { | ||
return "lic_products"; //$NON-NLS-1$ | ||
} | ||
}; | ||
|
||
} |
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
19 changes: 19 additions & 0 deletions
19
...ipse.passage.loc.api/src/org/eclipse/passage/loc/internal/api/workspace/ResourceType.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,19 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2022 ArSysOp | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* https://www.eclipse.org/legal/epl-2.0/. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* ArSysOp - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.passage.loc.internal.api.workspace; | ||
|
||
public interface ResourceType { | ||
|
||
String id(); | ||
|
||
} |
33 changes: 33 additions & 0 deletions
33
...org.eclipse.passage.loc.api/src/org/eclipse/passage/loc/internal/api/workspace/Users.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,33 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2022 ArSysOp | ||
* | ||
* This program and the accompanying materials are made available under the | ||
* terms of the Eclipse Public License 2.0 which is available at | ||
* https://www.eclipse.org/legal/epl-2.0/. | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* ArSysOp - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.passage.loc.internal.api.workspace; | ||
|
||
public interface Users extends KnownResources { | ||
|
||
ResourceType xmi = new ResourceType() { | ||
|
||
@Override | ||
public String id() { | ||
return "users_xmi"; //$NON-NLS-1$ | ||
} | ||
}; | ||
|
||
ResourceType xmi033 = new ResourceType() { | ||
|
||
@Override | ||
public String id() { | ||
return "lic_users"; //$NON-NLS-1$ | ||
} | ||
}; | ||
|
||
} |
Oops, something went wrong.