Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running the Instance Model Creator without Eclipse Workbench #1617

Closed
dblouin opened this Issue Oct 29, 2018 · 0 comments

Comments

Projects
None yet
3 participants
@dblouin
Copy link

dblouin commented Oct 29, 2018

We would like to use the instance model creator class in a standalone mode (without the Eclipse workbench). However this does not work because the class is lookig for the maximum number of system operation mode from the Eclipse workbench preferences. We sugggest the following simple modification of class InstantiateModel at line 2170:

		final int limit;
		
		if ( Platform.isRunning() ) {
			limit = getSOMLimit( OsateResourceUtil.convertToIResource( root.eResource() ).getProject() );
		}
		else {
			limit = WorkspacePlugin.MAX_SOM_DEFAULT;
		}
		
		enumerateSystemOperationModes( root, instances, limit );

OSATE version: 2.3.4.vfinal -- Build id: 2018-07-11 on Windows

@lwrage lwrage added the backlog label Feb 21, 2019

@lwrage lwrage added this to the 2.4.1 milestone Mar 5, 2019

@lwrage lwrage added next and removed backlog labels Mar 5, 2019

@wafflebot wafflebot bot added in progress and removed next labels Mar 19, 2019

@wafflebot wafflebot bot added review and removed in progress labels Mar 19, 2019

@lwrage lwrage closed this in #1751 Mar 20, 2019

@wafflebot wafflebot bot removed the review label Mar 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.